File tree Expand file tree Collapse file tree 3 files changed +19
-5
lines changed Expand file tree Collapse file tree 3 files changed +19
-5
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ AutoStructify = transform.AutoStructify
23
23
# documentation root, use os.path.abspath to make it absolute, like shown here.
24
24
sys.path.insert(0, '@PROJ_ROOT@/python')
25
25
26
+ templates_path = ["@PROJ_ROOT@/doc/templates"]
27
+
26
28
# -- Doxygen Settings
27
29
breathe_projects = {
28
30
'paddle': '@PADDLE_DOXYGEN_OUTPUT@/xml'
@@ -66,8 +68,6 @@ extensions = [
66
68
67
69
autodoc_member_order = 'bysource'
68
70
69
- # Add any paths that contain templates here, relative to this directory.
70
- templates_path = ['_templates']
71
71
72
72
# The suffix(es) of source filenames.
73
73
# You can specify multiple suffix as a list of string:
Original file line number Diff line number Diff line change
1
+ {# layout.html #}
2
+ {# Import the theme's layout. #}
3
+ {% extends "!layout.html" %}
4
+
5
+
6
+ {%- block extrahead %}
7
+ < script >
8
+ var _hmt = _hmt || [ ] ;
9
+ ( function ( ) {
10
+ var hm = document . createElement ( "script" ) ;
11
+ hm . src = "//hm.baidu.com/hm.js?b9a314ab40d04d805655aab1deee08ba" ;
12
+ var s = document . getElementsByTagName ( "script" ) [ 0 ] ;
13
+ s . parentNode . insertBefore ( hm , s ) ;
14
+ } ) ( ) ;
15
+ </ script >
16
+ {% endblock %}
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ AutoStructify = transform.AutoStructify
22
22
# add these directories to sys.path here. If the directory is relative to the
23
23
# documentation root, use os.path.abspath to make it absolute, like shown here.
24
24
sys.path.insert(0, '@PROJ_ROOT@/python')
25
+ templates_path = ["@PROJ_ROOT@/doc/templates"]
25
26
26
27
# -- General configuration ------------------------------------------------
27
28
@@ -51,9 +52,6 @@ table_styling_embed_css = True
51
52
52
53
autodoc_member_order = 'bysource'
53
54
54
- # Add any paths that contain templates here, relative to this directory.
55
- templates_path = ['_templates']
56
-
57
55
# The suffix(es) of source filenames.
58
56
# You can specify multiple suffix as a list of string:
59
57
# source_suffix = ['.rst', '.md']
You can’t perform that action at this time.
0 commit comments