Skip to content

Commit

Permalink
fix formatting of files
Browse files Browse the repository at this point in the history
  • Loading branch information
01110011011101010110010001101111 committed Aug 25, 2023
1 parent 4ba057f commit b11740b
Show file tree
Hide file tree
Showing 86 changed files with 32,919 additions and 30,526 deletions.
55 changes: 28 additions & 27 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,31 +28,32 @@
# add these directories to sys.path here.
import sys
import os
sys.path.insert(0, os.path.abspath('../..'))

sys.path.insert(0, os.path.abspath("../.."))
import furo

#import pathlib
#sys.path.insert(0, pathlib.Path(__file__).parents[2].resolve().as_posix())
# import pathlib
# sys.path.insert(0, pathlib.Path(__file__).parents[2].resolve().as_posix())

# -- Project information

project = 'TorchQuantum'
copyright = '2021, Hanrui Wang'
author = 'Hanrui Wang'
project = "TorchQuantum"
copyright = "2021, Hanrui Wang"
author = "Hanrui Wang"

release = '0.1'
version = '0.1.0'
release = "0.1"
version = "0.1.0"

# -- General configuration

extensions = [
'sphinx.ext.duration',
'sphinx.ext.doctest',
'sphinx.ext.autodoc',
'sphinx.ext.autosummary',
'sphinx.ext.intersphinx',
'sphinx.ext.napoleon', # google styled docstring
'sphinx.ext.viewcode', # [source] link to view code
"sphinx.ext.duration",
"sphinx.ext.doctest",
"sphinx.ext.autodoc",
"sphinx.ext.autosummary",
"sphinx.ext.intersphinx",
"sphinx.ext.napoleon", # google styled docstring
"sphinx.ext.viewcode", # [source] link to view code
# 'sphinx.ext.todo',
# 'sphinx.ext.coverage',
# 'sphinxcontrib.katex',
Expand All @@ -63,19 +64,19 @@
# 'sphinx.ext.extlinks',
# 'sphinx_autodoc_typehints',
# 'jupyter_sphinx',
'nbsphinx', # support for including Jupyter Notebook (*.ipynb) file
'recommonmark', # support for including markdown (*.md) file
"nbsphinx", # support for including Jupyter Notebook (*.ipynb) file
"recommonmark", # support for including markdown (*.md) file
# 'sphinx_design',
# 'sphinx_reredirects'
]

intersphinx_mapping = {
'python': ('https://docs.python.org/3/', None),
'sphinx': ('https://www.sphinx-doc.org/en/master/', None),
"python": ("https://docs.python.org/3/", None),
"sphinx": ("https://www.sphinx-doc.org/en/master/", None),
}
intersphinx_disabled_domains = ['std']
intersphinx_disabled_domains = ["std"]

templates_path = ['_templates']
templates_path = ["_templates"]

# -- Options for HTML output

Expand Down Expand Up @@ -143,12 +144,12 @@
}
"""

html_theme = 'furo'
html_theme = "furo"
html_theme_options = {
'collapse_navigation': False,
'display_version': True,
'logo_only': False,
"index": "page.html"
"collapse_navigation": False,
"display_version": True,
"logo_only": False,
"index": "page.html",
}

# adjust code block style for readthedocs
Expand All @@ -160,4 +161,4 @@
display_gitlab = False
show_source = True
# -- Options for EPUB output
epub_show_urls = 'footnote'
epub_show_urls = "footnote"
Loading

0 comments on commit b11740b

Please sign in to comment.