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

Merge branch 'SEO' into 'master'

SEO - robot.txt and compressed sitemap

See merge request !56
parents 0eeef43c 3a515317
No related branches found
No related tags found
No related merge requests found
......@@ -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