Skip to content
Snippets Groups Projects
Commit 3c97316f authored by Dorch's avatar Dorch
Browse files

chore: move mkdocs config to docs folder

Refs #656
parent 26ecd09e
No related branches found
No related tags found
2 merge requests!252release: version 4.18.0,!251Resolve "Documentation PDF: erreurs à la compilation"
File moved
File moved
...@@ -213,7 +213,7 @@ def buildPDF(lang): ...@@ -213,7 +213,7 @@ def buildPDF(lang):
def buildDocForLang(lang): def buildDocForLang(lang):
# Read config # Read config
yamlPath = 'mkdocs/mkdocs-' + lang + '.yml' yamlPath = 'docs/mkdocs-' + lang + '.yml'
dMkdocsYaml = readConfig(yamlPath) dMkdocsYaml = readConfig(yamlPath)
# Create string with merged MarkDown # Create string with merged MarkDown
......
...@@ -13,7 +13,7 @@ function prepareMkdocs ...@@ -13,7 +13,7 @@ function prepareMkdocs
# - add Cassiopée version # - add Cassiopée version
# - modify path to input files # - modify path to input files
# - modify path to output files # - modify path to output files
cat mkdocs/mkdocs-$lang.yml \ cat docs/mkdocs-$lang.yml \
| sed "/^site_name:/ s/$/ v$VER/" \ | sed "/^site_name:/ s/$/ v$VER/" \
| sed "/^docs_dir:/ s/docs_dir: /docs_dir: ..\//" \ | sed "/^docs_dir:/ s/docs_dir: /docs_dir: ..\//" \
| sed "/^site_dir:/ s/site_dir: /site_dir: ..\//" > $BUILD_DIR/mkdocs-$1.yml | sed "/^site_dir:/ s/site_dir: /site_dir: ..\//" > $BUILD_DIR/mkdocs-$1.yml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment