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
9c9de016
Commit
9c9de016
authored
Jan 21, 2014
by
Ned Batchelder
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2248 from edx/ned/fix-readthedocs-dev-doc
Really fix readthedocs.
parents
55a6cbb9
c48ac592
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
2 deletions
+27
-2
docs/en_us/developers/source/conf.py
+27
-2
No files found.
docs/en_us/developers/source/conf.py
View file @
9c9de016
...
@@ -32,7 +32,10 @@ sys.path.insert(0, root)
...
@@ -32,7 +32,10 @@ sys.path.insert(0, root)
sys
.
path
.
append
(
root
/
"common/djangoapps"
)
sys
.
path
.
append
(
root
/
"common/djangoapps"
)
sys
.
path
.
append
(
root
/
"common/lib"
)
sys
.
path
.
append
(
root
/
"common/lib"
)
sys
.
path
.
append
(
root
/
"common/lib/capa"
)
sys
.
path
.
append
(
root
/
"common/lib/chem"
)
sys
.
path
.
append
(
root
/
"common/lib/sandbox-packages"
)
sys
.
path
.
append
(
root
/
"common/lib/sandbox-packages"
)
sys
.
path
.
append
(
root
/
"common/lib/xmodule"
)
sys
.
path
.
append
(
root
/
"lms/djangoapps"
)
sys
.
path
.
append
(
root
/
"lms/djangoapps"
)
sys
.
path
.
append
(
root
/
"lms/lib"
)
sys
.
path
.
append
(
root
/
"lms/lib"
)
sys
.
path
.
append
(
root
/
"cms/djangoapps"
)
sys
.
path
.
append
(
root
/
"cms/djangoapps"
)
...
@@ -68,7 +71,6 @@ htmlhelp_basename = 'edXDocs'
...
@@ -68,7 +71,6 @@ htmlhelp_basename = 'edXDocs'
# --- Mock modules ------------------------------------------------------------
# --- Mock modules ------------------------------------------------------------
# Mock all the modules that the readthedocs build can't import
# Mock all the modules that the readthedocs build can't import
import
mock
class
Mock
(
object
):
class
Mock
(
object
):
def
__init__
(
self
,
*
args
,
**
kwargs
):
def
__init__
(
self
,
*
args
,
**
kwargs
):
...
@@ -92,12 +94,35 @@ class Mock(object):
...
@@ -92,12 +94,35 @@ class Mock(object):
# Make sure you've tried including the relevant package in
# Make sure you've tried including the relevant package in
# docs/share/requirements.txt before adding to this list.
# docs/share/requirements.txt before adding to this list.
MOCK_MODULES
=
[
MOCK_MODULES
=
[
'numpy'
,
'bson'
,
'bson.errors'
,
'bson.objectid'
,
'dateutil'
,
'dateutil.parser'
,
'fs'
,
'fs.errors'
,
'fs.osfs'
,
'lazy'
,
'mako'
,
'mako.template'
,
'matplotlib'
,
'matplotlib'
,
'matplotlib.pyplot'
,
'matplotlib.pyplot'
,
'mock'
,
'numpy'
,
'oauthlib'
,
'oauthlib.oauth1'
,
'oauthlib.oauth1.rfc5849'
,
'PIL'
,
'pymongo'
,
'pyparsing'
,
'pysrt'
,
'requests'
,
'scipy.interpolate'
,
'scipy.interpolate'
,
'scipy.constants'
,
'scipy.constants'
,
'scipy.optimize'
,
'scipy.optimize'
,
'yaml'
,
'webob'
,
'webob.multidict'
,
]
]
if
on_rtd
:
if
on_rtd
:
...
...
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