|
58 | 58 | add_module_names = False
|
59 | 59 | autoclass_content = 'both'
|
60 | 60 | autodoc_member_order = 'bysource' # To order the methods following the order at the code, not alphabetically
|
61 |
| -autodoc_mock_imports = ["PyJWT", "requests", "urllib3", "PyYAML", |
| 61 | +autodoc_mock_imports = ["PyJWT", "requests", "urllib3", "PyYAML", |
62 | 62 | "patch-ng", "fasteners", "six", "node-semver", "distro",
|
63 |
| - "pygments", "tqdm", "Jinja2", "MarkupSafe", "Jinja2", |
| 63 | + "pygments", "tqdm", "Jinja2", "MarkupSafe", "Jinja2", |
64 | 64 | "python-dateutil", "configparse", "patch_ng", "yaml", "semver", "dateutil"]
|
65 | 65 |
|
66 | 66 |
|
|
90 | 90 | "github_user": "conan-io", # Username
|
91 | 91 | "github_repo": "docs", # Repo name
|
92 | 92 | "github_version": "develop2", # Version
|
93 |
| - "conf_py_path": "/" # Path in the checkout to the docs root |
| 93 | + "conf_py_path": "/", # Path in the checkout to the docs root |
| 94 | + "enable_cookies": os.getenv("ENABLE_COOKIES_BANNER", True) # enable cookies banner |
94 | 95 | }
|
95 | 96 |
|
96 | 97 | # Add any paths that contain templates here, relative to this directory.
|
|
431 | 432 | # Graphviz output format, one of png, svg
|
432 | 433 | graphviz_output_format = 'svg'
|
433 | 434 |
|
434 |
| - |
435 | 435 | # copy legacy redirects
|
436 | 436 | def copy_legacy_redirects(app, docname): # Sphinx expects two arguments
|
437 | 437 | # FILL in this dicts the necessary redirects
|
|
0 commit comments