Skip to content

Commit

Permalink
Fix for header repetition.
Browse files Browse the repository at this point in the history
Not yet tested. See issue #342
  • Loading branch information
mcmtroffaes committed Jan 10, 2024
1 parent b283a02 commit fdf2354
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sphinxcontrib/bibtex/domain.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ def __init__(self, env: "BuildEnvironment"):
# parse bibliography header
header = getattr(env.app.config, "bibtex_bibliography_header")
if header:
self.data["bibliography_header"] = docutils.nodes.container()

Check warning on line 314 in src/sphinxcontrib/bibtex/domain.py

View check run for this annotation

Codecov / codecov/patch

src/sphinxcontrib/bibtex/domain.py#L314

Added line #L314 was not covered by tests
self.data["bibliography_header"] += parse_header(
header, "bibliography_header"
)
Expand Down

0 comments on commit fdf2354

Please # to comment.