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
91e4ce29
Commit
91e4ce29
authored
8 months ago
by
Miguel Angel Reina Ortega
Browse files
Options
Downloads
Patches
Plain Diff
Adding repo gitlab icon to the spec page
parent
48e2b197
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
spec_on_pages.sh
+7
-0
7 additions, 0 deletions
spec_on_pages.sh
toMkdocs/mkdocs.yml
+5
-0
5 additions, 0 deletions
toMkdocs/mkdocs.yml
with
12 additions
and
0 deletions
spec_on_pages.sh
+
7
−
0
View file @
91e4ce29
...
@@ -48,7 +48,14 @@ cat _nav.yml
...
@@ -48,7 +48,14 @@ cat _nav.yml
echo
" - '': 'index.md'"
>>
mkdocs.yml
echo
" - '': 'index.md'"
>>
mkdocs.yml
cat
_nav.yml
>>
mkdocs.yml
cat
_nav.yml
>>
mkdocs.yml
cp
docs/0.md docs/index.md
cp
docs/0.md docs/index.md
repo_url
=
"https://
${
3
}
/
${
4
}
.git"
echo
${
repo_url
}
sed
-i
's/##PROJECT/'
${
9
^^
}
'/g'
mkdocs.yml
sed
-i
's/##PROJECT/'
${
9
^^
}
'/g'
mkdocs.yml
repo_url
=
$(
echo
${
repo_url
}
|
sed
's/\//\\\//g'
)
sed
-i
's/##REPO_URL/'
"
${
repo_url
}
"
'/g'
mkdocs.yml
sed
-i
's/##REPO_NAME/'
${
9
^^
}
'/g'
mkdocs.yml
sed
--version
cat
mkdocs.yml
cat
mkdocs.yml
...
...
This diff is collapsed.
Click to expand it.
toMkdocs/mkdocs.yml
+
5
−
0
View file @
91e4ce29
...
@@ -11,10 +11,15 @@ docs_dir: docs
...
@@ -11,10 +11,15 @@ docs_dir: docs
extra_css
:
extra_css
:
-
stylesheets/extra.css
-
stylesheets/extra.css
repo_url
:
##REPO_URL
repo_name
:
##REPO_NAME Git Repository
theme
:
theme
:
name
:
material
name
:
material
logo
:
'
images/onem2m.png'
logo
:
'
images/onem2m.png'
favicon
:
'
images/favicon.ico'
favicon
:
'
images/favicon.ico'
icon
:
repo
:
fontawesome/brands/gitlab
palette
:
palette
:
scheme
:
oneM2M
scheme
:
oneM2M
features
:
features
:
...
...
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