File tree 4 files changed +22
-17
lines changed 4 files changed +22
-17
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ private_*
54
54
readthedocs /htmlcov
55
55
tags
56
56
.python-version
57
+ .tool-versions
57
58
* .pyo
58
59
.pytest_cache /
59
60
scripts /travis /elasticsearch *
66
67
ENV /
67
68
env.bak /
68
69
venv.bak /
70
+ .direnv /
71
+ .envrc
69
72
70
73
dev.db-journal
71
74
/readthedocs /settings /build_docker.py
Original file line number Diff line number Diff line change 18
18
19
19
sys .path .insert (0 , os .path .abspath ('..' ))
20
20
sys .path .append (os .path .dirname (__file__ ))
21
- os .environ .setdefault ("DJANGO_SETTINGS_MODULE" , "readthedocs.settings.dev" )
22
-
23
- from django .utils import timezone
24
-
25
- import django
26
- django .setup ()
21
+ os .environ .setdefault ('DJANGO_SETTINGS_MODULE' , 'readthedocs.settings.dev' )
27
22
23
+ try :
24
+ # Nesting in try to avoid isort inflicting unwanted changes. It tries to
25
+ # move these imports above the very necessary sys.path manipulation.
26
+ import django
27
+ from django .utils import timezone
28
+ django .setup ()
29
+ except ImportError :
30
+ raise
28
31
29
32
# Set here the variables you want for each docset.
30
33
docsets = {
67
70
copyright = '2010-{}, Read the Docs, Inc & contributors' .format (
68
71
timezone .now ().year
69
72
)
70
- version = " 7.4.2"
73
+ version = ' 7.4.2'
71
74
release = version
72
75
exclude_patterns = ['_build' ]
73
76
default_role = 'obj'
92
95
'rtd-dev' : ('https://dev.readthedocs.io/en/latest/' , None ),
93
96
}
94
97
myst_enable_extensions = [
95
- " deflist" ,
98
+ ' deflist' ,
96
99
]
97
100
hoverxref_intersphinx = [
98
- " sphinx" ,
99
- " pip" ,
100
- " nbsphinx" ,
101
- " myst-nb" ,
102
- " ipywidgets" ,
103
- " jupytext" ,
101
+ ' sphinx' ,
102
+ ' pip' ,
103
+ ' nbsphinx' ,
104
+ ' myst-nb' ,
105
+ ' ipywidgets' ,
106
+ ' jupytext' ,
104
107
]
105
108
htmlhelp_basename = 'ReadTheDocsdoc'
106
109
latex_documents = [
Original file line number Diff line number Diff line change 1
1
"""Read the Docs."""
2
2
3
- import os .path
4
3
5
- __version__ = " 7.4.2"
4
+ __version__ = ' 7.4.2'
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ description = Read the Docs builds and hosts documentation
6
6
author = Read the Docs, Inc
7
7
8
8
url = http://readthedocs.org
9
- classifiers =
9
+ classifiers =
10
10
Development Status :: 5 - Production/Stable
11
11
Environment :: Web Environment
12
12
Intended Audience :: Developers
You can’t perform that action at this time.
0 commit comments