Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
8997ed03
Commit
8997ed03
authored
Jul 10, 2013
by
Ned Batchelder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Suggestions from James: mitx is old-school, as is autogeneration.
parent
55d4d980
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
19 deletions
+12
-19
docs/source/conf.py
+12
-19
No files found.
docs/source/conf.py
View file @
8997ed03
# -*- coding: utf-8 -*-
"""
EdX documentation build configuration file
"""
#pylint: disable=C0103
#pylint: disable=W0622
#pylint: disable=W0212
#pylint: disable=W0613
""" EdX documentation build configuration file, created by
sphinx-quickstart on Fri Nov 2 15:43:00 2012.
This file is execfile()d with the current directory set to its containing dir.
Note that not all possible configuration values are present in this
autogenerated file.
All configuration values have a default; values that are commented out
serve to show the default."""
import
sys
import
os
...
...
@@ -22,16 +15,16 @@ import os
# documentation root, use os.path.abspath to make it absolute, like shown here.
# sys.path.insert(0, os.path.abspath('.'))
mitx
=
os
.
path
.
abspath
(
'../..'
)
root
=
os
.
path
.
abspath
(
'../..'
)
sys
.
path
.
append
(
mitx
)
sys
.
path
.
append
(
os
.
path
.
join
(
mitx
,
"common/djangoapps"
))
sys
.
path
.
append
(
os
.
path
.
join
(
mitx
,
"common/lib"
))
sys
.
path
.
append
(
os
.
path
.
join
(
mitx
,
"common/lib/sandbox-packages"
))
sys
.
path
.
append
(
os
.
path
.
join
(
mitx
,
"lms/djangoapps"
))
sys
.
path
.
append
(
os
.
path
.
join
(
mitx
,
"lms/lib"
))
sys
.
path
.
append
(
os
.
path
.
join
(
mitx
,
"cms/djangoapps"
))
sys
.
path
.
append
(
os
.
path
.
join
(
mitx
,
"cms/lib"
))
sys
.
path
.
append
(
root
)
sys
.
path
.
append
(
os
.
path
.
join
(
root
,
"common/djangoapps"
))
sys
.
path
.
append
(
os
.
path
.
join
(
root
,
"common/lib"
))
sys
.
path
.
append
(
os
.
path
.
join
(
root
,
"common/lib/sandbox-packages"
))
sys
.
path
.
append
(
os
.
path
.
join
(
root
,
"lms/djangoapps"
))
sys
.
path
.
append
(
os
.
path
.
join
(
root
,
"lms/lib"
))
sys
.
path
.
append
(
os
.
path
.
join
(
root
,
"cms/djangoapps"
))
sys
.
path
.
append
(
os
.
path
.
join
(
root
,
"cms/lib"
))
# django configuration - careful here
os
.
environ
[
'DJANGO_SETTINGS_MODULE'
]
=
'lms.envs.test'
...
...
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