Commit Graph

6283 Commits

Author SHA1 Message Date
Ruediger Pluem
1754473c53 Add sanity check for the tzinfo attribute to prevent later failures.
If we do not have it, we cannot do time formats.
Improve comments as well.
2016-04-05 11:15:43 +02:00
Ruediger Pluem
96af4a598f No functional change: Wrap too long lines to fix Travis build errors 2016-04-05 11:14:39 +02:00
Ruediger Pluem
22dce02bec Sphinx 1.3.x allowed to specify time formatters in today_fmt like %H and %M.
Allow these time formatters again.
This requires to use babel.dates.format_datetime instead of babel.dates.format_date
for formating. The approach of babel compared to ustrftime to use different functions
for time, date and datetime formating creates an ambiguousness for translating %c, %x, %X
from ustrftime to babel. Hence we look out for %x and %X to use the appropriate babel
function in this case.
Change of behaviour: People using the short, medium, long or full babel formats in
today_fmt will now get the respective datetime format instead of just the date format.
2016-04-05 11:11:59 +02:00
Takeshi KOMIYA
1313726fd6 Fix #2412: hyperlink targets are broken in LaTeX builder 2016-04-04 11:02:09 +09: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
5e0b542e62 Fix #2408: dummy builder not available in Makefile and make.bat 2016-04-02 22:27:41 +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
Takeshi KOMIYA
68f3887428 Update CHANGES 2016-03-31 10:37:51 +09:00
Jakob Lykke Andersen
c6ba3093fe C++, make prefixes of type declarations better.
Type declarations are now using the prefixes ``typedef``, ``using``, and ``type``,
depending on the style of declaration.
See also michaeljones/breathe#243 and michaeljones/breathe#242.
2016-03-30 16:55: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
Jakob Lykke Andersen
2b224bec5f C++, tagnames for Breathe.
See michaeljones/breathe#242.
2016-03-30 14:39:42 +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
shimizukawa
3742e887c2 update checklist to remind tx pull -a -f for final major release. 2016-03-28 22:48:09 +09:00
shimizukawa
57512bf257 Update translations for 1.4 release. Sorry I forgot to update these. 2016-03-28 22:39:59 +09:00
shimizukawa
0569366f03 Bump version 2016-03-28 22:05:43 +09:00
shimizukawa
27fb3b6be3 Bump to 1.4 final v1.4 2016-03-28 21:51:00 +09:00
Takeshi KOMIYA
478c1d2ea6 Merge branch 'stable' into 1.4-release 2016-03-23 22:01:14 +09:00
Takeshi KOMIYA
a1cc467363 Fix #2378: Sphinx now bundles newfloat.sty 2016-03-23 22:00:53 +09:00
Takeshi KOMIYA
f8750593ef Fix #1153: figures in sidebar causes latex build error. 2016-03-09 10:58:05 +09:00
Takeshi KOMIYA
635c8eb417 Fix unpack warning if combinated with 3rd party domain extensions 2016-03-08 15:44:23 +09:00
shimizukawa
a9ec1e1e77 bump version 2016-03-06 22:15:16 +09:00
shimizukawa
dc32f6f4a4 Bump to 1.4 beta1 v1.4b1 2016-03-06 22:02:35 +09:00
shimizukawa
d6aa568a59 update locales 2016-03-06 22:02:33 +09:00
shimizukawa
d76e250ca3 fix for 'make style-check' 2016-03-06 21:37:04 +09:00
shimizukawa
fffa51c3fd closes #582: Remove hint message from quick search box for html output. 2016-03-06 21:20:59 +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
92692a232f Fix #2366: empty hyperref is generated on toctree in HTML builder 2016-03-06 16:11:04 +09:00
shimizukawa
7c47e0665a Add several Sphinx documentation examples. 2016-03-06 15:31:19 +09:00
Takeshi KOMIYA
720c9706de Update CHANGES for PR#2297 2016-03-06 15:07:36 +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
Takeshi KOMIYA
277c9e61c4 Merge branch 'stable' 2016-03-06 14:22:36 +09:00
Takeshi KOMIYA
5df6d09392 Fix #2368: Ignore emacs lock files like `.#foo.rst` by default. 2016-03-06 12:20:30 +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
f8c08c634f #2363: Fix `toctree()` in templates generates broken links in SingleHTMLBuilder. 2016-03-04 00:14:10 +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
2a2da13cde Fix #2348: Move amsmath and amssymb to before fontpkg on LaTeX writer 2016-03-03 21:17:35 +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
04219fa045 #2364: Fix KeyError rootSymbol on Sphinx upgrade from older version. 2016-03-03 12:46:22 +09:00
Takeshi KOMIYA
92934ebe79 Add `\sphinxAtStartFootnote` macro 2016-03-03 00:19:48 +09:00
Takeshi KOMIYA
62a96c1e2e Rename `\titlereference to \titleref` 2016-03-02 23:00:39 +09:00
Takeshi KOMIYA
d91fd33de5 Rename `\internalreference to \crossref` 2016-03-02 22:58:17 +09:00