Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
tev
plugin_event
Commits
ef1812a0
Commit
ef1812a0
authored
Feb 24, 2016
by
LE GAC Renaud
Browse files
Correct web2py path running sphinx within a docker image.
parent
c34e2aac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
docs/api/conf.py
docs/api/conf.py
+8
-1
No files found.
docs/api/conf.py
View file @
ef1812a0
...
...
@@ -32,7 +32,14 @@ def get_version():
# documentation root, use os.path.abspath to make it absolute, like shown here.
# sys.path.insert(0, os.path.abspath('.'))
sys
.
path
.
insert
(
0
,
os
.
path
.
abspath
(
'../../modules'
))
sys
.
path
.
insert
(
0
,
os
.
path
.
abspath
(
'../../../web2py'
))
# docker image
if
os
.
path
.
exists
(
"/opt/web2py"
):
sys
.
path
.
insert
(
0
,
os
.
path
.
abspath
(
'/opt/web2py'
))
# older running environment
else
:
sys
.
path
.
insert
(
0
,
os
.
path
.
abspath
(
'../../../web2py'
))
# -- General configuration -----------------------------------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment