diff options
-rw-r--r-- | docs/api.md | 2 | ||||
-rw-r--r-- | docs/manual.md | 2 | ||||
-rw-r--r-- | src/Makefile | 5 |
3 files changed, 5 insertions, 4 deletions
diff --git a/docs/api.md b/docs/api.md index b6f96cf4..dbc23f70 100644 --- a/docs/api.md +++ b/docs/api.md @@ -1,4 +1,4 @@ -## Textadept API Documentation +## Textadept 11.0 alpha 3 API Documentation 1. [_G](#_G) 1. [_L](#_L) diff --git a/docs/manual.md b/docs/manual.md index b0d6cc9b..dac4c904 100644 --- a/docs/manual.md +++ b/docs/manual.md @@ -1,4 +1,4 @@ -## Textadept Manual +## Textadept 11.0 alpha 3 Manual **Contents** diff --git a/src/Makefile b/src/Makefile index 396b1b29..d541ff5a 100644 --- a/src/Makefile +++ b/src/Makefile @@ -280,8 +280,9 @@ manual: ../docs/api.md $(wildcard ../docs/*.md) | ../docs/_layouts/default.html for file in $(basename $^); do \ cat $| | ../scripts/fill_layout.lua $$file.md > $$file.html; \ done - sed -i "s/Textadept \(Manual\|API\)/Textadept $(subst _, ,$(version)) \1/;" \ - ../docs/*.html + sed -i \ + "s/\(\# Textadept\).\+\?\(Manual\|API\)/\1 $(subst _, ,$(version)) \2/;" \ + ../docs/*.md luadoc: ../core $(modules) ../lexers/lexer.lua | ../modules/lua/lua.luadoc cd ../docs && luadoc --doclet markdowndoc $^ > api.md cd ../modules && luadoc -d lua --doclet lua/tadoc $^ --ta-home=$(ta_home) |