File tree Expand file tree Collapse file tree 4 files changed +8
-3
lines changed Expand file tree Collapse file tree 4 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 9898 - name : Run Sphinx doctest
9999 run : python -m sphinx -b doctest docs docs/_build
100100
101- - name : Generate Sphinx HTML
102- run : python -m sphinx -b html -W docs docs/_build
101+ # No longer needed as this is handled by Read the Docs
102+ # - name: Generate Sphinx HTML
103+ # run: python -m sphinx -b html -W docs docs/_build
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ sphinx:
1515 configuration : docs/conf.py
1616 # You can configure Sphinx to use a different builder, for instance use the dirhtml builder for simpler URLs
1717 # builder: "dirhtml"
18+ builder : html
1819 # Fail on all warnings to avoid broken references
1920 fail_on_warning : true
2021
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ def normalize_headers(
1212 if driver_flags is not None :
1313 for flag in driver_flags :
1414 flags = flags + flag + ";"
15- driver_version = "7.7 .0"
15+ driver_version = "8.1 .0"
1616 driver_header = "python-arango/" + driver_version + " (" + flags + ")"
1717 normalized_headers : Headers = {
1818 "charset" : "utf-8" ,
Original file line number Diff line number Diff line change 1717html_theme = "sphinx_rtd_theme"
1818master_doc = "index"
1919
20+ # Set canonical URL from the Read the Docs Domain
21+ html_baseurl = os .environ .get ("READTHEDOCS_CANONICAL_URL" , "docs.python-arango.com" )
22+
2023autodoc_member_order = "bysource"
2124
2225doctest_global_setup = """
You can’t perform that action at this time.
0 commit comments