Commit Graph

1255 Commits

Author SHA1 Message Date
shimizukawa
ce697daca6 Closes #1745: latex builder cause maximum recursion depth exceeded when a footnote has a footnote mark itself. 2015-03-01 07:25:10 +09:00
shimizukawa
e296bdc849 The change c773692 breaks a previous gettext output that contains duplicated msgid such as "foo bar" and "version changes in 1.3: foo bar". 2015-02-28 00:34:30 +09:00
shimizukawa
1c6dcd8842 Merge branch 'source_suffix'
Conflicts:
	CHANGES
2015-02-27 21:09:15 +09:00
Jakob Lykke Andersen
b1775cbf8c Add convenience directives and roles to C++ domain
Add directive `cpp:var` and roles `cpp:var` and `cpp:any`.
Fixes sphinx-doc/sphinx#1577, fixes sphinx-doc/sphinx#1744.
2015-02-26 21:44:46 +01:00
Georg Brandl
8a273d139b Fix generating emphasis nodes without semantic reason
Roles ``ref``, ``term`` and ``menusel`` now don't generate :durole:`emphasis`
nodes anymore.  If you want to keep italic style, adapt your stylesheet.
2015-02-25 15:51:47 +01:00
shimizukawa
567af23641 release 1.3b3 2015-02-24 22:51:25 +09:00
Robert Lehmann
89c53d5a2b Merge pull request #1727 from lehmannro/restore-pycompat 2015-02-24 07:56:17 +01:00
Robert Lehmann
baf8c0dbe1 Mention pycompat in changelog. 2015-02-24 07:48:31 +01:00
shimizukawa
68021b0bd3 refs #1346. Add new default theme.
- Rename 'default' theme to 'classic'.
  - rename `themes/default` to `themes/classic`
  - add new `themes/default` theme that derives from 'classic' theme for compatibility.
- setup.py depends to 'alabaster' and 'rtd' theme.
- theming.py import and run `alabaster.get_path()` to append path for alabaster theme.
- theming.py also import and run `sphinx_rtd_theme.get_html_theme_path()` to append path.
- sphinx-quickstart will generate `html_theme = 'alabaster'`.
- If user use 'default', sphinx emit notice (WARNING) suggestion to use 'alabaster' or use 'classic'.
- add documentation for new alabaster and readthedoc theme and link to original pages:
  - https://pypi.python.org/pypi/alabaster
  - https://pypi.python.org/pypi/sphinx_rtd_theme
2015-02-24 01:01:54 +09:00
shimizukawa
b0d40ea22c Closes #1735: Use https://doc.python.org/ instead of `http protocol. It was used for sphinx.ext.intersphinx` and some documentation. 2015-02-23 04:20:35 +00:00
shimizukawa
59fedc0791 Closes #1630: resolve CSS conflicts, `div.container css target for literal block wrapper now renamed to div.literal-block-wrapper`. 2015-02-23 00:38:42 +09:00
shimizukawa
27c76fcb89 Closes #1227: Add html_auto_image_link config option to conf.py, to control scaled image link. 2015-02-22 22:04:20 +09:00
shimizukawa
bb85c1c87f refs #1235: i18n: 'uri' and 'alt' attribute on 'image' and 'figure' nodes can be translated if gettext_additional_targets has 'image'. 2015-02-22 19:35:49 +09:00
shimizukawa
0ad1c154c0 refs #1235: i18n: 'doctest-block' and 'raw' node can be translated if gettext_additional_targets has that string. 2015-02-22 15:40:01 +09:00
shimizukawa
c53fa4b369 refs #1235: i18n: 'literal-block' node can be translated if 'literal-block' is set to gettext_additional_targets. 2015-02-22 13:51:02 +09:00
shimizukawa
d5dca56ff8 The `gettext_enables config value has been renamed to gettext_additional_targets`. 2015-02-22 13:31:28 +09:00
Takeshi KOMIYA
62e0490b81 Closes #1718. :numref: does not work with capital letters in the label 2015-02-22 11:28:21 +09:00
shimizukawa
95d6c68371 Closes #1732. Localized table caption raises exception.
It is potentially bug that appears by a change 7cd470f59a
2015-02-21 12:23:26 +09:00
shimizukawa
334c4ebd9b fix broken any reference in CHANGES. 2015-02-21 11:48:07 +09:00
shimizukawa
3d3bee1c8b sphinx-quickstart now has --use-make-mode option for generating Makefile that use sphinx make-mode. 2015-02-17 21:42:27 +09:00
shimizukawa
a9bcff7a26 Closes #1722. Restore `toctree()` template function behavior that was changed at 1.3b1. 2015-02-15 16:49:03 +09:00
Robert Lehmann
f69e6ed4eb Fix ambiguous reference. 2015-02-14 10:13:37 +01:00
shimizukawa
c812c40393 update CHANGES for previous 2 commits 2015-02-14 17:09:39 +09:00
Jakob Lykke Andersen
3d6bae0cde Merge from master 2015-02-08 23:48:31 +01:00
Jakob Lykke Andersen
fd84a3d602 Update CHANGES 2015-02-08 21:40:23 +01:00
Georg Brandl
bf3bdcc7f5 source_suffix can now be a list. 2015-02-08 20:13:47 +01:00
Jakob Lykke Andersen
75c30ba2af HTML search results for C++. Fixes sphinx-doc/sphinx#1591.
The C++ domain did not return the actual id of elements, but the name.
The fix is as Rapptz suggested.
2015-02-07 12:27:29 +01:00
Ian Lee
fbc87d3644 Update changelog 2015-02-07 00:05:15 -08:00
Jakob Lykke Andersen
d8a109976b Merge from master 2015-02-07 00:55:19 +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
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
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
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
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
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
Georg Brandl
dee3e60ee6 Closes #1669: make "language" available in HTML templates. 2015-01-10 19:40:59 +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
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
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
Jakob Lykke Andersen
c010b47589 C++, initial enum support (see #772) 2015-01-03 16:59:08 +01: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