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
Takeshi KOMIYA
6e7d878003
Pin mypy==0.471 (refs: #3499 )
2017-03-03 13:23:34 +09:00
Yoshiki Shibukawa
2118e0a581
fix #1733 : fix span tags for ids is in table tag (for html5 validation)
2017-03-03 11:46:19 +09:00
jfbu
eb46ae20f8
Fix #3496 : latex longtable's last column...
...
... may be much wider than its contents
2017-03-02 19:11:22 +01:00
Takeshi KOMIYA
7332023970
Merge pull request #3464 from shibukawa/feature/experimental_html5_writer
...
Add experimental HTML5 writer
2017-03-03 01:28:23 +09:00
Takeshi KOMIYA
811df6b2e3
Fix #3487 : intersphinx: failed to refer options
2017-03-03 00:50:55 +09:00
Takeshi KOMIYA
c1a70397e1
Add InventoryFile.dump()
2017-03-02 23:48:05 +09:00
Jean-François B
042c2beafa
Merge pull request #3492 from jfbu/fixhtmlcompactlistsdoc
...
Close #3489 : bullet list rendered "opened up"
2017-03-02 15:22:22 +01:00
jfbu
4119439f3a
Close #3489 : bullet list rendered "opened up"
2017-03-02 14:56:27 +01:00
Takeshi KOMIYA
29254c15f1
Move InventoryFile class to sphinx.util.inventory
2017-03-02 22:51:42 +09:00
Takeshi KOMIYA
69bb12c1e1
intersphinx: Add InventoryFile utility
2017-03-02 17:26:07 +09:00
Takayuki SHIMIZUKAWA
dbad2bfcda
update CHANGES refs #2073 , #3443 , #3490
2017-03-02 16:52:56 +09:00
Takayuki SHIMIZUKAWA
7fceef480f
Merge pull request #3490 from shibukawa/fix/pot_creation_date
...
fix gettext builder that writes pot files unless the content are same without creation date
2017-03-02 16:49:30 +09:00
Takeshi KOMIYA
00e32eeeff
intersphinx: Add ZlibReader utility
2017-03-02 16:45:31 +09:00
Takeshi KOMIYA
05a9fd9cc9
intersphinx: Add error message
2017-03-02 15:16:15 +09:00
Yoshiki Shibukawa
8ebc97d0c8
fix gettext builder that writes pot files unless the content are same without creation date
2017-03-02 15:11:12 +09:00
Takeshi KOMIYA
4773a5c048
Merge branch 'stable'
2017-03-02 13:59:33 +09:00
Takeshi KOMIYA
3a3cec7a8e
Fix #3488 : objects.inv has broken when `release
or
version
` contain return code
2017-03-02 13:32:46 +09:00
Yoshiki Shibukawa
0ef9ac54f1
Add experimental HTML5 writer
2017-03-02 09:56:50 +09:00
jfbu
e14b296ef0
Update CHANGES for PR#3435
2017-03-01 22:34:47 +01:00
jfbu
c28e1da763
Update (again) latex docs after PR##3429
2017-03-01 22:26:49 +01:00
Jean-François B
74b46505f6
Merge pull request #3435 from jfbu/improvelatextables
...
Fix #1574 via improvement to latex tables (allow general contents in merged cells)
2017-03-01 20:58:41 +01:00
jfbu
e8e8616079
Solve the LaTeX multirow issue with colour panels
...
This uses the same macro for suppressing column colours which was used
for multi-column. Bottom cells of multi-row must have no colour panels,
else they hide the text which is inserted from the top row.
2017-03-01 09:46:36 +01:00
jfbu
080d8854af
Re-instore `\X
` columns under old condition for problematic
...
Indeed the ``l`` specifier must be avoided as much as possible to allow
cells having much more contents than others to be handled sanely.
Related to issue #3447 . Parent commit would have made the issue more
frequent, this one helps restrain cases to those already in existence.
2017-03-01 09:45:31 +01:00
jfbu
bc67d4298f
Improve latex tables: fix #1574 and other rendering issues
...
- allow multi-paragraph contents in grid table merged cells
- allow code-blocks in merged cells
- allow generally speaking reST contents allowed in regular
cells to be also allowed in merged cells, whether multirow,
multicolumn, or both.
This is made possible by custom LaTeX macros replacing original
``\multicolumn`` and ``\multirow`` (none of the originals allows
verbatim contents as is needed for code-blocks). They are defined in
bundled LaTeX style file sphinxmulticell.sty. The multicolumn merged
cells give much better results with tabulary as it is coerced into
taking them into account in its automatic width algorithm.
This deprecates use of LaTeX packages eqparbox and multirow, which are
not needed anymore.
New config setting ``latex_use_latex_multicolumn`` (default value False,
currently) as custom Sphinx multicolumn is not fully compatible will all
types of custom table col specs which may be inserted via tabularcolumns
directive. It works best with standard ``|`` column separator.
The default tabulary column specifier has been changed from L
(flushleft) to J (justifying). Internally the column type is called T,
so ``r'\newcolumntype{T}{L}'`` in preamble key recovers the former
behaviour. A ``\Y`` column type is defined which admits one decimal
argument in place of the two integers for ``\X``.
2017-03-01 09:41:30 +01:00