File tree 4 files changed +8
-3
lines changed
4 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 98
98
- name : Run Sphinx doctest
99
99
run : python -m sphinx -b doctest docs docs/_build
100
100
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:
15
15
configuration : docs/conf.py
16
16
# You can configure Sphinx to use a different builder, for instance use the dirhtml builder for simpler URLs
17
17
# builder: "dirhtml"
18
+ builder : html
18
19
# Fail on all warnings to avoid broken references
19
20
fail_on_warning : true
20
21
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ def normalize_headers(
12
12
if driver_flags is not None :
13
13
for flag in driver_flags :
14
14
flags = flags + flag + ";"
15
- driver_version = "7.7 .0"
15
+ driver_version = "8.1 .0"
16
16
driver_header = "python-arango/" + driver_version + " (" + flags + ")"
17
17
normalized_headers : Headers = {
18
18
"charset" : "utf-8" ,
Original file line number Diff line number Diff line change 17
17
html_theme = "sphinx_rtd_theme"
18
18
master_doc = "index"
19
19
20
+ # Set canonical URL from the Read the Docs Domain
21
+ html_baseurl = os .environ .get ("READTHEDOCS_CANONICAL_URL" , "docs.python-arango.com" )
22
+
20
23
autodoc_member_order = "bysource"
21
24
22
25
doctest_global_setup = """
You can’t perform that action at this time.
0 commit comments