Commit Graph

6288 Commits

Author SHA1 Message Date
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
c012b93385 Fix UnicodeDecodeError if autodoc crashed on importing codes including multibyte characters in py2 2016-02-11 15:21:44 +09:00
Takeshi KOMIYA
dfe6b1fea3 Fix equations are not centering in traditional theme (ref: #2294) 2016-02-11 13:41:49 +09:00
Takeshi KOMIYA
69ae993e96 Fix equations are not centering in scrolls theme (ref: #2294) 2016-02-11 13:39:48 +09:00
Takeshi KOMIYA
a9b17ba351 Fix equations are not centering in agogo theme (ref: #2294) 2016-02-11 13:38:07 +09:00
Takeshi KOMIYA
18c6a6ae98 Fix equations are not centering in haiku theme (ref: #2294) 2016-02-11 13:33:55 +09:00
jfbu
89e8cb3459 Address #2262 (latex): avoid pagebreaks after captions of literal blocks
This could fix https://github.com/sphinx-doc/sphinx/issues/2262

The 1.3.5 Verbatim environment from sphinx.sty has many places allowing
a page break after the caption: from the \smallskip, from the list
environment, and from the \MakeFramed: indeed framed package
documentation explains that it encourages page breaks above it.

The only way to avoid the pagebreaks is to put the caption inside the
environment whic is started by \MakeFramed. However, as this environment
typesets multiple times its contents, we must inhibit within it the
increase of counters (only the literal-block counter is concerned), this
is done thanks to a switch provided by the package amsmath which is
already loaded by sphinx.sty.

	modified:   sphinx/texinputs/sphinx.sty
	modified:   sphinx/writers/latex.py
	modified:   tests/test_directive_code.py
2016-02-10 10:50:52 +01: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
shimizukawa
2897846a6e Merge pull request #1751 from montefra/todo_function
todo list: link only
2016-02-08 23:21:28 +09:00