Skip to content

C++, cpp_index_common_prefix remove longest prefix instead of first - #8912

Merged
jakobandersen merged 1 commit into
sphinx-doc:masterfrom
jakobandersen:cpp_index_prefix
Feb 19, 2021
Merged

jakobandersen merged 1 commit into
sphinx-doc:masterfrom
jakobandersen:cpp_index_prefix

Conversation

@jakobandersen

Copy link
Copy Markdown
Contributor

Feature or Bugfix

  • Bugfix

Purpose

Before, the first matching prefix in the cpp_index_common_prefix list was removed. Pre-sort in reverse order such that the first one is also the longest one.

Relates

Fixes #8911

@jakobandersen
jakobandersen merged commit 26f414f into sphinx-doc:master Feb 19, 2021
@jakobandersen
jakobandersen deleted the cpp_index_prefix branch February 19, 2021 20:33
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jul 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant