Skip to content

Sourcery refactored main branch #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 14 additions & 24 deletions spec/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,25 +25,6 @@
release = '2022.05-DRAFT'


# -- General configuration ---------------------------------------------------

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'myst_parser',
'sphinx.ext.extlinks',
'sphinx.ext.intersphinx',
'sphinx.ext.todo',
'sphinx_markdown_tables',
'sphinx_copybutton',
'sphinx.ext.autosummary',
'sphinx.ext.napoleon',
'sphinx.ext.autodoc',
'sphinx_math_dollar',
'sphinx.ext.mathjax'
]
Comment on lines 27 to -45
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lines 27-118 refactored with the following changes:

This removes the following comments ( why? ):

# ones.
#
# -- Options for HTML output -------------------------------------------------
# The theme to use for HTML and HTML Help pages.  See the documentation for
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# a list of builtin themes.
# Add any Sphinx extension module names here, as strings. They can be
# -- General configuration ---------------------------------------------------


autosummary_generate = True
autodoc_typehints = 'signature'
add_module_names = False
Expand Down Expand Up @@ -110,12 +91,21 @@
myst_heading_anchors = 3
myst_enable_extensions = ["colon_fence"]

# -- Options for HTML output -------------------------------------------------
extensions = [
'myst_parser',
'sphinx.ext.extlinks',
'sphinx.ext.intersphinx',
'sphinx.ext.todo',
'sphinx_markdown_tables',
'sphinx_copybutton',
'sphinx.ext.autosummary',
'sphinx.ext.napoleon',
'sphinx.ext.autodoc',
'sphinx_math_dollar',
'sphinx.ext.mathjax',
"sphinx_material",
]

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
extensions.append("sphinx_material")
html_theme_path = sphinx_material.html_theme_path()
html_context = sphinx_material.get_html_context()
html_theme = 'sphinx_material'
Expand Down