Debian Codegraph @

tests/sites/version_switcher/conf.py

raw
1 """Test conf file - basic site with version switcher."""
2
3 # -- Project information -----------------------------------------------------
4 project = "PyData Tests"
5 copyright = "2020, Pydata community"
6 author = "Pydata community"
7
8 root_doc = "index"
9
10 # -- General configuration ---------------------------------------------------
11 html_theme = "pydata_sphinx_theme"
12
13 html_static_path = ["_static"]
14
15 # Add version switcher
16 html_theme_options = {
17 "switcher": {
18 "json_url": "_static/switcher.json",
19 "version_match": "dev",
20 },
21 "navbar_start": ["navbar-logo", "version-switcher"],
22 }
23
24 # see https://github.com/sphinx-doc/sphinx/issues/13462
25 linkcheck_allowed_redirects = {}