File tree 4 files changed +9
-6
lines changed 4 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 17
17
# sys.path.append(os.path.abspath('some/directory'))
18
18
19
19
import os
20
+ import sys
20
21
import pytensor
21
22
22
23
# General configuration
60
61
if os .environ .get ("READTHEDOCS" , False ):
61
62
rtd_version = os .environ .get ("READTHEDOCS_VERSION" , "" )
62
63
if rtd_version .lower () == "stable" :
63
- version = pymc .__version__ .split ("+" )[0 ]
64
+ version = pytensor .__version__ .split ("+" )[0 ]
64
65
elif rtd_version .lower () == "latest" :
65
66
version = "dev"
66
67
else :
120
121
html_theme = "pymc_sphinx_theme"
121
122
html_theme_options = {
122
123
"use_search_override" : False ,
124
+ "logo" : {
125
+ "link" : "https://pytensor.readthedocs.io" ,
126
+ },
123
127
}
124
128
html_context = {
125
129
"github_user" : "pymc-devs" ,
Original file line number Diff line number Diff line change @@ -3,13 +3,13 @@ channels:
3
3
- conda-forge
4
4
- nodefaults
5
5
dependencies :
6
- - python=3.7
6
+ - python=3.9
7
7
- gcc_linux-64
8
8
- gxx_linux-64
9
9
- numpy
10
10
- scipy
11
11
- six
12
- - sphinx>=5.1.0
12
+ - sphinx>=5.1.0,<6
13
13
- mock
14
14
- pillow
15
15
- pip
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ dependencies:
32
32
- pytest-xdist
33
33
- pytest-benchmark
34
34
# For building docs
35
- - sphinx>=5.1.0
35
+ - sphinx>=5.1.0,<6
36
36
- sphinx_rtd_theme
37
37
- pygments
38
38
- pydot
Original file line number Diff line number Diff line change @@ -89,8 +89,7 @@ tests = [
89
89
" pytest-benchmark" ,
90
90
]
91
91
rtd = [
92
- " sphinx>=1.3.0" ,
93
- " sphinx_rtd_theme" ,
92
+ " sphinx>=5.1.0,<6" ,
94
93
" pygments" ,
95
94
" pydot" ,
96
95
" pydot2" ,
You can’t perform that action at this time.
0 commit comments