mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge branch '4.x' into new-tutorial-part-ii
This commit is contained in:
@@ -2689,6 +2689,14 @@ Options for the C domain
|
||||
|
||||
.. versionadded:: 3.0
|
||||
|
||||
.. confval:: c_extra_keywords
|
||||
|
||||
A list of identifiers to be recognized as keywords by the C parser.
|
||||
It defaults to ``['alignas', 'alignof', 'bool', 'complex', 'imaginary',
|
||||
'noreturn', 'static_assert', 'thread_local']``.
|
||||
|
||||
.. versionadded:: 4.0.3
|
||||
|
||||
.. confval:: c_allow_pre_v3
|
||||
|
||||
A boolean (default ``False``) controlling whether to parse and try to
|
||||
|
||||
@@ -325,9 +325,9 @@ sure that "sphinx.ext.napoleon" is enabled in `conf.py`::
|
||||
**If True**::
|
||||
|
||||
def __init__(self):
|
||||
\"\"\"
|
||||
"""
|
||||
This will be included in the docs because it has a docstring
|
||||
\"\"\"
|
||||
"""
|
||||
|
||||
def __init__(self):
|
||||
# This will NOT be included in the docs
|
||||
@@ -509,7 +509,7 @@ sure that "sphinx.ext.napoleon" is enabled in `conf.py`::
|
||||
.. confval:: napoleon_preprocess_types
|
||||
|
||||
True to convert the type definitions in the docstrings as references.
|
||||
Defaults to *True*.
|
||||
Defaults to *False*.
|
||||
|
||||
.. versionadded:: 3.2.1
|
||||
.. versionchanged:: 3.5
|
||||
|
||||
Reference in New Issue
Block a user