aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2020-04-27 15:11:02 +0000
committers-ol <s-ol@users.noreply.github.com>2020-04-27 15:11:02 +0000
commitb8a67694c883c7c61a7119d972b20c12ec42c99d (patch)
treec32d72fed5196ca693b09adb209214e8e9fa0bda
parentrefer to the language as 'alv' in documentation (diff)
downloadalive-b8a67694c883c7c61a7119d972b20c12ec42c99d.tar.gz
alive-b8a67694c883c7c61a7119d972b20c12ec42c99d.zip
move internal md docs into docs/internals
-rw-r--r--Makefile7
-rw-r--r--alv/config.ld4
-rw-r--r--docs/.gitignore2
-rwxr-xr-xdocs/gen/ldoc2
-rw-r--r--docs/internals/extensions.md (renamed from alv/extensions.md)0
5 files changed, 6 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 72d2cb1..1a172af 100644
--- a/Makefile
+++ b/Makefile
@@ -26,16 +26,13 @@ docs/reference/%.html: alv-lib/%.moon $(DEPS)
docs/reference/index.html: $(MODREFS) $(DEPS)
docs/gen/index $@ $(MODULES)
-docs/ldoc.css: docs/style.css
- cp $< $@
-
docs/ldoc.ltp: $(DEPS)
docs/gen/ldoc $@
-docs/internals/index.html: alv/config.ld docs/ldoc.ltp docs/ldoc.css $(CORE)
+docs/internals/index.html: alv/config.ld docs/ldoc.ltp $(CORE)
ldoc alv
clean:
rm -rf docs/reference
- rm -rf docs/internals
+ rm -rf docs/internals/*/ docs/internals/*.css docs/internals/*.html
rm -f docs/index.html docs/guide.html docs/ldoc.*
diff --git a/alv/config.ld b/alv/config.ld
index 6867a56..16cc2eb 100644
--- a/alv/config.ld
+++ b/alv/config.ld
@@ -10,7 +10,7 @@ If you are looking for the language reference for users, head over to the
[reference](../reference/index.html) section of the documentation.]]
format = 'discount'
-style = 'docs'
+style = nil
template = 'docs'
dir = 'docs/internals'
-topics = {'alv/extensions.md'}
+topics = {'docs/internals/extensions.md'}
diff --git a/docs/.gitignore b/docs/.gitignore
index 834a17b..9aad8c7 100644
--- a/docs/.gitignore
+++ b/docs/.gitignore
@@ -1,4 +1,4 @@
*.html
ldoc.*
-internals
+internals/*.css
reference
diff --git a/docs/gen/ldoc b/docs/gen/ldoc
index b75740d..621f9ea 100755
--- a/docs/gen/ldoc
+++ b/docs/gen/ldoc
@@ -12,7 +12,7 @@ spit = (file, str) ->
BASE = '$(base)'
spit OUT, layout
- style: '$(ldoc.css)'
+ style: '$(base)style.css'
title: '$(ldoc.title)'
class: 'ldoc'
preamble: '
diff --git a/alv/extensions.md b/docs/internals/extensions.md
index 358aa7e..358aa7e 100644
--- a/alv/extensions.md
+++ b/docs/internals/extensions.md