Skip to content

Commit

Permalink
testing no polyversion build
Browse files Browse the repository at this point in the history
  • Loading branch information
ZergLev committed Oct 7, 2024
1 parent 9f5fec3 commit 1fcb631
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/source/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ def replace(v: Any) -> str:
with open(links_file, "r") as file:
contents = file.read()
contents = contents.replace('DOC_VERSION', doc_version)
# links_file.write_text(contents)

with open(links_file, "w") as file:
file.write(contents)
Expand Down
3 changes: 2 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,8 @@
"member-order": "bysource",
"exclude-members": "_abc_impl, model_fields, model_computed_fields, model_config",
}

"""
if not polyversion_build:
from docs.source.setup import setup
# Importing setup here, because it will get called by Sphinx.
"""

0 comments on commit 1fcb631

Please sign in to comment.