File tree Expand file tree Collapse file tree 2 files changed +25
-2
lines changed Expand file tree Collapse file tree 2 files changed +25
-2
lines changed Original file line number Diff line number Diff line change
1
+ # .readthedocs.yaml
2
+ # Read the Docs configuration file
3
+ # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4
+
5
+ # Required
6
+ version : 2
7
+
8
+ # Set the version of Python and other tools you might need
9
+ build :
10
+ os : ubuntu-22.04
11
+ tools :
12
+ python : " 3.11"
13
+
14
+ # Build documentation in the docs/ directory with Sphinx
15
+ sphinx :
16
+ configuration : docs/conf.py
17
+
18
+ # We recommend specifying your dependencies to enable reproducible builds:
19
+ # https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
20
+ python :
21
+ install :
22
+ - requirements : requirements.txt
Original file line number Diff line number Diff line change 9
9
#
10
10
import os
11
11
import sys
12
- sys .path .insert (0 , os .path .abspath ('../../' ))
13
- exec (open ('jort/_version.py' ).read ())
12
+ dirname = os .path .dirname (__file__ )
13
+ sys .path .insert (0 , os .path .join (dirname , '../../' ))
14
+ exec (open (os .path .join (dirname , '../../jort/_version.py' )).read ())
14
15
15
16
# -- Project information -----------------------------------------------------
16
17
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
You can’t perform that action at this time.
0 commit comments