Skip to content
Snippets Groups Projects
Commit da20debb authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Some debugging

parent 2714ee91
No related branches found
No related tags found
No related merge requests found
......@@ -170,7 +170,7 @@ pages:
- |
export SPEC_NAME=$(ls | grep -E "(TS|TR|WI).*\.md" | cut -d'.' -f1)
- |
curl "${CI_API_V4_URL}/projects/$TOOLS_SCRIPTS_PROJECT_ID/repository/files/spec_on_pages%2Esh/raw?ref=master" >> spec_on_pages.sh
curl "${CI_API_V4_URL}/projects/$TOOLS_SCRIPTS_PROJECT_ID/repository/files/spec_on_pages%2Esh/raw?ref=workitems" >> spec_on_pages.sh
- chmod +x spec_on_pages.sh
- echo "'$TAG_NAME'"
......
......@@ -47,11 +47,15 @@ done
echo "------ Move to docs folder --------"
mv ${9^^}/* docs/
sed -i 's/'${9^^}'\///g' _nav.yml
cat _nav.yml
ls docs/
echo " - '': 'index.md'" >> mkdocs.yml
cat _nav.yml >> mkdocs.yml
cp docs/0.md docs/index.md
echo " - '': 'index.md'" >> mkdocs.yml
sed -i 's/##PROJECT/'${9^^}'/g' mkdocs.yml
cat mkdocs.yml
## Create download tab if official baseline version
if [[ ${10} == v* ]]; then
echo "Adding download tab for version ${10}..."
......
......@@ -158,7 +158,7 @@ class Document:
def splitMarkdownDocument(self,
ignoreTitles:list[str] = [],
splitLevel:int = 1,
ignoreUntilFirstHeading:bool = True) -> None:
ignoreUntilFirstHeading:bool = False) -> None:
""" Split the clauses at a certain level. This is used to create the separate
markdown files for MkDocs.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment