Make "make check" happy.

This commit is contained in:
Georg Brandl 2009-10-26 09:56:14 +01:00
parent 3f31047b20
commit 13478a4986
4 changed files with 8 additions and 5 deletions

View File

@ -233,8 +233,10 @@ def find_autosummary_in_lines(lines, module=None, filename=None):
corresponding options set. corresponding options set.
""" """
autosummary_re = re.compile(r'^\s*\.\.\s+autosummary::\s*') autosummary_re = re.compile(r'^\s*\.\.\s+autosummary::\s*')
automodule_re = re.compile(r'^\s*\.\.\s+automodule::\s*([A-Za-z0-9_.]+)\s*$') automodule_re = re.compile(
module_re = re.compile(r'^\s*\.\.\s+(current)?module::\s*([a-zA-Z0-9_.]+)\s*$') r'^\s*\.\.\s+automodule::\s*([A-Za-z0-9_.]+)\s*$')
module_re = re.compile(
r'^\s*\.\.\s+(current)?module::\s*([a-zA-Z0-9_.]+)\s*$')
autosummary_item_re = re.compile(r'^\s+(~?[_a-zA-Z][a-zA-Z0-9_.]*)\s*.*?') autosummary_item_re = re.compile(r'^\s+(~?[_a-zA-Z][a-zA-Z0-9_.]*)\s*.*?')
toctree_arg_re = re.compile(r'^\s+:toctree:\s*(.*?)\s*$') toctree_arg_re = re.compile(r'^\s+:toctree:\s*(.*?)\s*$')
template_arg_re = re.compile(r'^\s+:template:\s*(.*?)\s*$') template_arg_re = re.compile(r'^\s+:template:\s*(.*?)\s*$')

View File

@ -333,7 +333,8 @@ devhelp:
\t@echo "Build finished." \t@echo "Build finished."
\t@echo "To view the help file:" \t@echo "To view the help file:"
\t@echo "# mkdir -p $$HOME/.local/share/devhelp/%(project_fn)s" \t@echo "# mkdir -p $$HOME/.local/share/devhelp/%(project_fn)s"
\t@echo "# ln -s %(rbuilddir)s/devhelp $$HOME/.local/share/devhelp/%(project_fn)s" \t@echo "# ln -s %(rbuilddir)s/devhelp\
$$HOME/.local/share/devhelp/%(project_fn)s"
\t@echo "# devhelp" \t@echo "# devhelp"
latex: latex: