Skip to content

Commit

Permalink
Allow noindex option in addition to no-link
Browse files Browse the repository at this point in the history
The Sphinx renderer maps the "no-link" option to "noindex" but
a warning is generated since "noindex" is not in option_specs.

Add "noindex" where "no-link" is allowed.
  • Loading branch information
hojalot committed Oct 23, 2024
1 parent 62695c7 commit 62998f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions breathe/directives/class_like.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class _DoxygenClassLikeDirective(BaseDirective):
"show": unchanged_required,
"outline": flag,
"no-link": flag,
"noindex": flag,
"allow-dot-graphs": flag,
}
has_content = False
Expand Down
1 change: 1 addition & 0 deletions breathe/directives/item.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class _DoxygenBaseItemDirective(BaseDirective):
"project": unchanged_required,
"outline": flag,
"no-link": flag,
"noindex": flag,
}
has_content = False

Expand Down

0 comments on commit 62998f6

Please sign in to comment.