Commit Graph

1208 Commits

Author SHA1 Message Date
EricFromCanada
a63e4945ea Add highlight_options configuration value
This changeset adds the `highlight_options` configuration value, which
specifies a dict of key-value pairs to pass to the Pygments highlighter
specified with `highlight_language`. For example, specifying
`highlight_options = {'funcnamehighlighting' : False}` for the 'php'
lexer will disable function name highlighting.
Both the HTML and LaTeX writers have been updated to include the
options when calling `highlight_block()`, as long as the currently
selected language matches what was set with `highlight_language`, i.e.
not when modified by `highlight::` or `code-block::` directives.
2015-01-05 12:58:43 -05:00
Georg Brandl
91887b0183 Merge branch 'stable' 2015-01-02 13:51:31 +01:00
Georg Brandl
a84e036622 development process updates: bb->gh, hg->git 2015-01-02 13:49:38 +01:00
Georg Brandl
fadfa5ecf7 Require newer docutils and Pygments. 2015-01-01 19:02:19 +01:00
Takayuki Shimizukawa
d4c127d93c Fix: make-mode didn't work on Win32 platform if sphinx was installed by wheel package. 2014-12-19 01:14:57 +09:00
Takayuki Shimizukawa
666fa3fd0c bump version 2014-12-05 11:03:07 +00:00
Takayuki Shimizukawa
4a28a12977 release 1.3b2 2014-12-05 10:46:18 +00:00
Takayuki Shimizukawa
edf63e1406 Fix again. Sections which depth are lower than :tocdepth: should not be shown on localtoc sidebar. Closes #1251 2014-12-05 16:42:30 +09:00
Takayuki Shimizukawa
c0a9d7740e Merged in lehmannro/sphinx-warnconfig (pull request #314)
Check configuration values for their types
2014-12-04 17:22:20 +09:00
Takayuki Shimizukawa
292abeeedb update bundled ez_setup.py for setuptools-7.0 that requires Python 2.6 or later. 2014-12-03 23:17:48 +09:00
tk0miya
d3615d9c0b Merge heads 2014-11-27 16:34:44 +09:00
tk0miya
dab10e885b Update CHANGES for PR#317 2014-11-27 16:32:35 +09:00
Takayuki Shimizukawa
c5c913ed4a Fix: rebuilding cause crash unexpectedly when source files were added. The problem appeared at fffbcba0b. 2014-11-25 10:20:10 +09:00
Georg Brandl
6c194ad56f Closes #1623: Return types specified with `:rtype:` are now turned into links if possible. 2014-11-12 11:32:21 +01:00
Georg Brandl
bbd315b82e merge with stable 2014-11-07 15:03:06 +01:00
Georg Brandl
fa09ec000f Fix :confval:autodoc_docstring_signature not working with signatures
in class docstrings.
2014-11-07 15:01:10 +01:00
Georg Brandl
d06ede265d Merge with stable. 2014-11-04 08:52:17 +01:00
Robert Lehmann
e1a211c414 Changelog for PR#314. 2014-10-31 11:14:14 +01:00
Takayuki Shimizukawa
4dd1c538d5 Fix #1610: Sphinx cause AttributeError when MeCab search option is enabled and python-mecab is not installed. 2014-10-29 01:08:47 +09:00
Georg Brandl
96ce3b1374 Closes #1597: Added possibility to return a new template name from html-page-context. 2014-10-23 07:58:23 +02:00
Takayuki Shimizukawa
7db1820d78 update CHANGES for pull request #311 2014-10-19 12:57:12 +09:00
Takayuki Shimizukawa
215c4c01c8 bump version 2014-10-09 15:37:33 +00:00
Takayuki Shimizukawa
1323770863 release 1.3b1 2014-10-09 15:05:46 +00:00
Takayuki Shimizukawa
d289870f48 rename numfig_prefix to numfig_format. later is better for the purpose. 2014-10-10 00:19:17 +09:00
Takayuki Shimizukawa
4aa4d08a0a merge with stable 2014-10-09 22:05:20 +09:00
Takayuki Shimizukawa
857422eb67 update CHANGES for pull request #303, pull request #307. 2014-10-09 21:53:09 +09:00
Takayuki Shimizukawa
b9a39f0ea0 Merged in shimizukawa/sphinx (pull request #305)
gettext speed-up. closes #1426
2014-10-09 00:59:39 +09:00
Takayuki Shimizukawa
c608af4bab Update jQuery from 1.8.3 to 1.11.1. This change includes two migrations for jQuery. Closes #1438. 2014-10-08 08:59:01 +09:00
Takayuki Shimizukawa
d7ee60571b update CHANGES for pull request #301. Closes #1583 2014-10-07 23:00:32 +09:00
Jeppe Pihl
a3745cfb5e merge 2014-10-06 10:35:33 +02:00
Takayuki Shimizukawa
fa30e7b52a If the `python-levenshtein` 3rd-party package is installed, it will improve the calculation time. refs #1426. 2014-10-05 22:25:50 +09:00
Takayuki Shimizukawa
ee98decec1 Incompatibility. Now :confval:gettext_uuid is set False by default. If False, also levenshtein calculation is disabled. refs #1426 2014-10-05 21:50:44 +09:00
Takayuki Shimizukawa
4a517af21c fix: autosummary of modules broken in Sphinx-1.2.3. closes #1585 2014-10-04 23:21:03 +09:00
Takayuki Shimizukawa
ecfeece952 pull request #299 has been merged. Add documentation for sphinx-quickstart options, update a few statement and CHANGES. Closes #1501. 2014-10-04 14:14:31 +09:00
Georg Brandl
65ae039f31 merge with stable 2014-10-01 19:59:29 +02:00
Georg Brandl
ee245c7bf1 Closes #1584: Point to master doc in HTML "top" link. 2014-10-01 19:58:36 +02:00
Jeppe Pihl
de8f428528 #1583: Allow the line numbering of the directive literalinclude to match that of the included file, using a new `lineno-match` option. 2014-09-30 00:11:28 +02:00
Takayuki Shimizukawa
86ff9589bc pull request #297 has been merged. Update CHANGES for it. Closes #1571. 2014-09-29 00:37:52 +09:00
Takayuki Shimizukawa
9d1225a35b add :confval:gettext_enables to enable extracting 'index' to gettext catalog output / applying translation catalog to generated documentation. Closes #1344 2014-09-28 21:19:54 +09:00
Takayuki Shimizukawa
6358d62718 update CHANGES for pull request #298 2014-09-28 13:05:28 +09:00
Takayuki Shimizukawa
698d2c6299 update CHANGES for pull request #296 2014-09-28 12:22:04 +09:00
Takayuki Shimizukawa
b897be5122 Now sphinx.ext.autodoc work with python-2.5 again. 2014-09-26 01:00:47 +09:00
Takayuki Shimizukawa
b7059d475d Fix: special toctree entry "self" located after another entry that also has a toctree was replaced with wrong title and link. Closes #1576
Function argument variable `toctreenode` had been overrode by local variable.
2014-09-25 00:44:27 +09:00
Takayuki Shimizukawa
91507c367b * update CHANGES for pull request #285. 2014-09-23 16:56:12 +09:00
Takayuki Shimizukawa
be97cdae1b * update CHANGES for pull request #288, #1512 2014-09-23 11:58:01 +09:00
Georg Brandl
d2b955b7f9 Closes #1568: since "centered" directly contains text children, it should be a TextElement. 2014-09-17 13:37:05 +02:00
Georg Brandl
439018a4e6 merge heads 2014-09-17 12:24:13 +02:00
Georg Brandl
9f0afa534d Exception logs now contain the last 10 messages emitted by Sphinx. 2014-09-17 12:22:14 +02:00
Takayuki Shimizukawa
7b9c9586bd sphinx.application.Sphinx.add_search_language raises AssertionError for correct type of argument. Closes #1563 2014-09-09 17:27:00 +09:00
Takayuki Shimizukawa
c884bfacab Post-release bump. 2014-09-02 00:16:50 +09:00