new version

This commit is contained in:
deesiigneer
2024-04-18 21:45:13 +05:00
parent eff14052fd
commit b3d56a6059
32 changed files with 612 additions and 458 deletions

View File

@@ -1,5 +1,7 @@
from re import search, MULTILINE
import os
import sys
project = 'pyspapi'
copyright = '2022, deesiigneer'
@@ -17,6 +19,9 @@ release = version
# -- General configuration
sys.path.insert(0, os.path.abspath(".."))
extensions = [
'sphinx.ext.duration',
'sphinx.ext.doctest',
@@ -25,6 +30,9 @@ extensions = [
'sphinx.ext.intersphinx',
]
autodoc_member_order = "bysource"
autodoc_typehinta = "none"
intersphinx_mapping = {
'python': ('https://docs.python.org/3/', None),
'sphinx': ('https://www.sphinx-doc.org/en/master/', None),
@@ -34,7 +42,7 @@ version_match = os.environ.get("READTHEDOCS_VERSION")
json_url = f"https://pyspapi.readthedocs.io/ru/{version_match}/_static/switcher.json"
intersphinx_disabled_domains = ['std']
language = None
language = 'en'
locale_dirs = ["locale/"]
exclude_patterns = []
html_static_path = ["_static"]
@@ -70,12 +78,7 @@ html_theme_options = {
],
"header_links_before_dropdown": 4,
"show_toc_level": 1,
"navbar_start": ["navbar-logo", "version-switcher"],
"switcher": {
"json_url": json_url,
"version_match": version_match
},
"navbar_start": ["navbar-logo"],
"navigation_with_keys": True,
}
html_css_files = ["custom.css"]