Skip to content

Commit 2ff3974

Browse files
committed
config: adding more extension options to flag outdated documents
Adding a series of configuration entries to flag an outdated documentation set if these options are changed. These options were not set before, however, navigation changes can require a full republish, especially if other navigation options (e.g. next-prev pages) are enabled. Signed-off-by: James Knight <[email protected]>
1 parent 6037711 commit 2ff3974

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

sphinxcontrib/confluencebuilder/__init__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def setup(app):
8686
# Default alignment for tables, figures, etc.
8787
cm.add_conf('confluence_default_alignment', 'confluence')
8888
# Enablement of a generated domain index documents
89-
cm.add_conf('confluence_domain_indices')
89+
cm.add_conf('confluence_domain_indices', 'confluence')
9090
# Confluence editor to target for publication.
9191
cm.add_conf('confluence_editor', 'confluence')
9292
# File to get page header information from.
@@ -98,19 +98,19 @@ def setup(app):
9898
# Dictionary to pass to footer when rendering template.
9999
cm.add_conf('confluence_footer_data', 'confluence')
100100
# Enablement of a generated search documents
101-
cm.add_conf_bool('confluence_include_search')
101+
cm.add_conf_bool('confluence_include_search', 'confluence')
102102
# Enablement of a "page generated" notice.
103103
cm.add_conf_bool('confluence_page_generation_notice', 'confluence')
104104
# Enablement of publishing pages into a hierarchy from a root toctree.
105-
cm.add_conf_bool('confluence_page_hierarchy')
105+
cm.add_conf_bool('confluence_page_hierarchy', 'confluence')
106106
# Show previous/next buttons (bottom, top, both, None).
107107
cm.add_conf('confluence_prev_next_buttons_location', 'confluence')
108108
# Suffix to put after section numbers, before section name
109109
cm.add_conf('confluence_secnumber_suffix', 'confluence')
110110
# Enablement of a "Edit/Show Source" reference on each document
111111
cm.add_conf('confluence_sourcelink', 'confluence')
112112
# Enablement of a generated index document
113-
cm.add_conf_bool('confluence_use_index')
113+
cm.add_conf_bool('confluence_use_index', 'confluence')
114114
# Enablement for toctrees for singleconfluence documents.
115115
cm.add_conf_bool('singleconfluence_toctree', 'singleconfluence')
116116

@@ -132,7 +132,7 @@ def setup(app):
132132
# Explicitly prevent page notifications on update.
133133
cm.add_conf_bool('confluence_disable_notifications')
134134
# Define a series of labels to apply to all published pages.
135-
cm.add_conf('confluence_global_labels')
135+
cm.add_conf('confluence_global_labels', 'confluence')
136136
# Enablement of configuring root as space's homepage.
137137
cm.add_conf_bool('confluence_root_homepage')
138138
# Translation to override parent page identifier to publish to.

0 commit comments

Comments
 (0)