Skip to content

Commit

Permalink
fix: add autodoc to sphinx and formatting config
Browse files Browse the repository at this point in the history
  • Loading branch information
rezamahdi committed Feb 24, 2022
1 parent 0705cfc commit 22ebe50
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,39 +17,38 @@

# -- Project information -----------------------------------------------------

project = 'Pybchain'
copyright = '2022, Reza Mahdi'
author = 'Reza Mahdi'
project = "Pybchain"
copyright = "2022, Reza Mahdi"
author = "Reza Mahdi"

# The full version, including alpha/beta/rc tags
release = '0.0.1'
release = "0.0.1"


# -- 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 = [
]
extensions = ["sphinx.ext.autodoc"]

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
templates_path = ["_templates"]

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]


# -- Options for HTML output -------------------------------------------------

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = 'alabaster'
html_theme = "alabaster"

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
html_static_path = ["_static"]

0 comments on commit 22ebe50

Please sign in to comment.