File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change 1
1
from crate .theme .rtd .conf .sqlalchemy_cratedb import *
2
2
3
-
3
+ # Fallback guards, when parent theme does not introduce them.
4
+ if "html_theme_options" not in globals ():
5
+ html_theme_options = {}
4
6
if "intersphinx_mapping" not in globals ():
5
7
intersphinx_mapping = {}
6
8
9
+ # Re-configure sitemap generation URLs.
10
+ # This is a project without versioning.
11
+ sitemap_url_scheme = "{link}"
12
+
13
+ # Disable version chooser.
14
+ html_context .update ({
15
+ "display_version" : False ,
16
+ "current_version" : None ,
17
+ "versions" : [],
18
+ })
7
19
8
20
intersphinx_mapping .update ({
9
21
'py' : ('https://docs.python.org/3/' , None ),
12
24
'pandas' : ('https://pandas.pydata.org/docs/' , None ),
13
25
})
14
26
15
-
16
27
linkcheck_anchors = True
17
28
linkcheck_ignore = [r"https://github.com/crate/cratedb-examples/blob/main/by-language/python-sqlalchemy/.*" ]
18
29
19
-
20
30
rst_prolog = """
21
31
.. |nbsp| unicode:: 0xA0
22
32
:trim:
You can’t perform that action at this time.
0 commit comments