Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | fixup! sphinx.ext.extlinks: Clarify escaping of ``%`` | Merry Bass | 2021-04-11 | 1 | -2/+2 | |
| | | ||||||
* | | sphinx.ext.extlinks: Clarify escaping of ``%`` | Merry Bass | 2021-04-11 | 1 | -2/+7 | |
| | | | | | | | | | | We use Pythons %-formatting, so literal ``%`` must be escaped as ``%%``. Clarify this behaviour for the caption and base URL strings. | |||||
* | | sphinx.ext.extlinks: Allow ``%s`` in link caption string | Merry Bass | 2021-04-11 | 1 | -9/+8 | |
|/ | | | | | | | | | | | | | | | | Tweak syntax of extlinks to also allow ``%s`` in the link caption part. Like for the base URL ``%s`` will be substituted with the content of the role. This allows configurations like extlinks = {'quarter': ('https://example.org/quaters/%s', '%s. quarter')} with ``:quarter:`2``` getting replaced by a link titled `2. quarter`. The requirement for the caption string is to be either None or contain exactly one ``%s``. If neither is the case, then we emit a warning and fall back to the old behaviour which is concatenating the caption string with the role content. | |||||
* | Merge pull request #8841 from AWhetter/autodoc_signatures_without_backslash | Takeshi KOMIYA | 2021-04-04 | 1 | -3/+7 | |
|\ | | | | | Overloaded function signatures do not require a separating backslash | |||||
| * | Overloaded function signatures do not require a separating backslash | Ashley Whetter | 2021-03-27 | 1 | -3/+7 | |
| | | ||||||
* | | Add autodoc_typehint_undoc option | Matt Wozniski | 2021-03-27 | 1 | -0/+13 | |
|/ | | | | | | | | | | | | | | Previously, if autodoc_typehints="description", a :type: field would be added for every parameter and return type appearing in the annotation, including **kwargs and underscore-prefixed parameters that are meant to be private, as well as None return types. This commit introduces a new option, "autodoc_typehint_undoc". By default this option is True, requesting the old behavior. By setting this option to False, :type: and :rtype: fields will only be added for annotated parameters or return types if there is already a corresponding :param: or :return: field, to put users in control over whether a given parameter is documented or not. | |||||
* | Close #7549: autosummary: Enable autosummary_generate by default | Takeshi KOMIYA | 2021-03-10 | 1 | -6/+12 | |
| | ||||||
* | doc: Fix indentation | Takeshi KOMIYA | 2021-03-06 | 1 | -3/+3 | |
| | ||||||
* | Merge pull request #8965 from tk0miya/refactor_doc | Takeshi KOMIYA | 2021-03-06 | 1 | -52/+75 | |
|\ | | | | | doc: Update document for autodoc | |||||
| * | doc: Update document for autodoc :special-members: option | Takeshi KOMIYA | 2021-03-06 | 1 | -15/+22 | |
| | | ||||||
| * | doc: Update document for autodoc :private-members: option | Takeshi KOMIYA | 2021-03-06 | 1 | -18/+21 | |
| | | ||||||
| * | doc: Update document for autodoc :undoc-members: option | Takeshi KOMIYA | 2021-03-06 | 1 | -7/+10 | |
| | | ||||||
| * | doc: Update document for autodoc :members: option | Takeshi KOMIYA | 2021-03-06 | 1 | -12/+22 | |
| | | ||||||
* | | Fix #759: autodoc: Add sphinx.ext.autodoc.preserve_defaults extension | Takeshi KOMIYA | 2021-03-06 | 1 | -0/+10 | |
|/ | | | | | | | | Add a new extension `sphinx.ext.autodoc.preserve_defaults`. It preserves the default argument values of function signatures in source code and keep them not evaluated for readability. This is an experimental extension and it will be integrated into autodoc core in Sphinx-4.0. | |||||
* | Merge branch '3.x' into merge_3.x_into_master | jfbu | 2021-02-04 | 1 | -0/+11 | |
|\ | | | | | | | | | Resolved Conflicts: sphinx/texinputs/sphinxpackagefootnote.sty | |||||
| * | Merge remote-tracking branch 'upstream/3.x' into exclude-members-fix | pbudzyns | 2021-02-01 | 6 | -24/+133 | |
| |\ | ||||||
| * | | update docs | pbudzyns | 2021-02-01 | 1 | -0/+11 | |
| | | | ||||||
* | | | Merge branch '3.x' | Takeshi KOMIYA | 2021-01-28 | 1 | -4/+5 | |
|\ \ \ | | |/ | |/| | ||||||
| * | | doc: Add hyperlinks to classifiers for sphinx extensions and themes | Takeshi KOMIYA | 2021-01-24 | 1 | -4/+5 | |
| | | | ||||||
* | | | Merge branch '3.x' | Takeshi KOMIYA | 2021-01-24 | 1 | -16/+13 | |
|\ \ \ | |/ / | ||||||
| * | | Merge branch '3.x' into 7774_remove_develop.rst | Takeshi KOMIYA | 2021-01-24 | 7 | -16/+248 | |
| |\ \ | ||||||
| | * | | Update the link to the new sphinx-contrib organization | Steve Piercy | 2021-01-23 | 1 | -1/+1 | |
| | | | | | | | | | | | | This should be backported to at least 3.x, too. | |||||
| * | | | docs: Add information about Sphinx trove classifiers | Stephen Finucane | 2020-06-03 | 1 | -1/+5 | |
| | | | | | | | | | | | | | | | | Signed-off-by: Stephen Finucane <stephen@that.guru> | |||||
| * | | | docs: Update reference to sphinx-contrib organization | Stephen Finucane | 2020-06-02 | 1 | -16/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is now well established on GitHub and the Bitbucket organization is no longer maintained. Update the documentation to indicate this. Signed-off-by: Stephen Finucane <stephen@that.guru> | |||||
* | | | | Update the link to the new sphinx-contrib organization | Steve Piercy | 2021-01-23 | 1 | -1/+1 | |
| | | | | | | | | | | | | This should be backported to at least 3.x, too. | |||||
* | | | | Merge branch '3.x' | Takeshi KOMIYA | 2021-01-22 | 1 | -1/+25 | |
|\ \ \ \ | | |/ / | |/| | | ||||||
| * | | | Merge pull request #8658 from SolidifiedRay/feature-custom-section | Takeshi KOMIYA | 2021-01-19 | 1 | -1/+25 | |
| |\ \ \ | | | | | | | | | | | Close #8573: napoleon: Add more custom section styles | |||||
| | * | | | Close #8573: napoleon: Add more custom section styles | SolidifiedRay | 2021-01-18 | 1 | -1/+25 | |
| | | | | | ||||||
* | | | | | Merge branch '3.x' | Takeshi KOMIYA | 2021-01-16 | 1 | -3/+3 | |
|\ \ \ \ \ | |/ / / / | ||||||
| * | | | | doc: Fix highlight language | Takeshi KOMIYA | 2021-01-10 | 1 | -3/+3 | |
| |/ / / | ||||||
* | | | | Merge branch '3.x' | Takeshi KOMIYA | 2021-01-03 | 1 | -1/+1 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | DOC: `modules` are only available when `recursive` is on | Hong Xu | 2021-01-01 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | See https://github.com/sphinx-doc/sphinx/blob/7ecf6b88aa5ddaed552527d2ef60f1bd35e98ddc/sphinx/ext/autosummary/generate.py#L314-L315 | |||||
* | | | | Merge branch '3.x' | Takeshi KOMIYA | 2020-12-29 | 1 | -1/+11 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Update autodoc.rst | Hong Xu | 2020-12-27 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Doc: Correct type: "TypeAlias" -> "AliasType" | Hong Xu | 2020-12-27 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Close #8022: autodoc: Allow to hide the value of the variables via metadata | Takeshi KOMIYA | 2020-12-27 | 1 | -0/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | autodata and autoattribute directives does not show right-hand value of the variable if its docstring contains ``:meta hide-value:`` in info-field-list. | |||||
* | | | | Merge branch '3.x' | Takeshi KOMIYA | 2020-12-14 | 3 | -4/+69 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Describe the intersphinx mapping a bit more | Ned Batchelder | 2020-12-13 | 1 | -3/+14 | |
| | | | | ||||||
| * | | | refactored code and tests, prepared for numpy feature | Quentin Soubeyran | 2020-11-25 | 2 | -6/+8 | |
| | | | | ||||||
| * | | | added napoleon_google_attr_annotations option to use PEP 526 on google style | Quentin Soubeyran | 2020-11-25 | 2 | -1/+53 | |
| | | | | ||||||
* | | | | Merge branch '3.x' | Takeshi KOMIYA | 2020-11-21 | 1 | -0/+12 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Rename :novalue: option to :no-value: option | Takeshi KOMIYA | 2020-11-15 | 1 | -5/+5 | |
| | | | | | | | | | | | | | | | | | | | | According to the existing options of autodoc directives, `:novalue:` option is now renamed to `:no-value:` option. | |||||
| * | | | autodoc: document :novalue: option | Marlon James | 2020-11-15 | 1 | -0/+12 | |
| | |/ | |/| | ||||||
* | | | Merge branch '3.x' into master | Takeshi KOMIYA | 2020-10-04 | 2 | -1/+39 | |
|\ \ \ | |/ / | ||||||
| * | | Strip trailing whitespaces and normalize line endings | François Freitag | 2020-10-03 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Trailing whitespace do not have impact on the result, they are just unused bytes. Most text editors are configured to strip trailing whitespaces. Remove them all in one go. Update a handful of files to use the UNIX line ending. | |||||
| * | | Close #6518: autodoc: Add autodoc_type_aliases | Takeshi KOMIYA | 2020-10-03 | 1 | -0/+38 | |
| | | | | | | | | | | | | | | | autodoc_type_aliases allows to keep user defined type alises not evaluated in the generated document. | |||||
* | | | Merge branch '3.x' into master | Takeshi KOMIYA | 2020-10-03 | 1 | -1/+1 | |
|\ \ \ | |/ / | ||||||
| * | | Fix typo: anchestor -> ancestor. | Bradley Dice | 2020-09-20 | 1 | -1/+1 | |
| | | | ||||||
* | | | sphinx.ext.autodoc: fix typo in docs | Adam J. Stewart | 2020-08-11 | 1 | -1/+1 | |
| | | | ||||||
* | | | Merge branch '3.x' | Takeshi KOMIYA | 2020-08-08 | 2 | -4/+32 | |
|\ \ \ | |/ / |