Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #759: autodoc: Add sphinx.ext.autodoc.preserve_defaults extension #8771

Merged
merged 1 commit into from
Mar 6, 2021

Conversation

tk0miya
Copy link
Member

@tk0miya tk0miya commented Jan 27, 2021

Feature or Bugfix

  • Feature

Purpose

@tk0miya tk0miya added type:enhancement enhance or introduce a new feature extensions:autodoc labels Jan 27, 2021
@tk0miya tk0miya added this to the 3.5.0 milestone Jan 27, 2021
@tk0miya tk0miya modified the milestones: 3.5.0, 4.0.0 Feb 4, 2021
@tk0miya tk0miya changed the base branch from 3.x to master March 6, 2021 09:32
@tk0miya tk0miya marked this pull request as ready for review March 6, 2021 09:40
… extension

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.
@tk0miya tk0miya merged commit c85d269 into sphinx-doc:master Mar 6, 2021
@tk0miya tk0miya deleted the 759_preserve_defaults branch March 6, 2021 10:58
peterjc added a commit to peterjc/biopython that referenced this pull request Mar 6, 2021
peterjc added a commit to peterjc/biopython that referenced this pull request Mar 6, 2021
See sphinx-doc/sphinx#8771

autodoc_preserve_defaults was new in Sphinx 3.5
peterjc added a commit to biopython/biopython that referenced this pull request May 4, 2021
See sphinx-doc/sphinx#8771

autodoc_preserve_defaults was new in Sphinx 3.5
JoaoRodrigues pushed a commit to JoaoRodrigues/biopython that referenced this pull request Jun 3, 2021
See sphinx-doc/sphinx#8771

autodoc_preserve_defaults was new in Sphinx 3.5
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
extensions:autodoc type:enhancement enhance or introduce a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant