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
Takeshi KOMIYA
7c8b1ad900
refactor: apidoc: Replace makename() by module_join()
2019-05-15 00:18:00 +09:00
Takeshi KOMIYA
af9df449ea
Update CHANGES for PR #6358
2019-05-14 22:32:05 +09:00
Clément Pit-Claudel
44c8a3b982
productionlist: Put the full production in production.rawsource
...
This makes it possible to iterate over the productions and see exactly the text
that was entered by the author, which is useful to e.g. extract information from
the grammar (like syntax-highlighting patterns).
2019-05-13 23:21:55 -04:00
Takeshi KOMIYA
55554b0ead
Update CHANGES for PR #6363
2019-05-13 23:59:23 +09:00
Takeshi KOMIYA
59d0f076ec
Merge branch '2.0' into 6311_autosummary_confused_by_complex_typehints2
2019-05-13 21:16:43 +09:00
jfbu
3e5adaa225
Update CHANGES for #6303
2019-05-13 15:03:53 +09:00
Takeshi KOMIYA
4307dec3ac
Add rst:directive:option directive
2019-05-13 13:55:56 +09:00
Takeshi KOMIYA
19a006f620
Merge branch '2.0' into refactor_py_domain3
2019-05-12 18:29:05 +09:00
Takeshi KOMIYA
935d1ad0af
Merge pull request #6201 from tk0miya/6165_tab_width
...
Fix #6165 : autodoc: ``tab_width`` setting of docutils has been ignored
2019-05-12 17:19:55 +09:00
Takeshi KOMIYA
d329f4e00b
Update CHANGES for PR #6306
2019-05-12 17:10:49 +09:00
Takeshi KOMIYA
1e0a377279
Merge branch '2.0' into 6165_tab_width
2019-05-12 17:06:49 +09:00
Takeshi KOMIYA
ab668396fc
Fix #6351 : "Hyperlink target is not referenced" message is shown even if referenced
2019-05-12 16:07:04 +09:00
Takeshi KOMIYA
a142a654fc
Add :property: option to py:method directive
2019-05-12 15:53:39 +09:00
Takeshi KOMIYA
d290dfd7e9
Fix #6311 : autosummary: autosummary table gets confused by complex type hints
2019-05-12 14:53:25 +09:00
Takeshi KOMIYA
c27373ad76
Merge pull request #6341 from tk0miya/4550_centering_tables_using_css
...
Fix #4550 : html: Centering tables by default using CSS
2019-05-12 13:33:37 +09:00
Takeshi KOMIYA
dc1c5fee70
Fix #6331 : man: invalid output when doctest follows rubric
2019-05-06 21:27:43 +09:00
Takeshi KOMIYA
107c20a11f
Fix #4550 : html: Centering tables by default using CSS
2019-05-06 20:19:53 +09:00
Takeshi KOMIYA
fa560ebf95
apidoc: Deprecate unused functions
2019-05-04 18:42:22 +09:00
Takeshi KOMIYA
1ea23e14df
Fix #6165 : autodoc: `tab_width` setting of docutils has been ignored
2019-04-25 21:44:44 +09:00
Jon Dufresne
ee23a29b3c
Deprecate EpubBuilder.esc() in favor of stdlib html.escape()
...
Available since Python 3.2.
https://docs.python.org/3/library/html.html#html.escape
2019-04-23 19:34:55 -07:00
Takeshi KOMIYA
435ef05b99
Close #4777 : autodoc: Support coroutine
2019-04-23 01:55:48 +09:00
Takeshi KOMIYA
e0abb10792
Fix #4777 : Add :async: option to py:function and py:method directives
2019-04-23 01:40:37 +09:00
Takeshi KOMIYA
a285220778
Merge branch '2.0' into refactor_py_domain2
2019-04-23 01:16:42 +09:00
Takeshi KOMIYA
aabeb71123
imgmath: Use template file for LaTeX
2019-04-16 01:38:31 +09:00
Takeshi KOMIYA
d7025cd1a7
Update CHANGES for PR #6289
2019-04-15 10:25:31 +09:00
Takeshi KOMIYA
4f1aa2c329
Update CHANGES for PR #6288
2019-04-14 19:34:13 +09:00
Takeshi KOMIYA
1900c729a3
Fix #6299 : rst:directive directive generates waste space
2019-04-14 18:32:40 +09:00
Takeshi KOMIYA
11a4e47d62
Merge pull request #6277 from tk0miya/6271_make_clean
...
Fix #6271 : make clean is catastrophically broken if building into '.'
2019-04-14 02:17:56 +09:00
Takeshi KOMIYA
331594e2ca
Add :classmethod: and :staticmethod: options to py:method directive
2019-04-13 23:14:59 +09:00
Takeshi KOMIYA
6af3896103
Add PyFunction and PyVariable; directives for python functions and variables
2019-04-13 20:26:07 +09:00
Takeshi KOMIYA
a337cb793c
Merge pull request #6268 from tk0miya/refactor_py_domain
...
Refactoring python domain: Add new description classes for methods and attributes
2019-04-13 19:46:34 +09:00
Takeshi KOMIYA
d45c0d33f2
Fix #6271 : make clean is catastrophically broken if building into '.'
2019-04-13 14:10:44 +09:00
Takeshi KOMIYA
817cb6e96b
Merge tag 'v2.0.1' into 2.0
2019-04-09 00:19:14 +09:00
Takeshi KOMIYA
e2e4c48e20
Bump to 2.0.1 final
2019-04-09 00:12:06 +09:00
Takeshi KOMIYA
b0b3f5a677
deprecate PyClassmember class
2019-04-07 22:41:10 +09:00
Takeshi KOMIYA
70ed093b8b
Merge branch '2.0.1' into 2.0
2019-04-07 19:17:46 +09:00
Takeshi KOMIYA
6a87ba44e2
Merge branch '2.0.1' into 6263_HTML5Translator_crashed
2019-04-07 18:17:49 +09:00
Takeshi KOMIYA
a397610887
Fix #6263 : html: HTML5Translator crashed with invalid field node
2019-04-07 18:11:02 +09:00
Takeshi KOMIYA
b39faffd4b
Fix #6262 : html theme: The style of field lists has changed in bizstyle theme
2019-04-07 17:58:01 +09:00
Takeshi KOMIYA
f91393f9ef
Fix commented term in glossary directive is wrongly recognized
2019-04-06 15:08:22 +09:00
Takeshi KOMIYA
1199d400f7
Merge pull request #6203 from tk0miya/refactor_citations
...
Add CitationDomain for citation processing
2019-04-06 14:46:32 +09:00
Takeshi KOMIYA
e05e349277
Merge pull request #6236 from tk0miya/refactor_pydomain3
...
Add data accessors and helper methods to PythonDomain
2019-04-06 14:24:30 +09:00
Takeshi KOMIYA
c840cb744c
Merge branch '2.0' into refactor_citations
2019-04-06 14:23:04 +09:00
Takeshi KOMIYA
452e5dcf21
Deprecate StandardDomain.process_*()
2019-04-06 14:14:18 +09:00
Takeshi KOMIYA
a6e31708cc
Fix #6244 : html: Search function is broken with 3rd party themes
2019-04-06 10:18:30 +09:00
Takeshi KOMIYA
338941a49a
Fix #6213 : ifconfig: contents after headings are not shown
2019-04-05 02:34:23 +09:00
Takeshi KOMIYA
e239291277
Merge pull request #6253 from tk0miya/6243_releasename_is_ignored
...
Fix #6243 : LaTeX: releasename setting for latex_elements is ignored
2019-04-05 02:22:17 +09:00
Takeshi KOMIYA
b9153ef027
Merge branch '2.0.1' into 2.0
2019-04-05 02:00:24 +09:00
Jakob Lykke Andersen
81d8511920
Merge pull request #6226 from jakobandersen/cpp_fix_xref_parsing
...
C++, fix parsing of full xrefs.
2019-04-04 18:56:05 +02:00