@@ -124,6 +124,52 @@ Options
124124
125125These options are available for the build sub command:
126126
127+ .. option :: -a , --banner-greatest-tag , scv_banner_greatest_tag
128+
129+ Override banner-main-ref to be the tag with the highest version number. If no tags have docs then this option is
130+ ignored and :option: `--banner-main-ref ` is used.
131+
132+ This setting may also be specified in your conf.py file. It must be a boolean:
133+
134+ .. code-block :: python
135+
136+ scv_banner_greatest_tag = True
137+
138+ .. option :: -A , --banner-recent-tag , scv_banner_recent_tag
139+
140+ Override banner-main-ref to be the most recent committed tag. If no tags have docs then this option is ignored and
141+ :option: `--banner-main-ref ` is used.
142+
143+ This setting may also be specified in your conf.py file. It must be a boolean:
144+
145+ .. code-block :: python
146+
147+ scv_banner_recent_tag = True
148+
149+ .. option :: -b , --show-banner , scv_show_banner
150+
151+ Show a warning banner. Enables the :ref: `banner ` feature.
152+
153+ This setting may also be specified in your conf.py file. It must be a boolean:
154+
155+ .. code-block :: python
156+
157+ scv_show_banner = True
158+
159+ .. option :: -B <ref >, --banner-main-ref <ref >, scv_banner_main_ref
160+
161+ The branch/tag considered to be the latest/current version. The banner will not be displayed in this ref, only in
162+ all others. Default is **master **.
163+
164+ If the banner-main-ref does not exist or does not have docs the banner will be disabled completely in all versions.
165+ Docs will continue to be built.
166+
167+ This setting may also be specified in your conf.py file. It must be a string:
168+
169+ .. code-block :: python
170+
171+ scv_banner_main_ref = ' feature_branch'
172+
127173 .. option :: -i , --invert , scv_invert
128174
129175 Invert the order of branches/tags displayed in the sidebars in generated HTML documents. The default order is
0 commit comments