Skip to content

Option changelog_hide_sections_from_tags not working with compound names #14

@stefanodavid

Description

@stefanodavid

Hi, I guess this is a bug. Suppose to have the following configuration (conf.py)

changelog_sections = ["Introduction", "Getting Started", "General" ]
changelog_inner_tag_sort = ["Improvement", "Change", "Bugfix", "New Feature"]
changelog_hide_sections_from_tags = True

And the following code somewhere in a .rst file

.. changelog::
   :released: 30 November 2022

   .. change::
      :tags: New Feature, Getting Started

      A Quick start was added

   .. change::
      :tags: Bugfix, General
      
      Fixed a typo in the syntax of a command.

Everything is correctly generated, but the "Getting Started" tag is not stripped from the tag list:
bug_changelog-ext

Expected result

Getting Started tag should be removed:

expected_changelog-ext

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions