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

Adding repo gitlab icon to the spec page

parent 48e2b197
No related branches found
No related tags found
No related merge requests found
...@@ -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
......
...@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment