Commit Graph
3747 Commits
Author SHA1 Message Date
Takeshi KOMIYA 1148f9f951 Merge branch '2.1.1' into 6451_autodoc_optonal_imported_modules 2019-06-10 02:31:32 +09:00
Takeshi KOMIYA c3b93c15c2 Update CHANGES for PR #6445 2019-06-10 01:42:14 +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 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
Takeshi KOMIYA 4945628594 Fix #6455: napoleon: docstrings for properties are not processed 2019-06-08 13:51:14 +09:00
Takeshi KOMIYA f0b1cbb734 Merge pull request #6453 from tk0miya/6452_autosummary_crashed_with_properties
Fix #6452: autosummary: crashed when generating document of properties
2019-06-07 22:49:01 +09:00
Takeshi KOMIYA bc5e18af92 Fix #6452: autosummary: crashed when generating document of properties 2019-06-07 02:23:39 +09:00
jfbu 40678562df Merge branch '2.1.1' into latex_note_fixallowbreak 2019-06-05 17:09:56 +02:00
Takeshi KOMIYA 2f93300920 Fix #6448: autodoc: crashed when autodocumenting classes with __slots__ = None 2019-06-05 22:28:39 +09:00
jfbu bf0ad9e80c LaTeX: prevent pagebrak separating note from section title
Fixes: #6442
2019-06-04 13:57:24 +02:00
Takeshi KOMIYA 3360f2461c Bump version 2019-06-02 21:14:52 +09:00
Takeshi KOMIYA 653b0e0000 Bump to 2.1.0 final 2019-06-02 21:10:40 +09:00
Takeshi KOMIYA 290ead8ce7 Merge changes entry for 2.0.2 to 2.1.0 2019-06-02 20:33:42 +09:00
Takeshi KOMIYA 27dd8367c6 Merge pull request #6423 from tk0miya/1063_autodoc_undoc_module_variables
Fix #1063: autodoc: automodule directive handles undocumented module level variables
2019-06-02 16:20:49 +09:00
Takeshi KOMIYA 91fceb4b5f Merge branch '2.0.2' into 2.0 2019-06-02 00:58:46 +09:00
Takeshi KOMIYA 69d93c967c Fix #1063: autodoc: automodule directive handles undocumented module level variables 2019-06-01 23:18:37 +09:00
Takeshi KOMIYA 71842264b2 Sphinx.add_lexer() now takes a Lexer class instead of instance 2019-06-01 13:49:16 +09:00
Takeshi KOMIYA 2afba22cee Merge pull request #6397 from tk0miya/6361_autodoc_typehints
Close #6361: autodoc: Add autodoc_typehints to suppress typehints from signature
2019-06-01 01:07:37 +09:00
Takeshi KOMIYA e4830f562c Update CHANGES for PR #6408 2019-05-31 00:50:14 +09:00
Takeshi KOMIYA 29336e6c45 Merge pull request #6403 from tk0miya/6402_unknown_image
Fix #6402: image directive crashes by unknown image format
2019-05-30 01:30:33 +09:00
Takeshi KOMIYA d6063ff35b doc: Fold lines by 80 columns 2019-05-30 01:07:05 +09:00
Takeshi KOMIYA e80f88ac62 Merge pull request #6404 from tk0miya/6347_autodoc_crashes_by_plain_Tuple
Fix #6347: autodoc: crashes with a plain Tuple on Python 3.6 and 3.5
2019-05-30 00:58:45 +09:00
Takeshi KOMIYA 3456ea7a72 Fix #6402: image directive crashes by unknown image format 2019-05-30 00:56:31 +09:00
Takeshi KOMIYA eea9fbbdae Merge pull request #6401 from tk0miya/4390_semantic_signature_in_HTML
Fix #4390: html: Consistent and semantic CSS for signatures
2019-05-30 00:49:25 +09:00
Takeshi KOMIYA 4ded940ee5 Close #6239: latex: Support to build Chinese documents 2019-05-29 00:58:11 +09:00
Takeshi KOMIYA 880c47ff61 Fix #6347: autodoc: crashes with a plain Tuple on Python 3.6 and 3.5 2019-05-29 00:51:01 +09:00
Takeshi KOMIYA bd4cd571e9 Fix #4390: html: Consistent and semantic CSS for signatures 2019-05-29 00:49:13 +09:00
Takeshi KOMIYA b7a39276b8 Fix #6406: Wrong year is returned for `SOURCE_DATE_EPOCH` 2019-05-29 00:40:55 +09:00
Takeshi KOMIYA 224551ca6c Merge pull request #6395 from tk0miya/6350_autosummary_is_confused_by_default_value
Fix #6350: autosummary is confused by an argument having some kind of default value
2019-05-27 01:53:34 +09:00
Takeshi KOMIYA 9f59a0416b Merge pull request #6394 from tk0miya/6387_search_on_haiku
Fix #6387: html search: failed to search document with haiku and scrolls themes
2019-05-27 01:52:44 +09:00
Takeshi KOMIYA 9b2423c5bb doclinter: restrict by 90 columns 2019-05-26 10:53:53 +09:00
Takeshi KOMIYA 0ea380eddd Close #6361: autodoc: Add autodoc_typehints to suppress typehints from signature 2019-05-26 00:35:24 +09:00
Takeshi KOMIYA dd1b5beb74 Fix #6350: autosummary is confused by an argument having namedtuple as a default value 2019-05-25 21:25:07 +09:00
Takeshi KOMIYA 5d640f3c10 Fix #6350: autosummary is confused by an argument having default string value containing a single quote 2019-05-25 21:25:07 +09:00
Takeshi KOMIYA 4b86215fbf Fix #6387: html search: failed to search document with haiku and scrolls themes 2019-05-25 21:21:44 +09:00
jfbu fea3e639da Update CHANGES for PR #6364 2019-05-24 17:05:53 +02:00
Stefan Wallentowitz ac0bb5132b Fix latex figure in admonition
Using figures in an admonition produces a LaTeX error ("Not in outer
par mode."). This is because it generates a float in a float. This can
be trivially fixed by overwriting the alignment to H, which is also
what is most probably intended.
2019-05-24 16:07:13 +02:00
Takeshi KOMIYA 277aba935d Close #6325: autodoc: Support attributes in __slots__ 2019-05-22 09:56:46 +09:00
Takeshi KOMIYA 557d8d140e Merge pull request #6365 from tk0miya/refactor_py_domain
Add :abstractmethod: option to py:method directive and support abstractmethod by autodoc
2019-05-19 23:46:34 +09:00
Takeshi KOMIYA 603bae4173 Merge pull request #6376 from tk0miya/6375_angle_brackets_in_linktitle
Fix #6375: extlinks: Cannot escape angle brackets in link caption
2019-05-19 23:43:50 +09:00
Takeshi KOMIYA 220dbfe6cf Merge pull request #6383 from tk0miya/6379_dup_modindex
Fix #6379: py domain: Module index (py-modindex.html) has duplicate titles
2019-05-19 23:43:09 +09:00
Takeshi KOMIYA 1be3f6c653 Merge branch '2.0' into 6375_angle_brackets_in_linktitle 2019-05-19 23:28:05 +09:00
Takeshi KOMIYA 8ed6a9ceb4 Fix #6379: py domain: Module index (py-modindex.html) has duplicate titles 2019-05-19 22:19:13 +09:00
Takeshi KOMIYA 690a566791 Fix #6378: linkcheck: Send commonly used User-Agent 2019-05-19 01:39:05 +09:00
Takeshi KOMIYA 4fc121fb99 Update CHANGES 2019-05-17 01:55:08 +09:00
Takeshi KOMIYA 279223065b Merge branch '2.0' into master 2019-05-17 01:24:45 +09:00
Takeshi KOMIYA 092d87bde9 Fix #6375: extlinks: Cannot escape angle brackets in link caption 2019-05-16 23:14:57 +09:00
Gibson Fahnestock 6f7cb4da94 autosectionlabel: add type for suppress_warnings
This sets the subtype to the filename, which means that you can suppress
warnings for individual paths.

For example for the following warning:

```
path/to/file.rst:5547: WARNING: duplicate label path/to/file:label, other instance in /path/to/file.rst
```

You would add this to `config.py` to suppress all warnings:

```python
extensions = [
    'sphinx.ext.autosectionlabel',
]

autosectionlabel_prefix_document = True

suppress_warnings = [
    'autosectionlabel.*',
]
```

To suppress warnings for the individual file path you would do:

```python
suppress_warnings = [
    'autosectionlabel.path/to/file',
]
```

Fixes: https://github.com/sphinx-doc/sphinx/issues/6371
2019-05-15 19:30:46 +01:00
Adrián Chaves e84ba7f78a Support coverage_ignore_pyobjects in the coverage builder 2019-05-15 12:23:05 +02:00