Takeshi KOMIYA
5efecd2150
Add :confval:html_css_files
2018-04-06 13:11:24 +09:00
Takeshi KOMIYA
2c7d08ee47
Merge branch '1.7'
2018-03-19 23:46:15 +09:00
Takeshi KOMIYA
39835bf885
Fix #4720 : message when an image is mismatched for builder is not clear
2018-03-18 01:35:42 +09:00
Takeshi KOMIYA
4cebc4399c
Merge commit '6694981dd6939ab876b27d4e20a8128561c307ac'
2018-03-15 02:02:21 +09:00
Takeshi KOMIYA
88abc67bf8
Merge branch '1.7' into relax-numref-on-sections
2018-03-08 01:11:12 +09:00
Takeshi KOMIYA
31db987d68
Update testcases
2018-03-08 01:11:07 +09:00
Takeshi KOMIYA
938ba386ed
Merge branch '1.7'
2018-02-20 00:02:57 +09:00
Takeshi KOMIYA
f7027049b1
Fix flake8 violations
2018-02-19 23:20:56 +09:00
Takeshi KOMIYA
a9f370bc12
test: Remove function based directives
2018-02-08 13:50:25 +09:00
Takeshi KOMIYA
91873f09b8
Merge branch 'stable' into 1.7-release
2018-01-21 16:06:14 +09:00
Takeshi KOMIYA
896ab3a2f5
Fix #4434 : pure numbers as link targets produce warning
2018-01-20 19:43:43 +09:00
Takeshi KOMIYA
4d040abafb
Fix #4079 : Add notranslate class to let Google Translate know they are not translatable
2018-01-13 20:25:49 +09:00
Antoine Beaupré
90f7c7ef3f
add link to manpages in HTML builder
...
It is useful to have the HTML documentation builder actually link to
real rendered versions of HTML manpages in its output. That way people
can click on manpages to get the full documentation. There are a few
services offering this online, so we do not explicitly enable one by
default, but the Debian manpages repository has a lot of the manpages
pre-rendered, so it is used as an example in the documentation.
The parsing work is done by a transformer class that parses manpage
objects and extract name/section elements. Those then can be used by
writers to cross-reference to actual sites. An implementation is done
in the two HTML writers, but could also apply to ePUB/PDF writers as
well in the future.
This is not enabled by default: the `manpages_url` configuration item
needs to be enabled to point to the chosen site. The `page`, `section`
and `path` parameters are expanded through Python string formatting in
the URL on output.
Unit tests are fairly limited, but should cover most common use-cases.
2018-01-11 13:20:34 -05:00
Takeshi KOMIYA
f1f6ca8cc9
Merge branch 'happy_new_year' into master
2018-01-01 01:09:17 +09:00
Takeshi KOMIYA
2426cedb8b
A happy new year!
2018-01-01 01:06:58 +09:00
Takeshi KOMIYA
a9efb2517a
Fix flake8 violations
2017-12-23 21:21:21 +09:00
Takeshi KOMIYA
ec240614d9
test_autodoc: Separate testdata (python objects) and testcases
2017-12-21 12:12:13 +09:00
Takeshi KOMIYA
5bc5b8f013
Merge branch 'stable'
2017-12-16 00:53:55 +09:00
Takeshi KOMIYA
e3bbffc36e
test: Add test_html_copy_source
2017-12-15 02:35:32 +09:00
Takeshi KOMIYA
a3f04c3397
Refactor test_build_html: Use basic project instead roots
2017-12-15 02:35:32 +09:00
Takeshi KOMIYA
a5b64c98af
diet test-root: Remove html_static_path and html_extra_path (duplicated with test-html_assets)
2017-12-15 02:35:32 +09:00
Takeshi KOMIYA
a8ab1f164b
diet test-root: Move testtheme to test-theming
2017-12-15 02:35:32 +09:00
David Lechner
831f89a687
Closes #3160 : Use <kbd> tag for :kbd: role in html writers
2017-10-30 10:23:55 -05:00
Takeshi KOMIYA
b78f3090a0
HTML themes can set up default sidebars through `theme.conf
`
2017-10-22 15:14:02 +09:00
Andy Neebel
db8663db06
Fix the warnings, need to handle the repr escaping
2017-06-14 13:29:49 -05:00
Andy Neebel
f68c108f10
Mark tests as xfail/skip to allow successful run
2017-06-14 13:27:31 -05:00
Takeshi KOMIYA
2f61be8bb7
Fix Emit wrong warnings if citation label includes hyphens (refs: #3558 )
2017-06-04 13:55:14 +09:00
shimizukawa
d497d74370
refs #3458 : add sphinx.testing that are moved from /tests directory.
2017-05-14 20:47:15 +09:00
Takeshi KOMIYA
56d3458584
Fix flake8 violations
2017-05-09 21:57:36 +09:00
Dmitry Shachnev
f99f5b23ee
Backport fixes for French quotes from docutils
2017-04-25 14:17:31 +03:00
Dmitry Shachnev
1f9e251943
Add tests for English, Russian and French smart quotes
2017-04-25 14:17:29 +03:00
Takeshi KOMIYA
241c0db7bc
Merge branch 'master' into support_remote_images
2017-04-22 09:45:05 +09:00
Jakub Wilk
79a841e98c
Remove misplaced flags from re.sub() calls
...
The 4th argument of re.sub() is maximum number of substitutions,
not flags.
Moreover, re.MULTILINE affects only semantics of ^ and $,
so it wouldn't have any effect on this regular expression.
2017-04-20 00:04:08 +02:00
Takeshi KOMIYA
a5d77a8f06
Drop warning for nonlocal image URI
2017-04-19 01:40:17 +09:00
Takeshi KOMIYA
3c46c2f5ac
Add ImageDownloader transform to support remote images on some builders
2017-04-19 01:40:17 +09:00
Jellby
e59a8028d7
Rewrite and simplify stylesheet handling
...
Thanks to tk0miya's comment, I learnt one can add stuff to template
blocks, that allows a much simpler stylesheet configuration, considering
that changes at the template level will be more... well, low-level.
Hopefully this is now acceptable.
2017-04-15 17:07:33 +02:00
Jellby
1cfed262d2
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
tests/test_build_html.py
2017-04-15 15:54:06 +02:00
Takeshi KOMIYA
939f01eae3
Fix #3594 : LaTeX: single raw directive has been considereed as block level element
2017-04-08 11:54:01 +09:00
Takeshi KOMIYA
8f9dd64992
Merge branch 'stable'
2017-03-26 11:52:15 +09:00
Takeshi KOMIYA
c57e47e042
Year++
2017-03-26 11:49:34 +09:00
Travis A. Everett
4c67c110f6
Also change depart_admonition calls for html5 builder
2017-03-04 20:32:46 -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
Jellby
68cf06a2ce
Update version (there's still hope)
2017-03-04 12:14:54 +01:00
Jellby
3ce6168958
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
tests/test_build_html.py
2017-03-04 12:03:15 +01:00
Takeshi KOMIYA
432ec25d9c
Fix for py3
2017-03-04 01:03:29 +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
c1a70397e1
Add InventoryFile.dump()
2017-03-02 23:48:05 +09:00
Yoshiki Shibukawa
0ef9ac54f1
Add experimental HTML5 writer
2017-03-02 09:56:50 +09:00
Takeshi KOMIYA
0b1178bff7
Merge branch 'stable'
2017-03-01 15:04:28 +09:00