Skip to content

Commit

Permalink
Merge pull request #1048 from sphinx-contrib/correct-title-tracking-f…
Browse files Browse the repository at this point in the history
…or-singleconfluence

builder: correct title track database check
  • Loading branch information
jdknight authored Oct 12, 2024
2 parents 3b2f615 + e010998 commit 4b0c8e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinxcontrib/confluencebuilder/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -1192,7 +1192,7 @@ def _register_doctree_targets(self, docname, doctree, title_track=None):
# Prepare a database to track titles if one is not already provided.
# (i.e. not all callers care about unique targets between multiple
# documents)
title_track = title_track if title_track else {}
title_track = title_track if title_track is not None else {}

# Find the first section of this document page. It will be used to
# create "base" line to a specific page embedded in the single
Expand Down

0 comments on commit 4b0c8e6

Please sign in to comment.