Commit Graph

5269 Commits

Author SHA1 Message Date
Chris Lamb
20546b17c0 Ensure genindex output is deterministic.
See also <https://github.com/sphinx-doc/sphinx/pull/1694>

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2015-01-31 20:21:21 +00:00
Georg Brandl
018c3b6532 Merge pull request #1696 from orbisvicis/master
Fix sphinx.ext.inheritance_diagram on python 3
2015-01-29 19:34:22 +01:00
Yclept Nemo
927e84dd63 Fix sphinx.ext.inheritance_diagram on python 3 2015-01-29 12:58:12 -05:00
Georg Brandl
68352242f2 Merge pull request #1694 from mitya57/master
Remove non-determinism
2015-01-28 22:49:43 +01:00
Dmitry Shachnev
d24bd73d0c Remove non-determinism
To enable packages using Sphinx to build reproducibly, its output
needs to be the same from one build to another.

Its output now strips memory references such as:

  <__main__.A at 0x7f68cb685710>

In addition, various generated files (objects.inv, searchindex.js,
translations) are now written with their keys in a determinstic order.

Based on a patch by Chris Lamb <lamby@debian.org>.
2015-01-28 21:24:36 +03:00
Georg Brandl
81ffb36772 Merge pull request #1692 from orbisvicis/master
Class "BuildDoc": support "copyright"
2015-01-26 08:40:55 +01:00
Yclept Nemo
fdad400ccd BuildDoc: remove "author" and "date" options 2015-01-25 17:04:11 -05:00
Yclept Nemo
ffe331d822 Class "BuildDoc": support "copyright"
Adds "author", "date", and "copyright" options. If "copyright" is not
provided but either "author" or "date" are, generate the copyright
string using them.
2015-01-25 16:12:38 -05:00
Georg Brandl
8e1150c956 Merge pull request #1691 from hickford/patch-1
Fix broken link to Mathjax
2015-01-25 21:50:33 +01:00
Matt Hickford
2ebfd1dd30 Fix broken link to Mathjax
Consistent with http://docs.mathjax.org/en/latest/start.html#secure-access-to-the-cdn
2015-01-25 20:35:00 +00:00
Georg Brandl
309e0169b0 Adapt test after env-updated change. 2015-01-25 16:25:32 +01:00
Georg Brandl
accb32ff07 The `env-updated` event can now return a value, which is interpreted as an iterable of additional docnames that need to be rewritten.
(reference: #1683)
2015-01-25 16:13:04 +01:00
Georg Brandl
d6e1b58b7f Merge branch 'stable' 2015-01-25 16:07:26 +01:00
Georg Brandl
398a207b75 Closes #1642: fix only one search result appearing in Chrome. 2015-01-25 16:07:18 +01:00
Georg Brandl
d28b6ef2c3 Fix traceback with duplicate toctree entries. 2015-01-25 11:22:25 +01:00
Georg Brandl
23c0d3d42a Fixes #1690: toctrees with `glob` option now can also contain entries for single documents with explicit title. 2015-01-25 11:07:55 +01:00
Georg Brandl
9ee14db102 Fixes #1688: actually emit warnings when doing parallel build 2015-01-25 10:59:09 +01:00
Georg Brandl
2b6f7f4afe Closes #1687: for linkcheck purposes, HTTP 401 Unauthorized is working. 2015-01-19 19:50:31 +01:00
Takeshi KOMIYA
198731f154 Update CHANGES for b563fa4 2015-01-18 16:08:46 +09:00
Takeshi KOMIYA
9ca4bc7081 Merge branch '1620_change_VerbatimBorderColor' (Close #1620) 2015-01-18 15:53:52 +09:00
Takeshi KOMIYA
b563fa44f2 Fix #1620: Use VerbatimBorderColor to add frame to code-block in LaTeX 2015-01-18 15:32:17 +09:00
Georg Brandl
a32daf8aff Merge branch 'stable' 2015-01-17 11:24:50 +01:00
Georg Brandl
f2b910a7b2 Closes #1680: fix botched error check for nonexisting environment file 2015-01-17 11:24:14 +01:00
Georg Brandl
14b4a56bec Closes #1680: fix botched error check for nonexisting environment file 2015-01-17 11:23:55 +01:00
shimizukawa
d9f192b3bf Merge branch 'stable' 2015-01-17 16:05:00 +09:00
shimizukawa
3c872e66a4 Fixes #1686: ifconfig directive doesn't care about default config values. 2015-01-17 16:01:53 +09:00
shimizukawa
668fa9935b remove debug print. sorry :( 2015-01-17 14:38:14 +09:00
shimizukawa
e722258079 Fix: on windows, make-mode didn't work on Win32 platform if sphinx was invoked as python sphinx-build.py. 2015-01-17 14:37:09 +09:00
Georg Brandl
991d2455e8 Merge branch 'stable' 2015-01-15 08:41:24 +01:00
Georg Brandl
28683a36c4 Closes #1673: fix crashes with nitpick_ignore and :doc: references. 2015-01-15 08:41:18 +01:00
Georg Brandl
23514cb715 Merge remote-tracking branch 'refs/remotes/origin/master' 2015-01-15 08:28:17 +01:00
Georg Brandl
2f285f5b68 Merge branch 'stable' 2015-01-15 08:28:02 +01:00
Georg Brandl
5bee0aac0c #1674: do not crash if module.__all__ is not according to spec 2015-01-15 08:27:47 +01:00
Georg Brandl
ab546acef0 #1674: do not crash if module.__all__ is not according to spec 2015-01-15 08:26:40 +01:00
Rob Ruana
9df7b53782 Closes #1670: Fix napoleon handling of *args and **kwargs parameters 2015-01-12 17:08:51 -05:00
Georg Brandl
dee3e60ee6 Closes #1669: make "language" available in HTML templates. 2015-01-10 19:40:59 +01:00
Georg Brandl
0071ac8399 Test fixup. 2015-01-09 18:41:09 +01:00
Georg Brandl
12bf3b69ce napoleon: fix handling of blocks when there is a prefix but no line content
Closes #1542.
2015-01-08 08:12:17 +01:00
Luc Saffre
21b838454f autodoc: use sourcename also for content generated by autodoc itself
Fixes #1061
Fixes #1656
2015-01-06 17:41:05 +01:00
Georg Brandl
b9fe829e02 highlighting: fix potential TypeError 2015-01-06 17:10:43 +01:00
Georg Brandl
81313e903b Merge pull request #1666 from EricFromCanada/highlight_options
Add highlight_options configuration value
2015-01-06 17:09:29 +01:00
EricFromCanada
0f0ffbb982 revised pygments_style description 2015-01-06 10:51:54 -05:00
shimizukawa
a9c1ab9828 Merge branch 'stable'
Conflicts:
	setup.py
2015-01-06 22:26:56 +09:00
shimizukawa
ddb7c9945d Exclude 'tests' instead of 'test'. Sphinx-1.2.3 wheel package includes 'tests' directory. It might be happen by this wrong parameter. 2015-01-06 22:23:05 +09:00
Georg Brandl
a53e1051fe Merge pull request #1667 from EricFromCanada/latex-multirow
Fix LaTeX writer's handling of multirow table cells
2015-01-06 10:49:24 +01:00
EricFromCanada
5d96523f7d Fix LaTeX writer's handling of multirow table cells
Originally the LaTeX writer could only handle one multirow cell per
row. This commit fixes that and adds support for cells spanning both
rows and columns.
2015-01-06 02:06:58 -05:00
EricFromCanada
3111f7b6b3 rewording of highlight_options description 2015-01-05 23:22:19 -05:00
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
649e2cd41b Merge pull request #1664 from ionelmc/patch-1
Correct few "typos".
2015-01-03 23:52:13 +01:00
Ionel Cristian Mărieș
5d64cc0cc5 Correct few "typos". 2015-01-04 00:16:39 +02:00