diff --git a/sphinxcontrib/confluencebuilder/builder.py b/sphinxcontrib/confluencebuilder/builder.py index b76f6128..1ae99baf 100644 --- a/sphinxcontrib/confluencebuilder/builder.py +++ b/sphinxcontrib/confluencebuilder/builder.py @@ -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