File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 10
10
# add these directories to sys.path here. If the directory is relative to the
11
11
# documentation root, use os.path.abspath to make it absolute, like shown here.
12
12
#
13
- # import os
13
+ import os
14
14
# import sys
15
15
# sys.path.insert(0, os.path.abspath('.'))
16
16
17
-
18
17
# -- Project information -----------------------------------------------------
19
18
20
19
project = 'DragonOS'
21
- copyright = '2022-2023 , DragonOS Community'
20
+ copyright = '2022-2024 , DragonOS Community'
22
21
author = 'longjin'
23
22
24
23
# The full version, including alpha/beta/rc tags
73
72
"strikethrough" ,
74
73
"substitution" ,
75
74
"tasklist" ,
76
- ]
75
+ ]
76
+
77
+
78
+ # Define the canonical URL if you are using a custom domain on Read the Docs
79
+ html_baseurl = os .environ .get ("READTHEDOCS_CANONICAL_URL" , "" )
80
+
81
+ # Tell Jinja2 templates the build is running on Read the Docs
82
+ if os .environ .get ("READTHEDOCS" , "" ) == "True" :
83
+ html_context ["READTHEDOCS" ] = True
You can’t perform that action at this time.
0 commit comments