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
c48ac592
Commit
c48ac592
authored
Jan 21, 2014
by
Ned Batchelder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Really fix readthedocs.
parent
62ff82c5
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 @
c48ac592
...
...
@@ -32,7 +32,10 @@ sys.path.insert(0, root)
sys
.
path
.
append
(
root
/
"common/djangoapps"
)
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/xmodule"
)
sys
.
path
.
append
(
root
/
"lms/djangoapps"
)
sys
.
path
.
append
(
root
/
"lms/lib"
)
sys
.
path
.
append
(
root
/
"cms/djangoapps"
)
...
...
@@ -68,7 +71,6 @@ htmlhelp_basename = 'edXDocs'
# --- Mock modules ------------------------------------------------------------
# Mock all the modules that the readthedocs build can't import
import
mock
class
Mock
(
object
):
def
__init__
(
self
,
*
args
,
**
kwargs
):
...
...
@@ -92,12 +94,35 @@ class Mock(object):
# Make sure you've tried including the relevant package in
# docs/share/requirements.txt before adding to this list.
MOCK_MODULES
=
[
'numpy'
,
'bson'
,
'bson.errors'
,
'bson.objectid'
,
'dateutil'
,
'dateutil.parser'
,
'fs'
,
'fs.errors'
,
'fs.osfs'
,
'lazy'
,
'mako'
,
'mako.template'
,
'matplotlib'
,
'matplotlib.pyplot'
,
'mock'
,
'numpy'
,
'oauthlib'
,
'oauthlib.oauth1'
,
'oauthlib.oauth1.rfc5849'
,
'PIL'
,
'pymongo'
,
'pyparsing'
,
'pysrt'
,
'requests'
,
'scipy.interpolate'
,
'scipy.constants'
,
'scipy.optimize'
,
'yaml'
,
'webob'
,
'webob.multidict'
,
]
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