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

Close #8022: autodoc: Allow to hide the value of the variables via metadata #8596

Merged
merged 2 commits into from Dec 28, 2020

Conversation

tk0miya
Copy link
Member

@tk0miya tk0miya commented Dec 27, 2020

Feature or Bugfix

  • Feature

Purpose

Similar to AttributeDocumenter.get_attribute_comment(), add a helper
method DataDocumenter.get_module_comment()
…les via metadata

autodata and autoattribute directives does not show right-hand value of
the variable if its docstring contains ``:meta hide-value:`` in
info-field-list.
@tk0miya tk0miya added type:enhancement enhance or introduce a new feature extensions:autodoc labels Dec 27, 2020
@tk0miya tk0miya added this to the 3.5.0 milestone Dec 27, 2020
@tk0miya tk0miya merged commit 556b974 into sphinx-doc:3.x Dec 28, 2020
@tk0miya tk0miya deleted the 8022_meta_hide_value branch December 28, 2020 03:15
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 19, 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