Skip to content

Commit 0cf9a37

Browse files
committed
try out sphinx-versioning
1 parent 9155f3f commit 0cf9a37

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

conf.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,3 +294,14 @@
294294

295295
pdf_documents = [('index', u'Citus Documentation', u'Citus Documentation', u'Citus Data')]
296296
pdf_fit_mode = "shrink"
297+
298+
# -- Options for sphinxdoc-versioning -------------------------------------
299+
300+
scv_greatest_tag = True
301+
scv_root_ref = version
302+
scv_priority = 'branches'
303+
scv_sort = ('semver',)
304+
scv_whitelist_branches = (re.compile(r'^v\d+\.\d+\.\d+$'),)
305+
scv_show_banner = True
306+
307+

0 commit comments

Comments
 (0)