diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 080396c..011724c 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -15,4 +15,10 @@ python: build: os: "ubuntu-22.04" tools: - python: "mambaforge-latest" + python: "miniforge3-latest" + jobs: + # hatch-vcs derives the version from git tags; RTD's default checkout is + # shallow and tagless, so fetch tags or ptgp.__version__ falls back to + # 0.0.0+unknown and the version selector labels break. + post_checkout: + - git fetch --tags --unshallow || true diff --git a/docs/source/conf.py b/docs/source/conf.py index a75643b..d150396 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -45,6 +45,8 @@ "sphinx_design", "sphinx_copybutton", "sphinx_codeautolink", + "sphinx_sitemap", + "notfound.extension", "jupyter_sphinx", "sphinxcontrib.bibtex", "generate_gallery", @@ -133,7 +135,7 @@ "show_prev_next": True, "icon_links": [ { - "url": "https://github.com/bwengals/ptgp", + "url": "https://github.com/pymc-devs/ptgp", "icon": "fa-brands fa-github", "name": "GitHub", "type": "fontawesome", @@ -144,7 +146,7 @@ github_version = version if "." in rtd_version else "main" html_context = { "github_url": "https://github.com", - "github_user": "bwengals", + "github_user": "pymc-devs", "github_repo": "ptgp", "github_version": github_version, "doc_path": "docs/source",