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
Jakob Lykke Andersen
dca9e59ea5
C++, add support for 'extern' and 'thread_local'.
...
Thanks to michaeljones/breathe#243 for noticing the lack of 'extern' support.
2016-03-30 16:19:03 +09:00
Takeshi KOMIYA
150ce21fb3
Fix broken testcase caused by translation
2016-03-29 12:40:42 +09:00
Takeshi KOMIYA
0d807a62cc
Remove duplicated testcase for latex builder
...
test_numref_on_bable_disabled and test_numref_with_language_el are mainly
used for testing babel (not for numref). But now we added enough testcases
for babel.
2016-03-29 12:21:58 +09:00
Takeshi KOMIYA
478c1d2ea6
Merge branch 'stable' into 1.4-release
2016-03-23 22:01:14 +09:00
shimizukawa
d76e250ca3
fix for 'make style-check'
2016-03-06 21:37:04 +09:00
Takeshi KOMIYA
549b6e27df
Fix #1498 : manpage writer: don't make whole of item in definition list bold if it includes strong node
2016-03-06 17:49:49 +09:00
Takeshi KOMIYA
b0e781c745
Fix broken tests
2016-03-06 16:24:59 +09:00
Takeshi KOMIYA
9d82cad19d
Merge pull request #2297 from jfbu/literalblockcaption
...
LaTeX captions of literal blocks now glued to framed verbatim
2016-03-06 15:01:52 +09:00
jfbu
12c6c9dad2
Fix broken test_literalinclude_caption_latex
...
modified: tests/test_directive_code.py
2016-03-04 13:11:00 +01:00
jfbu
038dd00777
Changes of LaTeX macro names in sphinx.sty to use Sphinx prefix.
...
modified: sphinx/texinputs/sphinx.sty
modified: sphinx/writers/latex.py
modified: tests/test_directive_code.py
2016-03-04 12:46:34 +01:00
Takeshi KOMIYA
0211e19ae6
Fix #2337 : Use `\url{URL} macro instead of \href{URL}{URL}` in LaTeX writer
2016-03-04 15:45:28 +09:00
Takeshi KOMIYA
4899214238
Merge branch 'stable'
2016-03-03 23:18:53 +09:00
Takeshi KOMIYA
f33e25dbad
Fix broken merges
2016-03-03 23:14:16 +09:00
Takeshi KOMIYA
dda98c7d53
Merge branch 'useless-test-noise'
2016-03-03 23:01:34 +09:00
Takeshi KOMIYA
da94ca5699
Merge branch '2327_toplevel_sectioning'
2016-03-03 20:41:17 +09:00
Takeshi KOMIYA
3939c4d684
Merge branch '2229_suppress_warnings'
2016-03-03 20:40:38 +09:00
Takeshi KOMIYA
92934ebe79
Add `\sphinxAtStartFootnote` macro
2016-03-03 00:19:48 +09:00
Takeshi KOMIYA
d91fd33de5
Rename `\internalreference to \crossref`
2016-03-02 22:58:17 +09:00
Takeshi KOMIYA
6efdd07d94
#2351 : Fix footnote spacing
2016-03-02 12:22:05 +09:00
Takeshi KOMIYA
110c2b0dbc
Fix #2327 : Add latex_toplevel_sectioning to switch the top level sectioning of LaTeX document.
2016-03-02 11:18:08 +09:00
Takeshi KOMIYA
cfd8b520b6
Fix test_search has been failed
2016-03-01 00:48:58 +09:00
shimizukawa
283bf42ea7
Merge with 'stable'
...
Conflicts:
CHANGES
sphinx/__init__.py
sphinx/io.py
2016-02-29 23:19:13 +09:00
Takeshi KOMIYA
77df787e81
Fix #2019 : the domain objects in search result are not escaped
2016-02-29 10:52:48 +09:00
Takeshi KOMIYA
a682ab2e57
Define `\internalreference` macro to redefine the style of references
2016-02-25 22:07:18 +09:00
Takeshi KOMIYA
cea81e7a70
Define `\menuselection and \accelerator macros to redefine the style of menuselection` roles.
2016-02-25 20:58:01 +09:00
Takeshi KOMIYA
611aa10f78
Merge pull request #2340 from xuhdev/mathjax-align
...
Math extension: support alignment of multiple equations for MathJAX.
2016-02-23 12:44:09 +09:00
Takeshi KOMIYA
2441c647d2
Fix #2229 : no warning is given for unknown options
2016-02-23 12:23:06 +09:00
Takeshi KOMIYA
ae9d786390
Add :confval:suppress_warnings to supress arbitrary warning message
2016-02-23 12:23:06 +09:00
Takeshi KOMIYA
606daeda18
Fix the confval type checker emits warnings if unicode is given to confvals which expects string value
2016-02-23 11:14:58 +09:00
Takeshi KOMIYA
0636d54f6f
`sphinx.ext.graphviz` supports graph substituions by locale
2016-02-22 21:32:06 +09:00
Takeshi KOMIYA
3f0843bca0
Add figure_language_filename to customize filename pattern for figure substitutions
2016-02-22 21:32:05 +09:00
Takeshi KOMIYA
1f5aa28db0
Fix #1921 : Support figure substitutions by locale
2016-02-22 21:32:05 +09:00
Takeshi KOMIYA
46138ca605
Select an image by similarity if multiple images are globbed by `.. image:: filename.*`
...
Until this point, it is used the last image returned from glob.glob().
The order of glob.glob() is determined by filesystem.
After this, Sphinx uses filename similarity to determine the image.
2016-02-22 17:06:35 +09:00
Takeshi KOMIYA
7d1b0ec7a1
Refactor tests: Add @skip_if_graphviz_not_found decorator
2016-02-22 16:30:41 +09:00
Takeshi KOMIYA
d38b3ff2a0
Merge branch 'stable'
2016-02-20 21:19:51 +09:00
Takeshi KOMIYA
f6af2af9a4
Don't show option-role warnings in 1.3.x too
2016-02-20 19:43:39 +09:00
Takeshi KOMIYA
2b93e09c0a
Highlighting fallbacks by default
...
In 423bf7b , I tried to add fallback mechanism to ``python3``. But it breaks
the python3 highlighting on python2 environment.
This adds ``'default'`` to highlighting languages; it works like
``'python3'``, but fallbacks if failed Highlighting. And this removes
try-parse step from ``'python3'`` language. Now, it highlights regardless of
runtime environments. Thanks to Yoshiki SHIBUKAWA.
2016-02-20 00:44:28 +09:00
Georg Brandl
6101cb4ab6
fix tests
2016-02-19 09:25:48 +01:00
Hong Xu
d019d3f9b8
Correct a duplicated test case name in test_ext_math
2016-02-18 18:51:02 -08:00
Hong Xu
bb9cde4e32
Math extension: support alignment of multiple equations for MathJAX.
...
This is a follow-up commit of #2254 , which supported alignment of
multiple equations for imgmath and LaTeX output.
2016-02-18 18:49:10 -08:00
Takeshi KOMIYA
b780d2207a
Fix ValueError is raised if LANGUAGE is empty string
2016-02-17 01:13:00 +09:00
Takeshi KOMIYA
423bf7b5e3
Fix code-block literals raises highlighting warnings by default
2016-02-17 01:07:18 +09:00
Takeshi KOMIYA
ae283bc1da
Merge branch 'stable'
2016-02-15 11:51:45 +09:00
Takeshi KOMIYA
50f4862b06
Fix some testcase get error with pygments-2.1.1
2016-02-15 11:46:30 +09:00
Takeshi KOMIYA
4452cc3d2e
Fix #794 : Date formatting in latex output is not localized
2016-02-14 21:48:24 +09: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