Last active
June 19, 2024 00:18
-
-
Save tomburge/0ec42cef0bd8ace83657b49d511415bd to your computer and use it in GitHub Desktop.
sphinx config file 7.3.7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pathlib import Path | |
CURRENT_DIR = Path(__file__).parent | |
# Global Variables | |
author_name = "author name" | |
project_name = "project name" | |
release_name = "1.0.0" | |
version_name = "1" | |
# Project Configuration | |
project = f"{project_name}" | |
author = f"{author_name} and contributors to {project_name}" | |
copyright = f"2023-Present, {author_name} and contributors to {project_name}" | |
release = release_name | |
version = version_name | |
# General Configuration | |
add_function_parentheses = True | |
add_module_names = True | |
default_role = None | |
exclude_patterns = [] | |
extensions = [] | |
highlight_language = "default" | |
highlight_options = {} # https://pygments.org/docs/lexers/ | |
include_patterns = [] | |
keep_warnings = False | |
manpages_url = "" | |
maximum_signature_line_length = None | |
modindex_common_prefix = [] | |
needs_extensions = {} | |
needs_sphinx = "7.3.7" | |
nitpicky = False | |
nitpicky_ignore = () | |
nitpicky_ignore_regex = () | |
numfig = False | |
numfig_format = { | |
"figure": "Fig. %s", | |
"listing": "Listing %s", | |
"table": "Table %s", | |
} | |
numfig_secnum_depth = 1 | |
option_emphasise_placeholders = False | |
primary_domain = "py" | |
pygments_style = "sphinx" | |
rst_epilog = "" | |
rst_prolog = "" | |
root_doc = "index" | |
show_authors = True | |
show_warning_types = False | |
smartquotes = True | |
smartquotes_action = "qDe" | |
smartquotes_excludes = {"languages": ["ja"], "builders": ["man", "text"]} | |
source_encoding = "utf-8-sig" | |
source_parsers = None | |
source_suffix = {".rst": "restructuredtext"} | |
strip_signature_backslash = False | |
suppress_warnings = [ | |
# Sphinx core warnings | |
# "app.add_node", | |
# "app.add_directive", | |
# "app.add_role", | |
# "app.add_generic_role", | |
# "app.add_source_parser", | |
# "config.cache", | |
# "download.not_readable", | |
# "epub.unknown_project_files", | |
# "epub.duplicated_toc_entry", | |
# "i18n.inconsistent_references", | |
# "image.not_readable", | |
# "index", | |
# "misc.highlighting_failure", | |
# "ref.term", | |
# "ref.ref", | |
# "ref.numref", | |
# "ref.keyword", | |
# "ref.option", | |
# "ref.citation", | |
# "ref.footnote", | |
# "ref.doc", | |
# "ref.python", | |
# "toc.circular", | |
# "toc.excluded", | |
# "toc.not_readable", | |
# "toc.secnum", | |
# Sphinx 1st party warnings | |
# "autodoc", | |
# "autodoc.import_object", | |
# "autosectionlabel.<document name>", | |
# "autosummary", | |
# "intersphinx.external", | |
] | |
templates_bridge = "" | |
templates_path = [] | |
tls_cacerts = "/path/to/cacert.pem" | |
tls_verify = True | |
toc_object_entries = True | |
toc_object_entries_show_parents = "domain" # all | domain | hide | |
trim_doctest_flags = True | |
trim_footnote_reference_space = True | |
today = None | |
today_fmt = "%b %d, %Y" | |
user_agent = "Sphinx/X.Y.Z requests/X.Y.Z python/X.Y.Z" | |
# Internationalization Configuration | |
figure_language_filename = "{root}.{language}{ext}" | |
gettext_additional_targets = [] | |
gettext_allow_fuzzy_translations = False | |
gettext_auto_build = True | |
gettext_compact = False | |
gettext_location = True | |
gettext_uuid = False | |
language = "en" | |
locale_dirs = [] | |
translation_progress_classes = False | |
# Math Configuration | |
math_eqref_format = "" | |
math_number_all = False | |
math_numfig = True | |
# Output Configuration | |
## Apple Help | |
applehelp_bundle_id = "" | |
applehelp_bundle_name = "<project>" | |
applehelp_bundle_version = "1" | |
applehelp_codesign_identity = None | |
applehelp_codesign_flags = [] | |
applehelp_codesign_path = "/usr/bin/codesign" | |
applehelp_dev_region = "en-us" | |
applehelp_disable_external_tools = False | |
applehelp_icon = None | |
applehelp_index_anchors = False | |
applehelp_indexer_path = "/usr/bin/hiutil" | |
applehelp_kb_product = "<project>-<release>" | |
applehelp_kb_url = None | |
applehelp_locale = "en" | |
applehelp_min_term_length = None | |
applehelp_remote_url = None | |
applehelp_stopwords = "en" | |
applehelp_title = "<project> Help" | |
## Epub | |
epub_author = author | |
epub_basename = project | |
epub_contributor = "unknown" | |
epub_copyright = copyright | |
epub_cover = () | |
epub_css_files = {} | |
epub_description = "unknown" | |
epub_exclude_files = [] | |
epub_fix_images = False | |
epub_guide = () | |
epub_identifier = "unknown" | |
epub_language = "en" | |
epub_max_image_width = 0 | |
epub_post_files = [] | |
epub_pre_files = [] | |
epub_publisher = author | |
epub_scheme = "unknown" | |
epub_show_urls = "inline" | |
epub_theme = "epub" | |
epub_theme_options = {} | |
epub_title = project | |
epub_tocdepth = 3 | |
epub_tocscope = "default" | |
epub_tocdup = True | |
epub_uid = "unknown" | |
epub_use_index = True | |
epub_writing_mode = "horizontal" | |
## HTML | |
html_additional_pages = {} | |
html_baseurl = "" | |
html_codeblock_linenos_style = "inline" | |
html_compact_lists = True | |
html_context = {} | |
html_copy_source = True | |
html_css_files = [] | |
html_domain_indices = True | |
html_experimental_html5_writer = False | |
html_extra_path = [] | |
html_favicon = None | |
html_file_suffix = None | |
html_js_files = [] | |
html_last_updated_fmt = None | |
html_link_suffix = None | |
html_logo = None | |
html_math_renderer = "mathjax" | |
html_output_encoding = "utf-8" | |
html_permalinks = True | |
html_permalinks_icon = "¶" | |
html_scaled_image_link = True | |
html_search_language = "en" | |
html_search_options = {} | |
html_search_scorer = "" | |
html_secnumber_suffix = ". " | |
html_short_title = None | |
html_show_copyright = True | |
html_show_search_summary = True | |
html_show_sourcelink = True | |
html_show_sphinx = False | |
html_sidebars = {} | |
html_sourcelink_suffix = ".txt" | |
html_split_index = False | |
html_static_path = ["_static"] | |
html_style = "" | |
html_theme = "alabaster" | |
html_theme_options = {} | |
html_theme_path = [] | |
html_title = "<project> v<revision> documentation" | |
html_use_index = True | |
html_use_opensearch = "" | |
html_use_smartypants = True | |
html4_writer = False | |
### Single HTML | |
singlehtml_sidebars = {} | |
## LaTeX | |
latex_additional_files = [] | |
latex_appendices = [] | |
latex_docclass = "jsbook" | |
latex_documents = () | |
latex_domain_indices = True | |
latex_elements = "" | |
latex_engine = "pdflatex" | |
latex_logo = None | |
latex_toplevel_sectioning = None | |
latex_show_pagerefs = False | |
latex_show_urls = "no" | |
latex_table_style = ["booktabs", "colorrows"] | |
latex_theme = "manual" | |
latex_theme_options = {} | |
latex_theme_path = [] | |
latex_use_latex_multicolumn = False | |
latex_use_xindy = False | |
## Manual Page | |
man_make_section_directory = True | |
man_pages = [] | |
man_show_urls = False | |
## Text | |
text_add_secnumbers = True | |
text_newlines = "unix" | |
text_sectionchars = '*=-~"+`' | |
text_secnumber_suffix = ". " | |
## TexInfo | |
texinfo_appendices = [] | |
texinfo_cross_references = True | |
texinfo_documents = [] | |
texinfo_domain_indices = True | |
texinfo_elements = {} | |
texinfo_no_detailmenu = False | |
texinfo_show_urls = "footnote" | |
## QtHelp | |
qthelp_basename = project | |
qthelp_namespace = "org.sphinx.<project_name>.<project_version>" | |
qthelp_theme = "nonav" | |
qthelp_theme_options = {} | |
# linkcheck builder | |
linkcheck_allow_unauthorized = False | |
linkcheck_allowed_redirects = {} | |
linkcheck_anchors = True | |
linkcheck_anchors_ignore = ["^!"] | |
linkcheck_anchors_ignore_for_url = () | |
linkcheck_auth = [] | |
linkcheck_exclude_documents = [] | |
linkcheck_ignore = [] | |
linkcheck_rate_limit_timeout = 300 | |
linkcheck_report_timeouts_as_broken = False | |
linkcheck_request_headers = {} | |
linkcheck_retries = 1 | |
linkcheck_timeout = 30 | |
linkcheck_workers = 5 | |
# XML builder | |
xml_pretty = True | |
# C Domain | |
c_extra_keywords = [] | |
c_id_attributes = [] | |
c_maximum_signature_line_length = maximum_signature_line_length | |
c_paren_attributes = [] | |
# C++ Domain | |
cpp_id_attributes = [] | |
cpp_index_common_prefix = [] | |
cpp_maximum_signature_line_length = maximum_signature_line_length | |
cpp_paren_attributes = [] | |
# Python Domain | |
python_display_short_literal_types = False | |
python_maximum_signature_line_length = maximum_signature_line_length | |
python_use_unqualified_type_names = False | |
# Javascript Domain | |
javascript_maximum_signature_line_length = maximum_signature_line_length |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment