mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 04:23:46 +00:00
docs: Add an unreleased tag.
This allows us to conditionally include a note just for unreleased versions of the docs (i.e., "latest") and omit it when released.
This commit is contained in:
@@ -58,6 +58,11 @@ version = '1.7+git'
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = '1.7.1+git'
|
||||
|
||||
# This allows us to insert a warning that appears only on an unreleased
|
||||
# version, e.g. to say that something is likely to have changed.
|
||||
if release.endswith('+git'):
|
||||
tags.add('unreleased')
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user