Commit Graph

8497 Commits

Author SHA1 Message Date
Takeshi KOMIYA
621a4e6f61 Fix #3628: Rename sphinx_themes entry point to sphinx.html_themes 2017-04-22 14:59:10 +09:00
Takeshi KOMIYA
45887c7d62 Merge pull request #3589 from tk0miya/support_remote_images
Support remote images
2017-04-22 10:08:06 +09:00
Takeshi KOMIYA
9ad4c9125f Fix module docstring 2017-04-22 09:50:19 +09:00
Takeshi KOMIYA
241c0db7bc Merge branch 'master' into support_remote_images 2017-04-22 09:45:05 +09:00
Takeshi KOMIYA
3aef91764d Store the downloaded images only if status_code == 200 2017-04-22 09:25:41 +09:00
Takeshi KOMIYA
7846a4a68f Merge pull request #3651 from shibukawa/fix/epub3_theme
fix #2762: change html template for xhtml validation error (for epub)
2017-04-21 23:11:00 +09:00
Yoshiki Shibukawa
76ff2c0135 fix #2762: change html template for xhtml validation error (for epub) 2017-04-21 13:02:32 +09:00
Takeshi KOMIYA
868bb4b2a9 Merge pull request #3650 from shibukawa/fix/author
move Shibukawa from contributor to co-maintainer
2017-04-21 11:02:09 +09:00
Yoshiki Shibukawa
3b33786796 move Shibukawa from contributor to co-maintainer 2017-04-21 10:40:25 +09:00
Takeshi KOMIYA
3357f8b28a Add docstrings to sphinx.theming 2017-04-21 01:06:48 +09:00
Takeshi KOMIYA
30a10d3e29 Fix typo 2017-04-21 00:48:36 +09:00
Yoshiki Shibukawa
fb48f5a921 Merge pull request #3505 from shibukawa/feature/refactoring_epub_builder
Refactoring EPUB builders: split common codes from EPUB2 builder
2017-04-21 00:25:16 +09:00
Takeshi KOMIYA
70b86401d0 Merge pull request #3648 from tk0miya/refactor_theming
Refactor sphinx.theming (T/O)
2017-04-21 00:23:08 +09:00
Takeshi KOMIYA
1ee744208d Fix mypy violations 2017-04-21 00:09:52 +09:00
Takeshi KOMIYA
e24779b1cc Drop old methods 2017-04-21 00:09:50 +09:00
Takeshi KOMIYA
ca7bb5140e Refactored again 2017-04-20 20:45:44 +09:00
Takeshi KOMIYA
faefe2b5a5 Add HTMLThemeFactory class 2017-04-20 20:45:44 +09:00
Takeshi KOMIYA
b405c0aaf5 Refactor sphinx.theming 2017-04-20 20:45:44 +09:00
Takeshi KOMIYA
637dd02f14 Refactor Theme class 2017-04-20 20:45:44 +09:00
Takeshi KOMIYA
81ef0de7b4 Split theme manager and theme instance class 2017-04-20 20:45:44 +09:00
Takayuki SHIMIZUKAWA
6729d44431 Merge pull request #3635 from tk0miya/stylesheet_behaves_like_a_string
Add styleesheet class
2017-04-20 07:35:03 +09:00
Takayuki SHIMIZUKAWA
9a7cd2a9ad Merge pull request #3646 from jwilk/re.sub
Remove misplaced flags from re.sub() calls
2017-04-20 07:29:17 +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
f21ce2f03f Fix markup 2017-04-20 02:02:27 +09:00
Takeshi KOMIYA
358005bd43 Show the location if warniserror enabled 2017-04-20 02:01:57 +09:00
Takeshi KOMIYA
f95b54a78e Make messages translatable 2017-04-20 01:49:17 +09:00
Yoshiki Shibukawa
7bbf749bd1 Refactoring EPUB builders: split common codes from EPUB2 builder 2017-04-20 00:48:00 +09:00
shimizukawa
4f620bf955 Update CHANGES refs #3644 2017-04-20 00:16:32 +09:00
Takeshi KOMIYA
36f09e83d7 Merge pull request #3643 from shibukawa/feature/fix_epub_theme_for_html5
fix #3641: Fix epub style to adopt html5 experimental writer
2017-04-20 00:13:38 +09:00
Takayuki SHIMIZUKAWA
4b2cacddf9 Merge pull request #3644 from jdemeyer/inspect_isfunction
Use inspect instead of checking types
2017-04-20 00:11:19 +09:00
Jeroen Demeyer
3e2255cd64 Use inspect instead of checking types 2017-04-19 15:38:03 +02:00
Yoshiki Shibukawa
23f55ac58d Merge pull request #3640 from shibukawa/feature/html5_enabled_for_epub_by_default
fix #3639: use html5 writer for epub by default
2017-04-19 22:22:37 +09:00
Yoshiki Shibukawa
388d5936c1 Update CHANGES
fix typo
2017-04-19 22:09:39 +09:00
Takeshi KOMIYA
806dff0e94 Merge branch 'master' into support_remote_images 2017-04-19 21:45:24 +09:00
Takeshi KOMIYA
17481d8524 Send If-modified-since header on downloading images 2017-04-19 21:44:04 +09:00
Yoshiki Shibukawa
b0f395ad37 fix #3641: Fix epub style to adopt html5 experimental writer 2017-04-19 21:29:43 +09:00
shimizukawa
ac6a74ad89 Update CHANGES refs #3449 2017-04-19 21:27:41 +09:00
Takayuki SHIMIZUKAWA
6cb582fdd3 Merge pull request #3449 from njsmith/getargspec-__wrapped__
On py3, use inspect.signature for more accurate signature calculation
2017-04-19 21:21:19 +09:00
Yoshiki Shibukawa
213b2a2c79 Update CHANGES
Fix option name
2017-04-19 20:41:58 +09:00
Takeshi KOMIYA
af1defa95e Fix style error 2017-04-19 20:36:44 +09:00
Yoshiki Shibukawa
7262c709fe fix #3639: use html5 translator for epub by default 2017-04-19 20:00:37 +09:00
shimizukawa
de2cd652ab update CHANGES refs #2961 2017-04-19 16:28:56 +09:00
Takayuki SHIMIZUKAWA
1b6ac8b22d Merge pull request #2961 from rjarry/mock_imports
enhance autodoc_mock_imports
2017-04-19 16:20:22 +09:00
Takayuki SHIMIZUKAWA
2e13e1f0ca Merge pull request #3637 from NickVolynkin/spell-github-the-right-way
spell "GitHub" the right way
2017-04-19 13:35:18 +09:00
Nick Volynkin
3dee761727 spell "GitHub" the right way 2017-04-19 11:08:36 +07:00
Takeshi KOMIYA
e6f8cd6c78 Add styleesheet class
To keep compatibility with old themes, an instance of stylesheet behaves as
its filename (refs: #1767).
2017-04-19 10:09:46 +09:00
Takeshi KOMIYA
a43f7b47c2 Change the default setting of supported_remote_images 2017-04-19 01:40:49 +09:00
Takeshi KOMIYA
ebdec70dfc Support images in Data URI on non-HTML builders 2017-04-19 01:40:49 +09:00
Takeshi KOMIYA
be261ed71e Add utility methods and testcases to sphinx.util.images 2017-04-19 01:40:28 +09:00
Takeshi KOMIYA
027872f569 Guess mimetype on downloading 2017-04-19 01:40:28 +09:00