Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nghyd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Cassiopée
nghyd
Commits
3c97316f
Commit
3c97316f
authored
1 year ago
by
Dorch
Browse files
Options
Downloads
Patches
Plain Diff
chore: move mkdocs config to docs folder
Refs
#656
parent
26ecd09e
No related branches found
No related tags found
2 merge requests
!252
release: version 4.18.0
,
!251
Resolve "Documentation PDF: erreurs à la compilation"
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
docs/mkdocs-en.yml
+0
-0
0 additions, 0 deletions
docs/mkdocs-en.yml
docs/mkdocs-fr.yml
+0
-0
0 additions, 0 deletions
docs/mkdocs-fr.yml
scripts/mkdocs2pdf.py
+1
-1
1 addition, 1 deletion
scripts/mkdocs2pdf.py
scripts/prepare_mkdocs.sh
+1
-1
1 addition, 1 deletion
scripts/prepare_mkdocs.sh
with
2 additions
and
2 deletions
mk
docs/mkdocs-en.yml
→
docs/mkdocs-en.yml
+
0
−
0
View file @
3c97316f
File moved
This diff is collapsed.
Click to expand it.
mk
docs/mkdocs-fr.yml
→
docs/mkdocs-fr.yml
+
0
−
0
View file @
3c97316f
File moved
This diff is collapsed.
Click to expand it.
scripts/mkdocs2pdf.py
+
1
−
1
View file @
3c97316f
...
@@ -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
=
'
mk
docs/mkdocs-
'
+
lang
+
'
.yml
'
yamlPath
=
'
docs/mkdocs-
'
+
lang
+
'
.yml
'
dMkdocsYaml
=
readConfig
(
yamlPath
)
dMkdocsYaml
=
readConfig
(
yamlPath
)
# Create string with merged MarkDown
# Create string with merged MarkDown
...
...
This diff is collapsed.
Click to expand it.
scripts/prepare_mkdocs.sh
+
1
−
1
View file @
3c97316f
...
@@ -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
mk
docs/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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment