-
Notifications
You must be signed in to change notification settings - Fork 333
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #560 from edx/markhoeber-doc2270
Adopt Intersphinx
- Loading branch information
Showing
317 changed files
with
1,169 additions
and
4,567 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,16 @@ | ||
# -*- coding: utf-8 -*- | ||
# | ||
|
||
import sys, os | ||
|
||
# on_rtd is whether we are on readthedocs.org, this line of code grabbed from docs.readthedocs.org | ||
on_rtd = os.environ.get('READTHEDOCS', None) == 'True' | ||
|
||
if not on_rtd: # only import and set the theme if we're building docs locally | ||
import sphinx_rtd_theme | ||
html_theme = 'sphinx_rtd_theme' | ||
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
sys.path.append(os.path.abspath('../../../')) | ||
sys.path.append(os.path.abspath('../../')) | ||
|
||
#from docs.shared.conf import * | ||
|
||
sys.path.insert(0, os.path.abspath('.')) | ||
|
||
master_doc = 'index' | ||
sys.path.append('../../../') | ||
|
||
# Add any paths that contain templates here, relative to this directory. | ||
#templates_path.append('source/_templates') | ||
from shared.conf import * | ||
|
||
# Add any paths that contain custom static files (such as style sheets) here, | ||
# relative to this directory. They are copied after the builtin static files, | ||
# so a file named "default.css" will overwrite the builtin "default.css". | ||
#html_static_path.append('source/_static') | ||
html_theme = 'edx_theme' | ||
|
||
html_theme_path = ['../../_themes'] | ||
|
||
# General information about the project. | ||
html_favicon = '../../_themes/edx_theme/static/css/favicon.ico' | ||
project = u'Creating a Peer Assessment' | ||
copyright = u'2015, edX' | ||
|
||
# The short X.Y version. | ||
version = '' | ||
# The full version, including alpha/beta/rc tags. | ||
release = '' | ||
exclude_patterns = ['PeerAssessment.rst', 'PeerAssessment_Students.rst', 'read_me.rst'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,69 +1,21 @@ | ||
# -*- coding: utf-8 -*- | ||
# | ||
|
||
import sys, os | ||
|
||
# on_rtd is whether we are on readthedocs.org, this line of code grabbed from docs.readthedocs.org | ||
on_rtd = os.environ.get('READTHEDOCS', None) == 'True' | ||
|
||
# Add any paths that contain templates here, relative to this directory. | ||
templates_path = ['_templates'] | ||
sys.path.append('../../../') | ||
|
||
master_doc = 'index' | ||
from shared.conf import * | ||
|
||
# The suffix of source filenames. | ||
source_suffix = '.rst' | ||
html_theme = 'edx_theme' | ||
|
||
# The name of the Pygments (syntax highlighting) style to use. | ||
pygments_style = 'sphinx' | ||
html_theme_path = ['../../_themes'] | ||
|
||
html_favicon = '../../_themes/edx_theme/static/css/favicon.ico' | ||
|
||
extensions = ['sphinx.ext.ifconfig'] | ||
project = u'Building and Running an edX Course' | ||
|
||
tags.add('Partners') | ||
|
||
product = 'Partners' | ||
|
||
def setup(app): | ||
app.add_config_value('product', '', True) | ||
|
||
# Add any paths that contain templates here, relative to this directory. | ||
#templates_path.append('source/_templates') | ||
|
||
# Add any paths that contain custom static files (such as style sheets) here, | ||
# relative to this directory. They are copied after the builtin static files, | ||
# so a file named "default.css" will overwrite the builtin "default.css". | ||
#html_static_path.append('source/_static') | ||
|
||
|
||
# General information about the project. | ||
project = u'Building and Running an edX Course' | ||
copyright = u'2015, edX' | ||
|
||
# -- Options for HTML output --------------------------------------------------- | ||
|
||
# The theme to use for HTML and HTML Help pages. See the documentation for | ||
# a list of builtin themes. | ||
# html_theme = 'default' | ||
html_theme = 'edx_theme' | ||
|
||
# Add any paths that contain custom themes here, relative to this directory. | ||
#html_theme_path = [] | ||
html_theme_path = ['../../_themes'] | ||
|
||
html_favicon = '../../_themes/edx_theme/static/css/favicon.ico' | ||
|
||
#html_use_smartypants = True | ||
html_use_smartypants = True | ||
|
||
|
||
if on_rtd: | ||
html_context = { | ||
"on_rtd" : on_rtd, | ||
"google_analytics_id" : '', | ||
"disqus_shortname" : 'edx', | ||
"github_base_account" : 'edx', | ||
"github_project" : 'edx-documentation', | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,14 @@ | ||
# -*- coding: utf-8 -*- | ||
# | ||
|
||
import sys, os | ||
|
||
# on_rtd is whether we are on readthedocs.org, this line of code grabbed from docs.readthedocs.org | ||
on_rtd = os.environ.get('READTHEDOCS', None) == 'True' | ||
|
||
# Add any paths that contain templates here, relative to this directory. | ||
templates_path = ['_templates'] | ||
|
||
master_doc = 'index' | ||
|
||
# The suffix of source filenames. | ||
source_suffix = '.rst' | ||
|
||
# The name of the Pygments (syntax highlighting) style to use. | ||
pygments_style = 'sphinx' | ||
|
||
|
||
|
||
# Add any paths that contain templates here, relative to this directory. | ||
#templates_path.append('source/_templates') | ||
sys.path.append('../../../') | ||
|
||
# Add any paths that contain custom static files (such as style sheets) here, | ||
# relative to this directory. They are copied after the builtin static files, | ||
# so a file named "default.css" will overwrite the builtin "default.css". | ||
#html_static_path.append('source/_static') | ||
from shared.conf import * | ||
|
||
|
||
# General information about the project. | ||
project = u'edX Research Guide' | ||
copyright = u'2015, edX' | ||
|
||
# The short X.Y version. | ||
version = '' | ||
# The full version, including alpha/beta/rc tags. | ||
release = '' | ||
|
||
# -- Options for HTML output --------------------------------------------------- | ||
|
||
# The theme to use for HTML and HTML Help pages. See the documentation for | ||
# a list of builtin themes. | ||
# html_theme = 'default' | ||
html_theme = 'edx_theme' | ||
|
||
# Add any paths that contain custom themes here, relative to this directory. | ||
#html_theme_path = [] | ||
html_theme_path = ['../../_themes'] | ||
|
||
html_favicon = '../../_themes/edx_theme/static/css/favicon.ico' | ||
|
||
#html_use_smartypants = True | ||
html_use_smartypants = True | ||
|
||
if on_rtd: | ||
html_context = { | ||
"on_rtd" : on_rtd, | ||
"google_analytics_id" : '', | ||
"disqus_shortname" : 'edx', | ||
"github_base_account" : 'edx', | ||
"github_project" : 'edx-documentation', | ||
} | ||
project = u'edX Research Guide' |
Oops, something went wrong.