build: Add support for credits page.

This commit is contained in:
Bradley Sepos 2016-08-21 16:55:15 -04:00
parent f711725e54
commit 1d0b2fd7a7
2 changed files with 3 additions and 0 deletions

View File

@ -192,6 +192,8 @@ function build_source {
-e 's|\{\{[ ]*document\.license-abbr[ ]*\}\}|'"${DOCUMENT_License_Abbr:-}"'|g' \
-e 's|\{\{[ ]*document\.license-url[ ]*\}\}|'"${DOCUMENT_License_URL:-}"'|g' \
-e 's|\{\{[ ]*document\.license-url rel[ ]*\}\}|'"${BASE_RELPATH}${CONFIG_License%.markdown}.html"'|g' \
-e 's|\{\{[ ]*document\.credits-url[ ]*\}\}|'"${DOCUMENT_Credits_URL:-}"'|g' \
-e 's|\{\{[ ]*document\.credits-url rel[ ]*\}\}|'"${BASE_RELPATH}${CONFIG_Credits%.markdown}.html"'|g' \
-e 's|\{\{[ ]*document\.redirect-url[ ]*\}\}|'"${DOCUMENT_Redirect_URL:-}"'|g' \
-e 's|\{\{[ ]*base\.relpath[ ]*\}\}|'"${BASE_RELPATH:-}"'|g' \
-i.sedbak "${DEST}.html"

View File

@ -3,4 +3,5 @@ Template: mark1
Embeddable: false
Navigation: table-of-contents.markdown
License: license.markdown
Credits: credits.markdown
...