Commit Graph

2769 Commits

Author SHA1 Message Date
jfbu
7be68b7c4b Add latexpdf support for Greek as main language (via xelatex use)
Closes: #6710
2019-10-01 10:27:43 +02:00
Takeshi KOMIYA
a5d8e3d457 Merge pull request #6419 from larsoner/config
ENH: Explain rebuilds
2019-08-18 22:04:27 +09:00
Jon Dufresne
ecb1e763ad Switch uses of __import__ to importlib.get_module()
The Python docs for __import__ recommend using importlib.get_module().

https://docs.python.org/3/library/functions.html#__import__

> Note: This is an advanced function that is not needed in everyday
> Python programming, unlike importlib.import_module().

As importlib.get_module() uses the Python module cache and returns the
module, this also allows simplifying many module cache checks of use of
sys.modules.

importlib.get_module() has been available since Python 3.3.
2019-08-17 11:45:39 -07:00
Eric Larson
c0e46adc07 ENH: Explain rebuilds 2019-08-06 09:59:35 -04:00
Takeshi KOMIYA
b43676011e Merge branch '2.0' into 6574_annotation_for_varidic_params 2019-08-03 02:19:29 +09:00
Takeshi KOMIYA
04fbd51b4e Merge pull request #6592 from tk0miya/6589_autodoc_typehints_none
Fix #6589: autodoc: Formatting issues with autodoc_typehints='none'
2019-08-02 22:36:43 +09:00
Takeshi KOMIYA
ace7b4ded7 Fix #6589: autodoc: Formatting issues with autodoc_typehints='none' 2019-08-02 01:55:53 +09:00
Takeshi KOMIYA
d9d8ba5e7f Fix #6606: Update jQuery to 3.4.1 2019-08-02 01:53:32 +09:00
Takeshi KOMIYA
b3eb853680 Merge branch '2.0' into 6574_annotation_for_varidic_params 2019-08-02 01:29:39 +09:00
Takeshi KOMIYA
8c924f1b3d Fix autodoc: autodoc_member_order_does not refer order of imports (refs: #6574) 2019-07-13 22:02:49 +09:00
Takeshi KOMIYA
0bc530f1b7 Merge pull request #6563 from tk0miya/6561_glossary_hyperrer_for_alphanumeric_term
Fix #6561: glossary: Wrong hyperlinks are generated for non alphanumeric terms
2019-07-13 21:16:31 +09:00
Takeshi KOMIYA
a252636333 Merge branch '2.0' into 6561_glossary_hyperrer_for_alphanumeric_term 2019-07-13 20:59:48 +09:00
Takeshi KOMIYA
92491c0769 Fix autodoc: missing type annotation for variadic and keyword parameters (refs: #6574) 2019-07-13 19:25:38 +09:00
Takeshi KOMIYA
1c088ec163 Fix #6567: autodoc: autodoc_inherit_docstrings does not effect to __init__() 2019-07-11 01:39:17 +09:00
Takeshi KOMIYA
b56390644d Fix #6561: glossary: Wrong hyperlinks are generated for non alphanumeric terms 2019-07-09 00:13:21 +09:00
Nathan Goldbaum
a570ea6c03 Fix #6545. Strip doctests for doctest_node blocks. 2019-07-07 19:28:45 -04:00
Takeshi KOMIYA
fde3d2a1ed Merge branch '2.0' into 5592_cmdoption_registers_multiple_indices 2019-07-07 16:40:17 +09:00
Takeshi KOMIYA
31207aa813 Fix #736: Invalid sort in pair index 2019-07-06 14:12:12 +09:00
Takeshi KOMIYA
95723aa6f6 Fix flake8 violations 2019-07-01 00:28:30 +09:00
Takeshi KOMIYA
d615eff08e Fix #6531: Failed to load last environment object when extension added 2019-06-30 15:21:13 +09:00
jfbu
65739a46ad LaTeX: refactor visit_enumerated_list() to use \sphinxsetlistlabels
Fixes: #6511
2019-06-29 19:27:40 +02:00
Takeshi KOMIYA
e7644547e7 Merge branch '2.0' into refactor_autosummary3 2019-06-22 01:34:47 +09:00
Takeshi KOMIYA
0595adce03 Merge pull request #6506 from tk0miya/6498_crashed_with_wrong_autosummary_generate
Fix #6498: autosummary: crashed with wrong autosummary_generate setting
2019-06-22 01:32:44 +09:00
Takeshi KOMIYA
1aa1373ce3 Fix #6498: autosummary: crashed with wrong autosummary_generate setting 2019-06-19 14:03:42 +09:00
Takeshi KOMIYA
ab38b2dd8e Fix #6507: autosummary: crashes without no autosummary_generate setting 2019-06-19 13:51:38 +09:00
Takeshi KOMIYA
efc0c19142 Merge pull request #6449 from tk0miya/6444_non_existing_urls
Fix #6444: test: replace example.com by existing page
2019-06-19 11:19:23 +09:00
Takeshi KOMIYA
d8208d406a Close #1464: html: warn html_static_path is inside outdir 2019-06-18 01:21:08 +09:00
Takeshi KOMIYA
99d9a6f123 Close #5592: option directive registers an index entry for each comma separated option 2019-06-16 18:58:34 +09:00
Takeshi KOMIYA
09610fb77e Add testcase for option directive 2019-06-16 16:37:02 +09:00
Takeshi KOMIYA
e5881c2344 Add testcase for math directive 2019-06-15 16:39:18 +09:00
Takeshi KOMIYA
e0eb86224d Merge branch '2.1.1' into 2.0 2019-06-10 22:31:18 +09:00
Takeshi KOMIYA
21be789d4d Revert "Fix #1063: autodoc: automodule directive handles undocumented module level variables"
This reverts commit 69d93c967c (without
CHANGES).
2019-06-10 21:40:11 +09:00
Takeshi KOMIYA
1148f9f951 Merge branch '2.1.1' into 6451_autodoc_optonal_imported_modules 2019-06-10 02:31:32 +09:00
Takeshi KOMIYA
bc61713ab6 Merge branch '2.1.1' into 6436_napoleon_unknown_target_name 2019-06-10 01:00:39 +09:00
Takeshi KOMIYA
5cabe8be35 Merge branch '2.1.1' into 2.0 2019-06-09 00:59:38 +09:00
Takeshi KOMIYA
c4dfc7402e Fix #6436: napoleon: "Unknown target name" error 2019-06-09 00:23:18 +09:00
Takeshi KOMIYA
0aed08b5be Fix #6451: autodoc: generates docs for "optional import"ed modules as variables 2019-06-08 19:06:52 +09:00
Stephen Finucane
65122ad1cb apidoc: Insert newlines between submodules
Fix a regression introduced in 2.1.0 where submodules didn't have a
newline between them resulting in the following warning:

  Explicit markup ends without a blank line; unexpected unindent.

Signed-off-by: Stephen Finucane <stephen@that.guru>
Closes: #6440
2019-06-07 15:35:01 +01:00
Takeshi KOMIYA
bc5e18af92 Fix #6452: autosummary: crashed when generating document of properties 2019-06-07 02:23:39 +09:00
Takeshi KOMIYA
9b2c1c679a Fix #6444: test: replace example.com by existing page 2019-06-05 23:42:24 +09:00
Takeshi KOMIYA
301102edff Merge pull request #6439 from mitya57/reproducible-downloads
Make generated download links reproducible
2019-06-05 22:37:58 +09:00
Dmitry Shachnev
9df6e40145 Test that downloads with the same filename are still handled correctly 2019-06-03 20:00:14 +03:00
Dmitry Shachnev
6fc8873087 Make generated download links reproducible
Without this change the hexdigest generated in DownloadFiles.add_file()
depends on source_dir, while just the path fragment relative to it is
sufficient.
2019-06-03 19:37:21 +03:00
Takeshi KOMIYA
81e2e1d971 test: Update testcase for autoclass_content and autodoc_docstring_signature 2019-06-03 23:20:33 +09:00
Takeshi KOMIYA
f7851b62e0 test: Update testcase for autoclass_content 2019-06-03 23:20:33 +09:00
Takeshi KOMIYA
f4114bb794 test: Update testcase for autodoc_inherit_docstrings 2019-06-03 22:34:35 +09:00
Takeshi KOMIYA
42e9fd896e test: Move class inheritance samples into target.inheritance module 2019-06-03 22:34:33 +09:00
Takeshi KOMIYA
c8554e7673 test: Move testcases for autodoc events to test_ext_autodoc_events 2019-06-03 01:32:36 +09:00
Takeshi KOMIYA
7de8c63407 test: Move testcases for autodoc configurations to test_ext_autodoc_configs 2019-06-03 01:28:56 +09:00
Takeshi KOMIYA
8da90bbe24 test: Update testcase for autodoc-process-docstring 2019-06-03 01:16:20 +09:00