Skip to content
Snippets Groups Projects
Unverified Commit 703769a0 authored by Georg Krause's avatar Georg Krause
Browse files

Omit module names in API docs, fix formatting

parent 5606aedf
No related branches found
No related tags found
No related merge requests found
Pipeline #20041 passed
......@@ -30,8 +30,12 @@
# 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.autodoc", "sphinx.ext.viewcode",
"sphinx.ext.githubpages", "myst_parser"]
extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.viewcode",
"sphinx.ext.githubpages",
"myst_parser",
]
# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]
......@@ -41,9 +45,9 @@ templates_path = ["_templates"]
#
# source_suffix = ['.rst', '.md']
source_suffix = {
'.rst': 'restructuredtext',
'.txt': 'markdown',
'.md': 'markdown',
".rst": "restructuredtext",
".txt": "markdown",
".md": "markdown",
}
# The master toctree document.
......@@ -169,3 +173,5 @@ texinfo_documents = [
"Miscellaneous",
),
]
add_module_names = False
......@@ -111,9 +111,7 @@ class HTTPSignatureAuth(requests.auth.AuthBase):
request.headers["Digest"] = "SHA-256=" + base64.b64encode(digest).decode()
@classmethod
def get_string_to_sign(
cls, request, headers, created_timestamp, expires_timestamp
):
def get_string_to_sign(cls, request, headers, created_timestamp, expires_timestamp):
sts = []
for header in headers:
if header == "(request-target)":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment