Commits

Author Commit Message Labels Comments Date
Mark Lodato
add :emphasize-lines: option to source-code and literal-include Add a new option, :emphasize-lines:, to the source-code and literal-include directives. The format is the same as the :lines: option for literal-include. The resulting list of lines is passed to the Pygments formatter as 'hl_lines', which is only honored by the HTML formatter.
Mark Lodato
add 'highlight_args' option for literal_block nodes For the HTML and LaTeX writers, if 'highlight_args' is set on a literal_block node, this is taken as a dictionary of keyword arguments to pass to PygmentsBridge.highlight_block. This allows custom directives to directly set formatter options.
Mark Lodato
PygmentsBridge: pass keyword arguments to Pygments In Pygments.highlight_block, pass all extra keyword arguments, including linenos, directly to the Pygments formatter. This allows custom directives to use other Pygments features.
Mark Lodato
PygmentsBridge: construct new formatter each time Previously, we pre-constructed two different formatters, one with line numbers and one without. This made the code rather confusing and also was not scalable for options that take arguments, such as 'hl_lines'. Now, we construct a new HTMLFormatter or LatexFormatter on each call to highlight_block().
Georg Brandl
Merged in shino/sphinx (pull request #23)
Shunichi Shinohara
Print table headers not only in first page but in next pages
Branches
latex-header-in-next-pages
Georg Brandl
Merge with 1.0
Georg Brandl
Fix #637: ignore strange Emacs lock files by default.
Georg Brandl
Fix #544: allow .pyw extension for importable modules.
Georg Brandl
Fix #610: remove duplicate <h1> tags in agogo theme.
Georg Brandl
Merge with 1.0.
Georg Brandl
Fix #700: use $(MAKE) in quickstart-generated makefile.
Georg Brandl
Fix #734: make sidebar search box width consistent on all browsers.
Georg Brandl
e55ca1a50bfe for agogo.
Georg Brandl
Fix #644: remove "clear: both" for center-aligned figures in HTML.
Georg Brandl
#316: broader range of exceptions to catch while communicating with subprocess.
Georg Brandl
Fix #765: on Windows, relpath() does not always succeed.
Georg Brandl
Merge with 1.0
Georg Brandl
Fix #768: whitespace-strip JS function names.
Georg Brandl
Fix indentation.
Georg Brandl
Merge with 1.0.
Georg Brandl
Fix #767: safely encode SphinxErrors when printing to sys.stderr.
Georg Brandl
Fix #611: latex writer raised IndexError on pages with no section but a link target.
Georg Brandl
Fix #574: Improvement to Japanese LaTeX support.
Georg Brandl
Fix #659: use object start/end tag.
Julian Andres Klode
Correctly treat built-in method (method descriptors) as methods This fixes a bug where method descriptors were treated as data descriptors. As the builtin_method_descriptor type is not exported anywhere in Python, we check for the name here. As we know that it is a descriptor, this should not be a problem.
Georg Brandl
Fix #698: msgstr errors found by msgfmt -c.
Georg Brandl
Fix #706: use a custom TextWrapper instead of monkeypatching a new wordsep_re into the textwrap one.
Georg Brandl
Fix #728: escape root dir when putting it into a regex in latex/texinfo tests.
Georg Brandl
Always use longtables for autosummary.
  1. Prev
  2. Next