diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index a25be37d..9f5fb602 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -22,6 +22,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + fetch-depth: 0 # Fetch all history for version detection - name: Setup Pages uses: actions/configure-pages@v5 - uses: astral-sh/setup-uv@v5 @@ -30,6 +32,7 @@ jobs: enable-cache: true - run: | uv sync --group dev + uv build make docs - name: Upload artifact uses: actions/upload-pages-artifact@v3 diff --git a/docs/conf.py b/docs/conf.py index 74ea5b00..8687507e 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -89,3 +89,10 @@ def get_version(): html_css_files = [ "custom.css", ] + +# Furo theme options +html_theme_options = { + "source_repository": "https://github.com/laughingman7743/PyAthena/", + "source_branch": "master", + "source_directory": "docs/", +}