-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support multiple MkDocs themes & styling from the same branch #108
Conversation
…riables to define CSS and theme directory
…back to a default)
…EPLOY_TARGET env var
Since our iframed site is a complete duplicate of content on the primary ReadTheDocs site, don't allow search engine indexing or caching. (ref: https://www.conductor.com/academy/meta-robots-tag/)
The approach is as follows:
Finally, another change was implemented in this whole process. Since our iframed site is a complete duplicate of content on the primary ReadTheDocs site, we don't want search engine indexing or caching. This can be achieved with the following meta tag, which should NOT be present on
|
…ed (dont forget readthedocs.yaml too...)
This PR supports building different styles from the same branch by doing some tree reorg and using environment variables
Functionally this means we don’t need multiple branches to support the primary and iframe deployments.