Commit 3a515317 authored by David Hrbáč's avatar David Hrbáč

compress sitemap.xml

parent 0eeef43c
Pipeline #1779 passed with stages
in 47 seconds
......@@ -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:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment