Add curl examples alongside http snippets

This commit is contained in:
Laurence Isla
2021-10-28 18:06:52 -05:00
committed by GitHub
parent 23ad30a20a
commit a0bdcb706c
9 changed files with 1087 additions and 284 deletions
+6 -1
View File
@@ -28,7 +28,10 @@ import os
# 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_tabs.tabs',
'sphinx_copybutton'
]
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
@@ -293,3 +296,5 @@ def setup(app):
# taken from https://github.com/sphinx-doc/sphinx/blob/82dad44e5bd3776ecb6fd8ded656bc8151d0e63d/sphinx/util/requests.py#L42
user_agent = 'Mozilla/5.0 (X11; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0'
# sphinx-tabs configuration
sphinx_tabs_disable_tab_closing = True