mirror of
https://github.com/HandBrake/HandBrake-docs.git
synced 2025-12-11 04:35:53 -06:00
build: Add support for credits page.
This commit is contained in:
parent
f711725e54
commit
1d0b2fd7a7
@ -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"
|
||||
|
||||
@ -3,4 +3,5 @@ Template: mark1
|
||||
Embeddable: false
|
||||
Navigation: table-of-contents.markdown
|
||||
License: license.markdown
|
||||
Credits: credits.markdown
|
||||
...
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user