Commit Graph

6136 Commits

Author SHA1 Message Date
Georg Brandl
d59f23b2c8 Fix highlight languages in docs. 2016-02-14 09:37:55 +01:00
Georg Brandl
23431eaf4e viewcode: default to python3 highlighting if highlight_language is python3 2016-02-14 09:36:42 +01:00
Georg Brandl
c1b7b6f369 The default highlight language is now Python 3.
References: #2279.

This means that source code is highlighted as Python 3 (which is mostly
a superset of Python 2), and no parsing is attempted to distinguish
valid code.
2016-02-14 09:21:35 +01:00
Takeshi KOMIYA
7a4f914f91 Fix #1286, #2099: Add `sphinx.ext.autosectionlabel` extension to allow reference sections using its title 2016-02-14 16:30:57 +09:00
Takeshi KOMIYA
56cad8ad7c docs: sort extension list alphabetically 2016-02-14 16:07:52 +09:00
Takayuki SHIMIZUKAWA
58c29968f9 Merge pull request #2318 from sphinx-doc/glossary-term-structure
Restructuring glossary term node to fix #2251
2016-02-14 15:45:58 +09:00
shimizukawa
defd08b926 refs #2318: keep pair of visit/depart methods even if one side only needed. 2016-02-14 15:11:08 +09:00
shimizukawa
cca371de87 Remove termset node. It is not used anywhere. Restore termsep node and set as Deprecation. refs #2251 2016-02-14 15:11:07 +09:00
shimizukawa
804e866404 Now term nodes in a glossary directive are wrapped with termset node to handle multiple term correctly.
Fix #2251; Line breaks in .rst files are transferred to .pot files in a wrong way.
2016-02-14 15:11:06 +09:00
Takeshi KOMIYA
b0897a47c4 Update CHANGES for PR#2311 2016-02-14 15:07:39 +09:00
Takeshi KOMIYA
492980c23e Add testcase for PR #2311 2016-02-14 15:06:28 +09:00
Takeshi KOMIYA
72b36c1888 Merge pull request #2311 from QuLogic/inheritance-diagram-fix
Fix inheritance diagram to match graphviz ext.
2016-02-14 15:03:28 +09:00
Takeshi KOMIYA
2ec60d5919 Fix #1858: Support numbering custom nodes 2016-02-14 14:49:34 +09:00
Takeshi KOMIYA
a391b1a1db Add Sphinx.add_enumerable_node() to add enumerable nodes for numfig feature 2016-02-14 14:49:34 +09:00
Takeshi KOMIYA
279ac7c23f Refactor numfig: Move core implementation to std domain 2016-02-14 14:49:20 +09:00
Takeshi KOMIYA
9273140ee2 Override figure directive to apply :name: option to the figure itself 2016-02-14 14:49:20 +09:00
Takeshi KOMIYA
b07f4ccf10 Update CHANGES for PR#2300 2016-02-14 14:47:04 +09:00
Takeshi KOMIYA
dca1669b2f Merge pull request #2300 from akruis/feature_autoclass_content_from__new__
Feature: enhance autoclass:: to use the docstring of __new__ if __init__ method's is missing of empty
2016-02-14 14:45:25 +09:00
Georg Brandl
fed5a34568 Merge pull request #2313 from alex/idiomatic
Make some code in linkcheck more idiomatic
2016-02-13 18:12:02 +01:00
Takeshi KOMIYA
ee3306796b Merge pull request #2314 from alex/travis-caching
enable travis caching
2016-02-14 01:24:04 +09:00
Georg Brandl
2d8209158e Merge pull request #2315 from alex/remove-ez_setup
Removed ez_setup.py
2016-02-13 16:41:47 +01:00
Alex Gaynor
7b759b1db7 Removed ez_setup.py
There are no common cases where it will be used anymore:

* pip always installs stuff with setuptools
* Modern pythons preinstall setuptools
2016-02-13 10:14:16 -05:00
Alex Gaynor
3e1360299d enable travis caching 2016-02-13 10:10:14 -05:00
Georg Brandl
222edf59e7 linkcheck: dont check anchors starting with "!".
Add changelog entry for #1099.
2016-02-13 16:06:55 +01:00
Georg Brandl
5e8642983b Fixup links in the documentation. 2016-02-13 16:00:46 +01:00
Alex Gaynor
3f2612ee78 Make some code in linkcheck more idiomatic 2016-02-13 09:54:51 -05:00
Georg Brandl
56a4e791d6 Merge pull request #2312 from alex/linkcheck-retry
Fixed #1099 -- allow the linkcheck builder to retry on errors.
2016-02-13 15:51:33 +01:00
Alex Gaynor
79206ef7b1 fixed indentation here as well 2016-02-13 09:23:00 -05:00
Alex Gaynor
374c6a6db3 fixed indentation 2016-02-13 09:18:41 -05:00
Alex Gaynor
e6980adaf6 oops, lost this 2016-02-13 09:02:44 -05:00
Alex Gaynor
863e2f468f moved more logic around 2016-02-13 08:55:55 -05:00
Alex Gaynor
ae5bfe500e syntax error 2016-02-13 08:55:00 -05:00
Alex Gaynor
4f00a9905c Fixed #1099 -- allow the linkcheck builder to retry on errors.
This is useful because if you run linkcheck often, you are likely to see lots of transient network errors, which usually disappear if you simply try again.
2016-02-13 08:52:38 -05:00
Elliott Sales de Andrade
b071653be6 Fix inheritance diagram to match graphviz ext. 2016-02-13 02:18:16 -05:00
Takeshi KOMIYA
e48dd0e14b Fix fallback logic in sphinx.utils.images:get_image_size() 2016-02-12 13:54:04 +09:00
Takeshi KOMIYA
906bf68cd8 Merge pull request #2302 from tk0miya/2199_obtain_image_size_without_pillow
Fix #2199: Use ``imagesize`` package to obtain size of images
2016-02-10 12:10:02 +09:00
Takeshi KOMIYA
fd674ef9f9 Fix #2199: Use `imagesize` package to obtain size of images 2016-02-10 00:46:22 +09:00
shimizukawa
ffec78f0b0 fix flake8 2016-02-09 23:37:25 +09:00
shimizukawa
980653f277 Merge with stable
Conflicts:
	sphinx/environment.py
	sphinx/ext/autodoc.py
	sphinx/writers/latex.py
2016-02-09 23:19:49 +09:00
GunWoo Choi
906d1c905d Make sure to iterate obj_dict's keys using list, not view
In Python3 `dict.keys()` returns a view object not a list

cherry-picked from master 22ce010e0 to stable for #2116.
2016-02-09 18:23:08 +09:00
shimizukawa
f29edef477 Update CHANGES for #1873, #1876, #2278 2016-02-09 18:09:43 +09:00
Eric Holscher
c22f5beb75 Add suffix to HTML context. Fixes #1873 2016-02-09 18:01:12 +09:00
shimizukawa
a88212a214 Update CHANGES for #1751 and #2074. 2016-02-09 17:38:07 +09:00
Takayuki SHIMIZUKAWA
07c10e540f Merge pull request #2074 from techtonik/patch-1
gettext: use canonical relative paths for .pot
2016-02-09 16:57:34 +09:00
anatoly techtonik
281bf2ae3a gettext: use new osutil.canon_path() 2016-02-09 10:45:11 +03:00
anatoly techtonik
9c53796f87 add inverse of util.os_path for canonical path generation 2016-02-09 10:45:11 +03:00
anatoly techtonik
aef2d8cffb gettext: use canonical relative paths for .pot 2016-02-09 10:45:11 +03:00
shimizukawa
eb9c85f4ea fix flake8 2016-02-09 00:27:21 +09:00
shimizukawa
aefab514e2 Fix #2287: sphinx.transforms.Locale always uses rst parser. Sphinx i18n feature should support parsers that specified source_parsers. 2016-02-09 00:16:46 +09:00
shimizukawa
e2208c12a0 Update CHANGES and documentation for #1751. 2016-02-08 23:31:02 +09:00