Skip to content
Closed
Show file tree
Hide file tree
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
58 changes: 32 additions & 26 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import sphinx_rtd_theme


srcdir = os.path.abspath('../../')
srcdir = os.path.abspath("../../")
sys.path.insert(0, srcdir)


Expand All @@ -30,68 +30,74 @@
# -- General configuration ------------------------------------------------

# If your documentation needs a minimal Sphinx version, state it here.
needs_sphinx = '1.3'
needs_sphinx = "1.3"

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'sphinx.ext.viewcode',
'sphinx.ext.autodoc',
'sphinx.ext.napoleon'
]
extensions = ["sphinx.ext.viewcode", "sphinx.ext.autodoc", "sphinx.ext.napoleon"]

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

# The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string:
# source_suffix = ['.rst', '.md']
source_suffix = '.rst'
source_suffix = ".rst"

# The encoding of source files.
# source_encoding = 'utf-8-sig'

# The master toctree document.
master_doc = 'index'
master_doc = "index"

# General information about the project.
project = 'Matrix Python SDK'
copyright = '2016, matrix.org'
author = 'matrix.org'
project = "Matrix Python SDK"
copyright = "2016, matrix.org"
author = "matrix.org"


version = '0.2.0'
release = '0.1.0'
version = "0.2.0"
release = "0.1.0"

language = None

exclude_patterns = []

pygments_style = 'sphinx'
pygments_style = "sphinx"

todo_include_todos = False

html_theme = "sphinx_rtd_theme"
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
html_title = 'Matrix Python SDK v' + version
html_title = "Matrix Python SDK v" + version
# html_static_path = ['_static']

htmlhelp_basename = 'MatrixPythonSDKdoc'
highlight_language = 'python'
htmlhelp_basename = "MatrixPythonSDKdoc"
highlight_language = "python"

latex_documents = [
(master_doc, 'MatrixPythonSDK.tex', 'Matrix Python SDK Documentation',
'matrix.org', 'manual'),
(
master_doc,
"MatrixPythonSDK.tex",
"Matrix Python SDK Documentation",
"matrix.org",
"manual",
)
]

man_pages = [
(master_doc, 'matrixpythonsdk', 'Matrix Python SDK Documentation',
[author], 1)
(master_doc, "matrixpythonsdk", "Matrix Python SDK Documentation", [author], 1)
]

texinfo_documents = [
(master_doc, 'MatrixPythonSDK', 'Matrix Python SDK Documentation',
author, 'MatrixPythonSDK', 'SDK for writing Matrix Clients in Python',
'Miscellaneous'),
(
master_doc,
"MatrixPythonSDK",
"Matrix Python SDK Documentation",
author,
"MatrixPythonSDK",
"SDK for writing Matrix Clients in Python",
"Miscellaneous",
)
]
Loading