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 #7780: napoleon: multiple params declaration was wrongly recognized #8056

Merged
merged 2 commits into from Aug 7, 2020

Commits on Aug 7, 2020

  1. napoleon: Fix a broken test (refs: sphinx-doc#8049)

    Fix a testcase that added just before sphinx-doc#8049 merged.
    tk0miya committed Aug 7, 2020
    Copy the full SHA
    99e65a5 View commit details
    Browse the repository at this point in the history
  2. Fix sphinx-doc#7780: napoleon: multiple params declaration was wrongl…

    …y recognized
    
    So far, napoleon converts multiple paramaters declrarations to single
    paramaeter fields (`:param:` and `:type:`) unexpectedly.  As a result,
    the output seems broken.
    
    This converts it to multiple parameter fields (a pair of field for each
    parameter declration) to build parameter successfully.
    
    Note: The conversion rule is available only when napoleon_use_params=True.
    tk0miya committed Aug 7, 2020
    Copy the full SHA
    a4996f9 View commit details
    Browse the repository at this point in the history