Skip to content

WIP: Parallel docs build #5597

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Set metadata in more extensions
  • Loading branch information
mdboom committed Dec 22, 2015
commit ef972d67aa52a1c683a7a9a36a3b7da1340dd53d
3 changes: 3 additions & 0 deletions doc/sphinxext/gen_gallery.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,3 +168,6 @@ def setup(app):
app.add_config_value('mpl_example_sections', [], True)
except sphinx.errors.ExtensionError:
pass # mpl_example_sections already defined

metadata = {'parallel_read_safe': True, 'parallel_write_safe': True}
return metadata
3 changes: 3 additions & 0 deletions doc/sphinxext/gen_rst.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,3 +169,6 @@ def setup(app):
app.add_config_value('mpl_example_sections', [], True)
except sphinx.errors.ExtensionError:
pass # mpl_example_sections already defined

metadata = {'parallel_read_safe': True, 'parallel_write_safe': True}
return metadata
6 changes: 4 additions & 2 deletions doc/sphinxext/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def ghcommit_role(name, rawtext, text, lineno, inliner, options={}, content=[]):

def setup(app):
"""Install the plugin.

:param app: Sphinx application context.
"""
app.info('Initializing GitHub plugin')
Expand All @@ -152,4 +152,6 @@ def setup(app):
app.add_role('ghuser', ghuser_role)
app.add_role('ghcommit', ghcommit_role)
app.add_config_value('github_project_url', None, 'env')
return

metadata = {'parallel_read_safe': True, 'parallel_write_safe': True}
return metadata