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().
Robert Lehmann
Move node filtering into extract_messages.
Robert Lehmann
Distribute UUIDs over multiple comment lines.
Robert Lehmann
Comment and stretch out code. Also leverage the fact that we ignore Sphinx' built-in messages for catalogs.
Robert Lehmann
Close #630: Revamp data structures used for message catalogs.
SHIBUKAWA Yoshiki
skip literal_block
Robert Lehmann
Refactor comment generating code for message catalogs. Bring back UUIDs in comments too. Overrides kou's 7b77dd3717af.
Georg Brandl
The math extension displaymath directives now support ``name`` in addition to ``label`` for giving the equation label, for compatibility with Docutils.
pv
autosummary: obtain import prefixes from environment also in the autolink role
pv
autosummary/generate: slightly more robust parsing in find_autosummary_in_lines Skip non-content lines of autosummary:: directives, if they have a greater leading indent.
pv
autosummary: minor doc clarifications
pv
autosummary: respect py:currentclass when looking up Python objects This makes autosummary directives inside classes to work properly.
pv
autosummary: fix get_documenter to handle its *parent* parameter correctly The *parent* parameter is a Python object, and should not be passed on to Documenter.can_document_member, which expects a Documenter instance.
pv
autosummary: improve robustness of the signature compactification
Robert Lehmann
Closes #724: Add license for Underscore.js.
Gary Wilson Jr.
Fixed a couple links in the documentation for the contents docutils directive that were referring to the incorrect anchor.
Georg Brandl
Recompile German catalog.
Georg Brandl
Merge with 1.0.
Georg Brandl
Close #712: fix indentation error in German translation.
Georg Brandl
Add Nepali translation, thanks to Arati Sharma.
Georg Brandl
Update compiled japanese catalog.
k...@cozmixng.org
[ja] update Japanese translations.
Georg Brandl
merge with 1.0
Georg Brandl
Closes #657: viewcode now works correctly with source files that have non-ASCII encoding.
Georg Brandl
Closes #658: fix error in script_files example and document css_files.
Georg Brandl
Closes #669: Respect the ``noindex`` flag option in py:module directives.
Georg Brandl
Closes #675: Fix IndexErrors when including nonexisting lines with :rst:dir:`literalinclude`.
  1. Prev
  2. Next