Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
Scripts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Specification Tools
Scripts
Commits
da20debb
Commit
da20debb
authored
9 months ago
by
Miguel Angel Reina Ortega
Browse files
Options
Downloads
Patches
Plain Diff
Some debugging
parent
2714ee91
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
generateChangemarks/.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
generateChangemarks/.gitlab-ci.yml
spec_on_pages.sh
+5
-1
5 additions, 1 deletion
spec_on_pages.sh
toMkdocs/toMkdocs.py
+1
-1
1 addition, 1 deletion
toMkdocs/toMkdocs.py
with
7 additions
and
3 deletions
generateChangemarks/.gitlab-ci.yml
+
1
−
1
View file @
da20debb
...
...
@@ -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'"
...
...
This diff is collapsed.
Click to expand it.
spec_on_pages.sh
+
5
−
1
View file @
da20debb
...
...
@@ -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
}
..."
...
...
This diff is collapsed.
Click to expand it.
toMkdocs/toMkdocs.py
+
1
−
1
View file @
da20debb
...
...
@@ -158,7 +158,7 @@ class Document:
def
splitMarkdownDocument
(
self
,
ignoreTitles
:
list
[
str
]
=
[],
splitLevel
:
int
=
1
,
ignoreUntilFirstHeading
:
bool
=
Tru
e
)
->
None
:
ignoreUntilFirstHeading
:
bool
=
Fals
e
)
->
None
:
"""
Split the clauses at a certain level. This is used to create the separate
markdown files for MkDocs.
...
...
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