Commit Graph

5345 Commits

Author SHA1 Message Date
shimizukawa
87527b8558 fix too long line 2015-02-24 22:38:49 +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
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
Robert Lehmann
3eb4afaa1a Document pass-through of language in HTML templates.
Originally added in dee3e60.
2015-02-14 10:02:04 +01:00
shimizukawa
c812c40393 update CHANGES for previous 2 commits 2015-02-14 17:09:39 +09:00
shimizukawa
8ed5272a61 fix: bizstyle theme: a complicated css query to modify long title in the breadcrumb doesn't work with some mobile browser (iPhone5s safari). Now basic layout has class "nav-item" and "nav-item-N" (like nav-item-0, 1, 2...) for breadcrumb items. 2015-02-14 16:53:40 +09:00
shimizukawa
7475ac14f4 fix: bizstyle theme: nested long title pages make long breadcrumb that breaks page layout. 2015-02-14 16:25:33 +09:00
Rob Ruana
d51eeab07b Closes #1716: Adds "Yield" alias for "Yields" section in napoleon extension 2015-02-09 03:49:31 -05:00
Georg Brandl
5d30675e5b Merge pull request #1715 from jakobandersen/cpp-enum-support
C++, enum support and fix of HTML search.
2015-02-09 07:32:24 +01:00
Rob Ruana
c428f9353e Closes #1484: add tests to confirm namedtuple subclasses are handled correctly by napoleon extension 2015-02-09 01:28:57 -05:00
Jakob Lykke Andersen
3d6bae0cde Merge from master 2015-02-08 23:48:31 +01:00
Jakob Lykke Andersen
46cd97873c Fix C++ tests. 2015-02-08 23:22:31 +01:00
Jakob Lykke Andersen
44ee988981 C++, update docs and enums. Fixes sphinx-doc/sphinx#772. 2015-02-08 23:09:44 +01:00
Jakob Lykke Andersen
fd84a3d602 Update CHANGES 2015-02-08 21:40:23 +01:00
Georg Brandl
4b396d4232 Merge pull request #1707 from Eric89GXL/context-encoding
FIX: Use context managers and explicit encoding
2015-02-08 18:48:18 +01:00
Eric89GXL
01166199a0 FIX: Use codecs module 2015-02-08 09:41:19 -08:00
Eric89GXL
13438dc0d1 FIX: Safer decoding 2015-02-08 09:16:31 -08:00
Georg Brandl
cc87d8aa85 Try to work around travis connection issues, see travis-ci/travis-ci#2389. 2015-02-08 09:58:27 +01:00
Georg Brandl
39bcd5157e Merge pull request #1712 from IanLee1521/qs_todo
Add todo_include_todo into generated quickstart config
2015-02-08 09:57:51 +01:00
Georg Brandl
90a0b6ec06 Merge pull request #1713 from IanLee1521/qs_config_reuse
Reduce the number of scattered quickstart config string replacements
2015-02-07 16:05:10 +01:00