Commit Graph

5363 Commits

Author SHA1 Message Date
shimizukawa
332a912a47 fix http/https 2015-02-28 01:02:41 +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
Georg Brandl
ea97e6658c Linkcheck now works with non-ASCII URIs.
Fixes: #1739
2015-02-25 12:49:45 +01:00
Georg Brandl
7189a2cf2c Add Python implementation (CPython, Jython, PyPy) to traceback file. 2015-02-25 12:49:45 +01:00
Georg Brandl
d63055bcd6 Merge pull request #1741 from jakobandersen/master
Fix sphinx-doc/sphinx#1737.
2015-02-25 11:59:32 +01:00
Jakob Lykke Andersen
5047098d24 Fix sphinx-doc/sphinx#1737.
Also do better error handling when an outer name could not be parsed.
2015-02-25 11:17:12 +01:00
Georg Brandl
7e119135e5 Merge pull request #1740 from jakobandersen/cpp-fix-1738
C++ fix for #1738
2015-02-25 10:39:43 +01:00
Jakob Lykke Andersen
370048531c Merge fix sphinx-doc/sphinx#1738. 2015-02-25 10:08:44 +01:00
shimizukawa
720ef3dafe display pip install method for develop version 2015-02-25 16:25:50 +09:00
shimizukawa
f5a31a759b use git to get revision for __version__ 2015-02-25 00:17:41 +09:00
shimizukawa
77b76439cc update pot 2015-02-25 00:10:58 +09:00
shimizukawa
3c32b62d50 bump version 2015-02-25 00:10:48 +09:00
shimizukawa
567af23641 release 1.3b3 2015-02-24 22:51:25 +09:00
shimizukawa
87527b8558 fix too long line 2015-02-24 22:38:49 +09:00
Jakob Lykke Andersen
b8e324fb2f Fixes sphinx-doc/sphinx#1738. 2015-02-24 09:49:43 +01: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
Robert Lehmann
5c6411bfb1 Also restore pycompat.class_types and deprecate it properly. 2015-02-24 07:48:14 +01:00
Georg Brandl
5d845a94a2 theming: make warning a bit more explicit 2015-02-23 20:18:39 +01:00
shimizukawa
06944af540 refs #1346, fix missing test requires, fix tests (need html_theme='classic') 2015-02-24 01:20:05 +09:00
shimizukawa
3037d14a0d fix missing test requires 2015-02-24 01:06:29 +09: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
Takeshi KOMIYA
b0e77e4c75 Use fully_normalize_name() instead of str.lower() 2015-02-22 23:20:00 +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
28dc3ab053 versioning_conditions for uuid/i18n uses is_translatable instead of nodes.TextElement directly. 2015-02-22 19:03:34 +09:00
shimizukawa
67dd1c0d03 fix bug for the change c53fa4b 2015-02-22 18:30:45 +09:00
shimizukawa
c773692366 refactoring: extract 'translatable_node' checking code from extract_messages. 2015-02-22 16:11:05 +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
80aa24e7c4 Add a site for the example page 2015-02-21 07:00:58 +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
Rob Ruana
e968a6c1a1 Fix Google Docstring argument regex in Napoleon. Argument type matching is now more permissive 2015-02-15 18:51:29 -05:00
shimizukawa
5b0bb8c1e1 Fix bug refs #1722. Circler toctree cause infinite loop. 2015-02-15 18:01:43 +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
2c22f737bd Slated for removal in 1.4. 2015-02-14 11:27:40 +01:00
Robert Lehmann
b9cd85ad41 Also restore pycompat.{String,Bytes}IO. 2015-02-14 11:16:41 +01:00
Robert Lehmann
67ea6ddb97 Warn when accessing deprecated attributes.
Previously, only calling a deprecated function issued a warning.
Attributes (like sphinx.util.pycompat.class_types) would never warn.
2015-02-14 11:11:37 +01:00
Robert Lehmann
b61640959d Restore pycompat API. Fixes #1726.
All compatibility helpers which have been in this module should be
resurrected -- and, at the same time, deprecated -- to grant
backwards-compatibility with older Sphinx versions to third-party
extensions.

This does NOT restore compatibility with any older Python versions.
2015-02-14 10:17:04 +01:00
Robert Lehmann
193aadb140 Fix warning to report actual line of occurrence. 2015-02-14 10:15:51 +01:00
Robert Lehmann
f69e6ed4eb Fix ambiguous reference. 2015-02-14 10:13:37 +01:00