import os
import sys
sys.path.insert(0, os.path.abspath(".."))
sys.path.insert(0, os.path.abspath("../python"))
project = "Astrora"
copyright = "2024, Cache McClure"
author = "Cache McClure"
release = "0.1.0"
version = "0.1.0"
extensions = [
"sphinx.ext.autodoc", "sphinx.ext.autosummary", "sphinx.ext.napoleon", "sphinx.ext.viewcode", "sphinx.ext.intersphinx", "sphinx.ext.mathjax", "sphinx.ext.todo", "sphinx.ext.coverage", "sphinx_autodoc_typehints", "numpydoc", ]
autodoc_default_options = {
"members": True,
"member-order": "bysource",
"special-members": "__init__",
"undoc-members": True,
"exclude-members": "__weakref__",
"show-inheritance": True,
}
autosummary_generate = True
autosummary_imported_members = True
napoleon_google_docstring = False
napoleon_numpy_docstring = True
napoleon_include_init_with_doc = True
napoleon_include_private_with_doc = False
napoleon_include_special_with_doc = True
napoleon_use_admonition_for_examples = False
napoleon_use_admonition_for_notes = False
napoleon_use_admonition_for_references = False
napoleon_use_ivar = False
napoleon_use_param = True
napoleon_use_rtype = True
napoleon_preprocess_types = False
napoleon_type_aliases = None
napoleon_attr_annotations = True
numpydoc_show_class_members = True
numpydoc_show_inherited_class_members = True
numpydoc_class_members_toctree = True
numpydoc_citation_re = r"\[[\w-]+\]"
numpydoc_attributes_as_param_list = True
numpydoc_xref_param_type = True
numpydoc_xref_aliases = {
"ndarray": "numpy.ndarray",
"array_like": ":term:`array_like`",
}
intersphinx_mapping = {
"python": ("https://docs.python.org/3/", None),
"numpy": ("https://numpy.org/doc/stable/", None),
"scipy": ("https://docs.scipy.org/doc/scipy/", None),
"matplotlib": ("https://matplotlib.org/stable/", None),
"astropy": ("https://docs.astropy.org/en/stable/", None),
}
typehints_fully_qualified = False
always_document_param_types = True
typehints_document_rtype = True
templates_path = ["_templates"]
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
source_suffix = {
".rst": "restructuredtext",
".md": "markdown",
}
master_doc = "index"
language = "en"
html_theme = "sphinx_rtd_theme"
html_static_path = ["_static"]
html_theme_options = {
"canonical_url": "",
"analytics_id": "",
"logo_only": False,
"display_version": True,
"prev_next_buttons_location": "bottom",
"style_external_links": False,
"style_nav_header_background": "#2980B9",
"collapse_navigation": False,
"sticky_navigation": True,
"navigation_depth": 4,
"includehidden": True,
"titles_only": False,
}
html_static_path = []
htmlhelp_basename = "Astroradoc"
add_function_parentheses = True
add_module_names = True
show_authors = False
pygments_style = "sphinx"
latex_elements = {
"papersize": "letterpaper",
"pointsize": "10pt",
"preamble": "",
"figure_align": "htbp",
}
latex_documents = [
(
master_doc,
"Astrora.tex",
"Astrora Documentation",
"Cache McClure",
"manual",
),
]
man_pages = [(master_doc, "astrora", "Astrora Documentation", [author], 1)]
texinfo_documents = [
(
master_doc,
"Astrora",
"Astrora Documentation",
author,
"Astrora",
"Rust-backed astrodynamics library for Python",
"Miscellaneous",
),
]
todo_include_todos = True