Jakob Lykke Andersen
8a64cfdd91
C++, add support for template introductions.
...
Thanks to mickk-on-cpp.
2016-05-30 23:18:10 +09:00
Jakob Lykke Andersen
74191207db
C++, add support for concept declarations.
...
Concept placeholders are automatically linked.
Thanks to mickk-on-cpp.
2016-05-30 19:45:17 +09:00
Takeshi KOMIYA
1d17475a08
#2575 : Now `sphinx.ext.graphviz allows :align:` option
2016-05-28 18:29:10 +09:00
Takeshi KOMIYA
e3be266be3
Merge branch 'stable'
2016-05-28 17:29:43 +09:00
Takeshi KOMIYA
b74b9cb585
Fix #2383 : The generated footnote by latex_show_urls overflows lines
2016-05-28 14:46:13 +09:00
Takeshi KOMIYA
5cdf7a9a33
Adjust spacing in numref role (ref: #2382 )
2016-05-28 13:23:37 +09:00
Takeshi KOMIYA
c64a23f3c6
Add testcase for #2382
2016-05-28 12:57:46 +09:00
Takeshi KOMIYA
771e715f50
`:maxdepth: option of toctree affects secnumdepth` (ref: #2547 )
2016-05-26 23:23:07 +09:00
Takeshi KOMIYA
2578f47664
Merge branch 'stable'
2016-05-26 20:55:26 +09:00
Takeshi KOMIYA
9cd5ba994c
Fix #2445 : rst_prolog and rst_epilog affect to non reST sources
2016-05-25 21:25:04 +09:00
Takeshi KOMIYA
89360dd3f1
Add testcase for rst_prolog and rst_epilog
2016-05-25 21:24:31 +09:00
Takeshi KOMIYA
c028cfc5d3
Refactor testcases for #2516
2016-05-24 11:14:17 +09:00
Takeshi KOMIYA
82ef3b0aeb
Merge pull request #2516 from TimKam/meta-keywords-to-search-index
...
Meta keywords to search index
2016-05-24 11:10:07 +09:00
Takeshi KOMIYA
37882b9c77
Fix #2518 : intersphinx_mapping disallows non alphanumeric keys
2016-05-23 12:14:56 +09:00
Takeshi KOMIYA
9546fdaf5e
Fix `sphinx.ext.intersphinx crashes if non-string value is used for key of intersphinx_mapping`
2016-05-23 12:11:10 +09:00
Jakub Wilk
74b15cc64c
Fix format string in assert_in()/assert_not_in()
2016-05-16 17:19:53 +02:00
Takeshi KOMIYA
c9296ba467
Merge branch 'stable'
2016-05-09 10:11:13 +09:00
Timotheus Kampik
01797faede
refactor code/tests: keyword support for search index #2516
2016-05-05 18:09:22 +02:00
Takeshi KOMIYA
20719f0b00
Merge pull request #2503 from JojoBoulix/stable
...
Extend SOURCE_DATE_EPOCH support
2016-05-05 22:15:19 +09:00
Takeshi KOMIYA
7c0b7e1ff1
Fix #2526 : LaTeX writer crashes if the section having only images
2016-05-05 16:17:38 +09:00
Takeshi KOMIYA
885653a35d
Fix the caption of figure is always put on center even if `:align:` was specified
2016-05-04 01:27:54 +09:00
Takeshi KOMIYA
4789ef899f
Fix #2492 : Figure directive with :figwidth: generates incorrect Latex-code
2016-05-04 01:27:31 +09:00
Alexis Bienvenüe
6509130ff2
Code enhancements (thanks to mitya57 and tk0miya):
...
* use tuple instead of list
* compile regex to find copyright year
* enclose test inside try/finally
2016-05-02 09:57:06 +02:00
Timotheus Kampik
6f6b28d3e6
refactor, add more tests #2516
2016-05-02 07:54:44 +02:00
Timotheus Kampik
a8dabf334d
add tests for meta-tag search index generation #2463
2016-05-02 00:11:48 +02:00
Alexis Bienvenüe
7a89015a54
Corrects copyright year using SOURCE_DATE_EPOCH if set
2016-04-28 23:37:36 +02:00
Takeshi KOMIYA
e3def45ffe
Use locales as a default value of locale_dirs
2016-04-25 22:25:58 +09:00
Takeshi KOMIYA
d38915e2a5
Fix intersphinx fails if mapping URL contains any port
2016-04-25 11:08:03 +09:00
Takeshi KOMIYA
ad738a0978
Fix #2309 : Could not refer "indirect hyperlink targets" by ref-role
2016-04-24 13:57:32 +09:00
Takeshi KOMIYA
e48335097c
Fix broken testcase
2016-04-22 18:40:41 +09:00
shimizukawa
132059a253
merge with stable
2016-04-18 14:41:06 +09:00
Takeshi KOMIYA
c289a35c1b
Fix #2397 : Setup shorthandoff for turkish documents
2016-04-16 18:28:15 +09:00
Takeshi KOMIYA
f15bdce1db
Fix testcase
2016-04-16 16:11:48 +09:00
Takeshi KOMIYA
c3fe96f6fc
Remove debug print
2016-04-14 12:03:10 +09:00
Takeshi KOMIYA
3206ccbae0
sphinx.ext.mathbase: Refactor LaTeX output
2016-04-14 10:39:33 +09:00
Takeshi KOMIYA
39396a4b1e
Fix #2370 : the equations are slightly misaligned in LaTeX
2016-04-14 10:37:54 +09:00
Takeshi KOMIYA
9a7bbb0947
Add image file for testcase of #2395
2016-04-13 21:30:45 +09:00
shimizukawa
fdaaf020f7
Merge with 'stable'
2016-04-12 22:22:06 +09:00
Takeshi KOMIYA
5b80365409
Merge pull request #2415 from jfbu/jumptorightplace-onstable
...
Fix #2405 and #2414 related to PDF hyperlinks to numbered code listings
2016-04-11 10:53:34 +09:00
jfbu
673222f20a
Added Tests for latex(pdf) links to captioned or named literal blocks
...
As conf.py has now numfig = True, needed to modify accordingly test for
links in html output.
This topic branch fixes #2405 , #2414 , and also makes for latex(pdf)
functional hyperlinks to named references, but only for literal blocks
(code-block or literalinclude).
modified: tests/roots/test-directive-code/caption.rst
modified: tests/roots/test-directive-code/conf.py
new file: tests/roots/test-directive-code/namedblocks.rst
modified: tests/test_directive_code.py
2016-04-10 20:45:59 +02:00
Takeshi KOMIYA
9df7783ba2
Fix #2395 : Sphinx crashs if unicode character in image filename
2016-04-10 20:25:25 +09:00
jfbu
261ff1a9d2
Enable pdf hyperlinks to named literal-blocks without caption.
...
This is tango between latex.py and sphinx.sty to handle PDF hyperlinks
to literal-blocks (both code-block and literalinclude) either with name
or caption (then numref can be used) or both.
modified: sphinx/texinputs/sphinx.sty
modified: sphinx/writers/latex.py
This test file is now back to original.
modified: tests/test_directive_code.py
2016-04-07 11:27:33 +02:00
jfbu
238a3346d9
Merge branch 'stable' into jumptorightplace-onstable
2016-04-06 18:55:15 +02:00
Takeshi KOMIYA
174e61fdb2
Merge branch 'stable'
2016-04-06 21:22:04 +09:00
Ruediger Pluem
1c48d18d9a
Tests for 22dce02bec1e97b00fa5dde2479ab498784a866c..1754473c532d300ce517460d2ff467c312ae5510
2016-04-05 12:20:10 +02:00
jfbu
a1647b6bb9
Fix broken numeric reference in PDF hyperlinks to "Listing " code-blocks
...
The `\label` is now inserted into the caption on top of the Verbatim,
and `\ref` will work as expected. No need for `\phantomsection`.
modified: sphinx/writers/latex.py
modified: tests/test_directive_code.py
2016-04-03 16:31:35 +02:00
Takeshi KOMIYA
d35ccb9b4c
The default format of today_fmt and html_last_updated_fmt is back to strftime format again
...
`html_last_updated_fmt` is commonly used for non date formatting. But
LDML is difficult to represent them from its characteristics.
Now we moved to strftime format again (ref: #2394 ).
2016-04-03 10:25:32 +09:00
shimizukawa
0c33d7df78
import mock from util instead of directly.
2016-04-02 22:15:13 +09:00
Takeshi KOMIYA
8ab06530be
Fix #2394 : Sphinx crashes when html_last_updated_fmt is invalid
2016-04-01 11:20:30 +09:00
Jakob Lykke Andersen
42395a177a
C++, also support 'extern' for functions.
...
Thanks to Victor Zverovich.
2016-03-31 13:40:02 +09:00