Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
6ab60256
"examples/experimental/multistep/reader_allsteps.cpp" did not exist on "f9ada315b072278c293936da56139113d4af69c5"
Commit
6ab60256
authored
9 years ago
by
Martyn Gigg
Browse files
Options
Downloads
Patches
Plain Diff
Fix runsphinx.py for vanilla Python
parent
d31c0d83
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Code/Mantid/docs/runsphinx.py.in
+6
-2
6 additions, 2 deletions
Code/Mantid/docs/runsphinx.py.in
with
6 additions
and
2 deletions
Code/Mantid/docs/runsphinx.py.in
+
6
−
2
View file @
6ab60256
...
@@ -76,8 +76,12 @@ def main(sysarg):
...
@@ -76,8 +76,12 @@ def main(sysarg):
# causes Sphinx to fall over. We need to put it back while processing
# causes Sphinx to fall over. We need to put it back while processing
# the documentation
# the documentation
from pygments.lexer import RegexLexer
from pygments.lexer import RegexLexer
# Reverse monkeypatch using unpatched function stored in mantid_ipython_widget!
# Reverse monkeypatch using unpatched function stored in mantid_ipython_widget
RegexLexer.get_tokens_unprocessed = RegexLexer.get_tokens_unprocessed_unpatched
# if it is available
try:
RegexLexer.get_tokens_unprocessed = RegexLexer.get_tokens_unprocessed_unpatched
except AttributeError:
pass
try:
try:
return_value = sphinx.main(argv)
return_value = sphinx.main(argv)
finally:
finally:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment