Skip to content
Snippets Groups Projects
Commit 3a515317 authored by David Hrbáč's avatar David Hrbáč
Browse files

compress sitemap.xml

parent 0eeef43c
No related branches found
No related tags found
5 merge requests!368Update prace.md to document the change from qprace to qprod as the default...,!367Update prace.md to document the change from qprace to qprod as the default...,!366Update prace.md to document the change from qprace to qprod as the default...,!323extended-acls-storage-section,!56SEO - robot.txt and compressed sitemap
Pipeline #
......@@ -46,11 +46,18 @@ mkdocs:
script:
#- apt-get update
#- apt-get -y install git
# add version to footer
- bash scripts/add_version.sh
# get modules list from clusters
- bash scripts/get_modules.sh
# build pages
- mkdocs build
# compress search_index.json
- bash scripts/clean_json.sh site/mkdocs/search_index.json
# replace broken links in 404.html
- sed -i 's,href="" title=",href="/" title=",g' site/404.html
# compress sitemap
- gzip < site/sitemap.xml > site/sitemap.xml.gz
artifacts:
paths:
- site
......
Sitemap: https://docs.it4i.cz/sitemap.xml.gz
User-agent: *
Disallow:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment