Skip to content
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

build(docs): set site_url from ReadTheDocs env var #13685

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Oct 1, 2024

  1. build(docs): set site_url from ReadTheDocs env var

    - `site_url` is [required](https://stackoverflow.com/a/59295885/3431180) for canonicalization and creating a `sitemap.xml`
    
    - Also for certain features like:
      - Instant loading: https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/?h=site+url#instant-loading
      - Versioning (we use RTD's versioning, but may want some features from here): https://squidfunk.github.io/mkdocs-material/setup/setting-up-versioning/?h=site+url#publishing-a-new-version
    
    Signed-off-by: Anton Gilgur <[email protected]>
    agilgur5 committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    28026b6 View commit details
    Browse the repository at this point in the history