Commit Graph

6799 Commits

Author SHA1 Message Date
Takeshi KOMIYA
a37106599c Fix typo 2016-07-08 00:12:44 +09:00
Takeshi KOMIYA
3c756e7688 Use SphinxRenderer as a default renderer of copy_asset() 2016-07-07 23:48:39 +09:00
Takeshi KOMIYA
d984852908 Fix flake8 violation 2016-07-07 23:41:13 +09:00
Takeshi KOMIYA
8a4b01a2b7 Merge pull request #2754 from tk0miya/2753_smartcopy
``sphinx.util.osutil.filecopy()`` skips copying if the file has not been changed (ref: #2510, #2753)
2016-07-07 23:38:27 +09:00
Takeshi KOMIYA
f120e4afdf Merge pull request #2758 from scop/tests
Fix style checks and run them on Travis
2016-07-07 23:38:01 +09:00
Takeshi KOMIYA
2e83592ae7 Show warnings if deprecated latex options are used 2016-07-07 23:15:51 +09:00
Ville Skyttä
7cfbc2a702 Fix style checks 2016-07-07 16:48:12 +03:00
Ville Skyttä
77f9bbd9cc Travis: Run style-check with Python 3.5
Doing this with 3.5 only, because the PEP 484 annotation examples in
docs won't compile with old Python versions, causing failures.
2016-07-07 16:29:14 +03:00
Takeshi KOMIYA
27fe1cfed5 latex: validate config values on builder-inited event 2016-07-07 22:23:35 +09:00
Takeshi KOMIYA
c06b21725d Fix invalid variable name was used 2016-07-07 22:22:01 +09:00
Takeshi KOMIYA
19abdb0198 Merge pull request #2752 from tk0miya/jinja2ized_latex_template
Jinja2-ize latex writer
2016-07-07 22:16:16 +09:00
Takeshi KOMIYA
cc3e4fba75 Jinja2-ize latex writer 2016-07-07 21:50:03 +09:00
Takeshi KOMIYA
d99c6c11fc `sphinx.util.osutil.filecopy()` skips copying if the file has not been changed (ref: #2510, #2753) 2016-07-07 12:04:03 +09:00
Takeshi KOMIYA
8fdbdc3fa9 Merge pull request #2744 from tk0miya/refactor_copying_assets
Refactor copying assets
2016-07-07 11:24:17 +09:00
Takeshi KOMIYA
f8955b16d6 Replace all copy_static_entry() with copy_asset()
At same time, copy_static_entry() is now deprecataed
2016-07-07 00:10:26 +09:00
Takeshi KOMIYA
02dbf860c2 Refactor: Use copy_asset() to copy html_static_path 2016-07-07 00:06:54 +09:00
Takeshi KOMIYA
bb1e6f9044 Refactor: Replace copy_extra_entry() with copy_asset() 2016-07-07 00:02:57 +09:00
Takeshi KOMIYA
829b5631a3 Add testcase for compile_matchers() 2016-07-06 23:58:46 +09:00
Takeshi KOMIYA
db23797c57 copy_asset_file() does not expand if context not given 2016-07-06 23:58:46 +09:00
Takeshi KOMIYA
07ddff9933 Add sphinx.util.fileutil.copy_asset() 2016-07-06 23:58:46 +09:00
Takeshi KOMIYA
17cd06f237 Add sphinx.util.fileutil.copy_asset_file() 2016-07-06 23:58:46 +09:00
Takeshi KOMIYA
f72879f071 Merge pull request #2748 from tk0miya/builtin_extensions
Now all builders and domains work as built-in extensions
2016-07-06 23:56:44 +09:00
Takeshi KOMIYA
8a45aa5e59 Now all builders and domains work as built-in extensions 2016-07-06 23:25:45 +09:00
Takeshi KOMIYA
fb7e6a22ac Update CHANGES for PR#2454 2016-07-06 01:59:43 +09:00
Takeshi KOMIYA
31c6beb578 Merge pull request #2454 from mgeier/html-sourcelink-txt
Add option html_sourcelink_suffix
2016-07-06 01:43:18 +09:00
Takeshi KOMIYA
e355dde954 Refactor: Use warn_node() instead of warn() 2016-07-03 13:50:52 +09:00
Takeshi KOMIYA
5c83d84d76 Fix flake8 violation 2016-07-03 13:36:50 +09:00
Takeshi KOMIYA
e4799323fb Refactor: refer refexplicit attr on fetching title 2016-07-03 13:22:48 +09:00
Takeshi KOMIYA
16e1378bca Refactor sphinx.domains.std: Separate xref resolvers to each types 2016-07-03 13:22:48 +09:00
Takeshi KOMIYA
c7eac46158 Merge pull request #2743 from tk0miya/separate_pygments_styles
latex: Separate stylesheets of pygments to .sty file
2016-07-03 09:38:24 +09:00
Takeshi KOMIYA
00af06af8f latex: Separate stylesheets of pygments to .sty file
To improve readability of generated LaTeX source code, separate
stylesheets of pygments into independent .sty file.
2016-07-03 01:48:50 +09:00
Rob Ruana
8eecdbd715 [Napoleon] Removes Python 2/3 compatible type annotation doc example, because they aren't current supported by Sphinx 2016-07-02 11:43:55 -04:00
Takeshi KOMIYA
e3c3e4f0cb Merge branch 'stable' 2016-07-02 16:39:13 +09:00
Takeshi KOMIYA
d57b395502 Add a release signature to README (ref: #2612) 2016-07-02 16:37:00 +09:00
jfbu
7796a553d3 Update CHANGES for PR#2726 2016-07-02 07:41:43 +02:00
Jean-François B
8a79144e26 Merge pull request #2726 from jfbu/fixmultirow
Fix #2723: extra spaces in latex pdf output from multirow cell
2016-07-02 07:39:47 +02:00
Takeshi KOMIYA
bd2ad1bc68 Fix #2699: hyperlinks in help HTMLs are broken if html_file_suffix is set 2016-07-02 14:30:38 +09:00
Takeshi KOMIYA
1142a7f43f Fix CHANGES for #2650 (again) 2016-07-02 14:15:03 +09:00
Takeshi KOMIYA
b30d4f4882 Fix #2718: Sphinx crashes if the document file is not readable 2016-07-02 13:54:45 +09:00
Takeshi KOMIYA
63b50b5c8f Merge pull request #2644 from pfultz2/refdoc
Make refdoc attribute optional for pending_xref nodes
2016-07-02 10:47:25 +09:00
Takeshi KOMIYA
2ebeff6776 Fix CHANGES 2016-07-02 10:29:26 +09:00
Takeshi KOMIYA
e6b545c2f2 Update CHANGES for PR#2731 2016-07-02 10:26:57 +09:00
Takeshi KOMIYA
6227a7f98c Merge pull request #2731 from seanfarley/fix-abstractproperty
inspect: return obj.__dict__[name] if there is an exception
2016-07-02 10:22:03 +09:00
jfbu
35214d4518 Fix #2733: `make latexpdf` generates lots of hyperref warnings 2016-07-01 19:18:27 +02:00
Takeshi KOMIYA
26b2e99d73 Merge pull request #2729 from mixmastamyk/patch-3
Add woff support to epub builder - CHANGES
2016-07-01 12:54:53 +09:00
Takeshi KOMIYA
f0d9e5072f Merge pull request #2728 from mixmastamyk/patch-2
Add woff support to epub builder
2016-07-01 12:54:28 +09:00
mixmastamyk
5a03485432 Update epub.py
rm trailing whitespace
2016-06-30 19:49:09 -07:00
mixmastamyk
c80db568eb Update CHANGES 2016-06-30 13:57:25 -07:00
mixmastamyk
2b85a2a3be Update epub.py 2016-06-30 13:51:34 -07:00
Sean Farley
6f058ba173 inspect: return obj.__dict__[name] if there is an exception
When using a cached property, Sphinx tries to access the actual property
of an object which raises NotImplementedError. In these cases, we fall
back to inspecting the __dict__ and returning that instead.
2016-06-30 10:04:02 -07:00