add curl examples to web views

This commit is contained in:
2022-11-23 22:24:36 +02:00
parent 9e0dd3ae97
commit a7c9183aa0
13 changed files with 296 additions and 23 deletions

View File

@ -27,6 +27,8 @@ on_rtd = os.environ.get("READTHEDOCS", None) == "True"
for module in (
"pyalpm",
):
if module in sys.modules:
continue
sys.modules[module] = mock.Mock()
@ -77,7 +79,7 @@ html_theme = "default" if on_rtd else "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 = []
add_module_names = False