diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index bc06e12e..1c434f70 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -98,5 +98,6 @@ jobs: - name: Run Sphinx doctest run: python -m sphinx -b doctest docs docs/_build - - name: Generate Sphinx HTML - run: python -m sphinx -b html -W docs docs/_build + # No longer needed as this is handled by Read the Docs + #- name: Generate Sphinx HTML + # run: python -m sphinx -b html -W docs docs/_build diff --git a/.readthedocs.yaml b/.readthedocs.yaml index bb9d1590..4fda4951 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -15,6 +15,7 @@ sphinx: configuration: docs/conf.py # You can configure Sphinx to use a different builder, for instance use the dirhtml builder for simpler URLs # builder: "dirhtml" + builder: html # Fail on all warnings to avoid broken references fail_on_warning: true diff --git a/arango/request.py b/arango/request.py index f7208153..3ff6af94 100644 --- a/arango/request.py +++ b/arango/request.py @@ -12,7 +12,7 @@ def normalize_headers( if driver_flags is not None: for flag in driver_flags: flags = flags + flag + ";" - driver_version = "7.7.0" + driver_version = "8.1.0" driver_header = "python-arango/" + driver_version + " (" + flags + ")" normalized_headers: Headers = { "charset": "utf-8", diff --git a/docs/conf.py b/docs/conf.py index 24e5586a..5d380f14 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -17,6 +17,9 @@ html_theme = "sphinx_rtd_theme" master_doc = "index" +# Set canonical URL from the Read the Docs Domain +html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "docs.python-arango.com") + autodoc_member_order = "bysource" doctest_global_setup = """