Commit Graph

8210 Commits

Author SHA1 Message Date
Takeshi KOMIYA
c7bec75bcd BuildEnvironment always own application object (after read phase) 2017-03-08 12:23:25 +09:00
Takeshi KOMIYA
a523f9893a Add load(), loads(), dump() and dumps() to BuildEnvironment 2017-03-08 12:23:25 +09:00
Takeshi KOMIYA
5ee4c396bc Merge branch 'stable' 2017-03-08 00:22:39 +09:00
Jakob Lykke Andersen
38b38d8aff Make flake8 stop complaining. 2017-03-07 20:47:53 +09:00
Jakob Lykke Andersen
bc527c533e C++, better error messages for 'func' and 'any' refs.
Followup to sphinx-dox/sphinx#2952.
On error try to get reparse without parens to get the correct message.
2017-03-07 20:28:04 +09:00
Takeshi KOMIYA
e060f65bc5 Merge pull request #3519 from agjohnson/add-domain-tests
Add tests for xrefs on Python and JavaScript domains
2017-03-07 11:20:32 +09:00
Anthony Johnson
3502336b13
Add tests for xrefs on Python and JavaScript domains
These are just the passing test cases for the domains currently. I am going to
patch up issues with nesting on both domains to start, so these are the test
cases I'll be testing against. I'll see about addressing the other core
domains, or at very least the cpp domain, with similar tests if this looks
okay.

So far, these tests only test against methods/functions for the basic nesting
structure. More complete tests will test additional domain roles.

Refs #662
2017-03-05 16:00:25 -08:00
jfbu
6fda42f214 Reword a CHANGES entry for 1.6 (refs #3466) 2017-03-05 10:35:02 +01:00
Takeshi KOMIYA
125b224d80 Merge pull request #3509 from abathur/html_depart_admonition
Fix #3506: consistently pass node to depart_admonition in HTML writer
2017-03-05 17:38:41 +09:00
Travis A. Everett
fde43061e5 clean up commented lines 2017-03-04 20:58:43 -06:00
Travis A. Everett
4c67c110f6 Also change depart_admonition calls for html5 builder 2017-03-04 20:32:46 -06:00
Travis A. Everett
1e28eeb348 swing two for oldstyle class 2017-03-04 15:56:06 -06:00
Travis A. Everett
b6694c9ca1 Make super call version-agnostic 2017-03-04 14:27:41 -06:00
Travis A. Everett
cabfcbd70d Fix #3506: consistently pass node to depart_admonition in HTML writer 2017-03-04 13:40:05 -06:00
jfbu
79a49805eb Add xcolor to Travis requirements for testing (refs #3070) 2017-03-04 18:56:55 +01:00
jfbu
bfaab9b45d Stop bundling LaTeX package needspace with Sphinx (refs #3070) 2017-03-04 18:55:24 +01:00
jfbu
91ec5a8012 Update CHANGES for PR#3504 2017-03-04 18:50:08 +01:00
Jean-François B
469d261abb Merge pull request #3504 from jfbu/fixtablevspaces
Fix #3491 via equalizing vertical spaces for latex tables of all types
2017-03-04 18:24:49 +01:00
jfbu
64a45053af Rename to `\shinxbelowcaptionspace` 2017-03-04 18:09:33 +01:00
jfbu
07fa4246a3 Reduce after table space 2017-03-04 16:25:21 +01:00
jfbu
0882a41f24 Rename and simplify LaTeX macros
in particular:
``\sphinxbelowtablecaptionskip`` renamed to ``\sphinxbelowcaptionskip``
as it may be extended in future to usage for captions of literal blocks.
2017-03-04 16:09:49 +01:00
jfbu
5f71a2ccb3 Fix #3491 via equalizing vertical spaces for latex tables of all types
User interface via macros ``\sphinxtablepre``, ``\sphinxtablepost``
and ``\sphinxbelowtablecaptionskip``.
2017-03-04 00:08:02 +01:00
Takeshi KOMIYA
000c11ef9d Merge pull request #3493 from tk0miya/refactor_inventory
Refactor inventory
2017-03-04 01:59:35 +09:00
Takeshi KOMIYA
432ec25d9c Fix for py3 2017-03-04 01:03:29 +09:00
Takeshi KOMIYA
3ba24fb6b8 Fix mypy violation 2017-03-04 00:26:21 +09:00
Takeshi KOMIYA
e655794b8e Merge branch 'master' into refactor_inventory 2017-03-04 00:22:17 +09:00
Takeshi KOMIYA
ffb627db89 Merge branch 'master' into refactor_inventory 2017-03-04 00:13:39 +09:00
Takeshi KOMIYA
7cb655d7cd Update testcase 2017-03-04 00:02:38 +09:00
Takeshi KOMIYA
f97eb91581 Merge pull request #3502 from tk0miya/3499_upgrade_mypy
Upgrade to mypy-0.5
2017-03-04 00:01:31 +09:00
Takeshi KOMIYA
45f1253e34 Fix flake8 violation 2017-03-03 23:55:53 +09:00
Takeshi KOMIYA
f32ec6533d Fix flake8 violation 2017-03-03 23:42:35 +09:00
Takeshi KOMIYA
8d35024c6c Fix mypy violation 2017-03-03 23:34:52 +09:00
Takeshi KOMIYA
554199d30e Upgrade to mypy-0.5 2017-03-03 23:17:34 +09:00
Takeshi KOMIYA
28b1aceefe Merge pull request #3495 from shibukawa/fix/html5_validation_error
fix HTML5 validation check (role attribute of body tag is unnecessary)
2017-03-03 23:04:47 +09:00
Takeshi KOMIYA
2a37b0e340 Allow to replace table templates for LaTeX by user's 2017-03-03 22:48:44 +09:00
Takeshi KOMIYA
8aa2588275 Merge pull request #3501 from shibukawa/fix/type_style_check
fix style check warnings
2017-03-03 22:46:34 +09:00
Yoshiki Shibukawa
7e178785a7 fix style check warnings 2017-03-03 22:03:16 +09:00
jfbu
c112f60d47 Fix mypy violations after merge of 'stable'
modified:   sphinx/builders/gettext.py
2017-03-03 11:11:49 +01:00
jfbu
179a769490 Fix other error in merging 'stable'
modified:   sphinx/ext/intersphinx.py
2017-03-03 11:05:04 +01:00
jfbu
8f5d1e1050 Fix error in merge of 'stable'
modified:   sphinx/builders/gettext.py
2017-03-03 10:43:22 +01:00
jfbu
3743199576 Remove frame around LaTeX longtable's "Continued on next page" footer
refs: PR #3497
2017-03-03 10:08:08 +01:00
jfbu
33bf5410f6 Update tests after 'stable' merge (refs: #3497) 2017-03-03 10:00:56 +01:00
jfbu
a7afad3952 Merge branch 'stable' 2017-03-03 09:57:15 +01:00
jfbu
f8391ea487 Update CHANGES for PR#3497 2017-03-03 09:56:39 +01:00
jfbu
fb5dd840f4 Merge branch 'stable' 2017-03-03 09:53:50 +01:00
Jean-François B
812d835fd1 Merge pull request #3497 from jfbu/fixlongtablelastcolumn
Fix #3496: latex longtable's last column may be wider than its contents
2017-03-03 09:48:47 +01:00
jfbu
e9304fd41d Keep the frame around "Continued on next page" longtable footer 2017-03-03 09:39:59 +01:00
Yoshiki Shibukawa
a34ebb6f1f fix HTML5 validation check (role attribute of body tag is unnecessary) 2017-03-03 14:50:40 +09:00
Takeshi KOMIYA
d20caeb063 Merge pull request #3498 from shibukawa/fix/multiple_id_for_table
fix #1733: fix span tags for ids is in table tag (for html5 validation)
2017-03-03 13:40:50 +09:00
Takeshi KOMIYA
beca8d7aea Merge pull request #3500 from tk0miya/3499_pin_mypy_0.4
Pin mypy < 0.5 (refs: #3499)
2017-03-03 13:40:24 +09:00