Search Engine Indexing
By default, the documentation portal is automatically indexed by search engines. After each publication, the sitemap.xml and robots.txt files are updated. However, you can customize this behavior, such as hiding the portal from search engine indexing.
Index by Default
The documentation portal is indexed automatically unless otherwise specified.
Disable Indexing
To prevent the portal from being indexed, set the environment variable DISABLE_SEO: True during deployment.
If DISABLE_SEO is set to True but a robots.txt file exists on the server, the robots.txt file will take precedence.
Partial Indexing
Create and configure a
robots.txtfile to control which parts of the portal are indexed.Place the
robots.txtfile in the same directory as thedocker-compose.yamlfile used for Gramax.Update the
docker-compose.yamlfile by adding the path to therobots.txtfile in thevolumessection:volumes: - ./robots.txt:/app/public/robots.txtRestart the Docker containers.