Commit Graph
100 Commits
Author SHA1 Message Date
Takeshi KOMIYA 2c5a9f3975 Use instance variable instead of class' to store of Sphinx.add_latex_package() 2016-07-18 12:07:48 +09:00
Takeshi KOMIYA 861316e9b6 Merge pull request #2784 from glennmatthews/python-exception-typing
Create PyGroupedField and use it for 'exceptions'
2016-07-16 23:42:51 +09:00
Takeshi KOMIYA bd5496aa61 Merge pull request #2737 from tk0miya/2680_todo_emit_warnings
#2680: `sphinx.ext.todo` now emits warnings if `todo_emit_warnings` enabled
2016-07-16 00:59:21 +09:00
Takeshi KOMIYA 253eef9e6a #2680: sphinx.ext.todo now emits warnings if todo_emit_warnings enabled 2016-07-16 00:59:02 +09:00
Takeshi KOMIYA 9e9eeaaf84 Remove env from DONT_CHECK (ref: #2760) 2016-07-16 00:47:19 +09:00
Takeshi KOMIYA 475be2c31b Fix common template files are not distributed 2016-07-15 22:36:05 +09:00
Takeshi KOMIYA de47f2885c Use latest setuptools for testing 2016-07-15 11:08:41 +09:00
Takeshi KOMIYA 0e9938fa4f Update skiplist of style-checker 2016-07-15 10:52:16 +09:00
Takeshi KOMIYA 947a457444 Merge pull request #2776 from shibukawa/fix/qthelpbuilder
fix #2352 (qthelp builder should have ) and improve qthelp readability
2016-07-15 01:56:39 +09:00
Takeshi KOMIYA a692009808 Merge branch 'stable' 2016-07-15 00:51:29 +09:00
Takeshi KOMIYA 736615c18c Optimized tests: remove markups for warnings 2016-07-15 00:30:44 +09:00
Takeshi KOMIYA 6686ebf158 Optimized tests: Add test-warnings 2016-07-14 23:12:57 +09:00
Takeshi KOMIYA 1dfa1a8d1e nose-timer: show top 25 slower testcases 2016-07-14 21:10:32 +09:00
Takeshi KOMIYA 13c63cb173 Optimize tests: test_get_items_summary 2016-07-14 21:07:33 +09:00
Takeshi KOMIYA 41f77d8152 Use applehelp_disable_external_tools on testing (for non MacOS) 2016-07-14 20:25:10 +09:00
Takeshi KOMIYA 2b6a83599d applehelp: Sphinx crashes if `hiutil or codesign` commands not found 2016-07-14 20:24:00 +09:00
Takeshi KOMIYA 47b33e93e5 Optimize tests: test_applehelp_output 2016-07-14 09:41:46 +09:00
Takeshi KOMIYA b035094067 Optimize tests: test_ifconfig 2016-07-14 09:16:51 +09:00
Takeshi KOMIYA f66208e939 Enable nose-timer on Travis CI (again) 2016-07-14 02:27:28 +09:00
Takeshi KOMIYA d0adc44b90 Enable nose-timer on Travis CI 2016-07-14 02:08:56 +09:00
Takeshi KOMIYA c23a59b70c Optimize tests: test_searchadapters 2016-07-14 02:02:25 +09:00
Takeshi KOMIYA 5492b9ebc7 Optimize tests: Remove test_i18n (duplicated with test_intl) 2016-07-14 01:45:55 +09:00
Takeshi KOMIYA b95f450452 Optimize tests: test_jsmath 2016-07-14 01:43:25 +09:00
Takeshi KOMIYA 3fb439c476 Optimize tests: test_imgmath_png, test_imgmath_svg 2016-07-14 01:36:40 +09:00
Takeshi KOMIYA edacbd56d1 Optimize tests: test_master_doc_not_found 2016-07-14 01:20:55 +09:00
Takeshi KOMIYA 1dd249dd8d Merge branch 'stable' 2016-07-13 21:29:47 +09:00
Takeshi KOMIYA e3fa9b7209 Bump version 2016-07-13 21:26:41 +09:00
Takeshi KOMIYA effc597cb5 Bump to 1.4.5 final 2016-07-13 21:20:14 +09:00
Takeshi KOMIYA 6ad35e53f6 Merge pull request #2773 from shibukawa/update/jquery
Fix #2634 (Update jquery to latest from 1.x)
2016-07-13 15:15:20 +09:00
Takeshi KOMIYA b58b6014c9 Merge pull request #2621 from TimKam/fix-stemming-removes-short-words-from-search-results
Fix: stemming removes short words from search results
2016-07-12 14:05:41 +09:00
Takeshi KOMIYA 6e059fe697 Merge pull request #2767 from mixmastamyk/stable
Add default alt attribute for img tags in SVG format.
2016-07-09 11:49:27 +09:00
Takeshi KOMIYA bd715c8155 Remove debug print 2016-07-09 01:05:37 +09:00
Takeshi KOMIYA 4fbcb5bfd6 math: Add hyperlink marker to each equations in HTML output 2016-07-09 00:22:03 +09:00
Takeshi KOMIYA 3807eda6df Merge pull request #2766 from silviot/stable
Make javascript search work in python 3
2016-07-08 23:08:35 +09:00
Takeshi KOMIYA b21ba65873 Merge pull request #2759 from scop/optimize-images
Optimize images
2016-07-08 22:00:19 +09:00
Takeshi KOMIYA 234955a3ff Merge pull request #2746 from tk0miya/check_config_value_as_enum
Add sphinx.config.ENUM to check the config values is in candidates
2016-07-08 21:55:30 +09:00
Takeshi KOMIYA e3a17ce125 Merge pull request #2761 from scop/with
Handle more file closing with "with"
2016-07-08 10:10:30 +09:00
Takeshi KOMIYA d1a427c51e Merge branch 'stable' 2016-07-08 01:09:28 +09:00
Takeshi KOMIYA 11b0602769 Merge pull request #2742 from tk0miya/2667_WIDTH
Fix #2667: latex crashes if resized images appeared in section title
2016-07-08 01:05:49 +09:00
Takeshi KOMIYA 593708a39c Fix importing error 2016-07-08 00:14:13 +09:00
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 5991bbe4ac Add sphinx.config.ENUM to check the config values is in candidates 2016-07-07 23:42:49 +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
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 7eca745b5c Fix #2667: latex crashes if resized images appeared in section title 2016-07-05 14:33:44 +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
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
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
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
Takeshi KOMIYA 1eaa412372 Fix CHANGES for PR#2650 (again) 2016-06-30 20:06:18 +09:00
Takeshi KOMIYA 624bcef1cb Merge remote-tracking branch 'tjanez/setup-warning-is-error-master' 2016-06-30 20:05:37 +09:00
Takeshi KOMIYA 2a5e5a5530 Update CHANGES for PR#2650 2016-06-30 10:55:02 +09:00
Takeshi KOMIYA d3fe0f82dd Merge pull request #2650 from mindw/build_sphinx_pdb_opt
add --pdb support to setuptools command
2016-06-30 10:54:09 +09:00
Takeshi KOMIYA 3d3ee6fef3 Merge pull request #2716 from tk0miya/rstdim_to_latexdim
Refactoring latex writer
2016-06-27 11:18:28 +09:00
Takeshi KOMIYA b1c6717743 Check latex_image_length() returns none value 2016-06-27 01:36:00 +09:00
Takeshi KOMIYA cd093fb0ca latex writer considers unitless dimensions as px based 2016-06-26 22:56:20 +09:00
Takeshi KOMIYA fe3f2a4a3f latex: Do not convert px to float 2016-06-26 22:55:57 +09:00
Takeshi KOMIYA cb00f51328 latex: Raise error if invalid dimension value 2016-06-26 22:55:54 +09:00
Takeshi KOMIYA 4bc5a242ce Show warnings if invalid dimension units found 2016-06-26 22:32:34 +09:00
Takeshi KOMIYA efd74a9e14 latex, replace `pt by TeX equivalent bp if found in width or height` attribute of an image (ref: #2714) 2016-06-26 12:03:55 +09:00
Takeshi KOMIYA 980da84393 Merge branch 'stable' 2016-06-26 11:44:55 +09:00
Takeshi KOMIYA e134dc6f57 Fix a condition in latex_image_length() 2016-06-26 11:44:11 +09:00
Takeshi KOMIYA 593f12060c Fix warning in CHANGES 2016-06-26 11:40:08 +09:00
Takeshi KOMIYA 0859b338d8 LaTeX writer: Integerate width_to_latex_length() and latex_image_length() (ref: #2714) 2016-06-26 11:30:02 +09:00
Takeshi KOMIYA 7a81169e4c Fix warning in CHANGES 2016-06-25 10:31:30 +09:00
Takeshi KOMIYA 211fd352ae Fix #2579: Could not refer a label including both spaces and colons via sphinx.ext.intersphinx
This fixes only the case the label including both spaces and colons as
ad-hoc. There is still a bug if a label having spaces, colons and
numbers like "foo bar:baz 1234".

Note: To support the case, we have to improve the inventory format.
2016-06-24 21:11:31 +09:00
Takeshi KOMIYA ce1b9e3192 Fix flake8 violation 2016-06-24 14:51:25 +09:00