File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 1212#
1313import os
1414import sys
15+ import re
1516from packaging .version import Version
1617
1718from dmriprep import __version__ , __copyright__ , __packagename__
1819
19- sys .path .append (os .path .abspath ('sphinxext' ))
20+ sys .path .append (os .path .abspath (os .path .join (
21+ os .path .dirname (__file__ ), 'sphinxext' )))
2022from github_link import make_linkcode_resolve
2123
2224# -- Project information -----------------------------------------------------
227229
228230# -- Options for versioning extension ----------------------------------------
229231scv_show_banner = True
232+ scv_whitelist_branches = ('master' , re .compile (r'^docs\/.*$' ), 'test_docs' )
233+ scv_whitelist_tags = (
234+ re .compile (r'^\d{2,}\..*$' ),
235+ re .compile (r'^[1-9]\..*$' ),
236+ re .compile (r'^0\.\d{2,}\..*$' ),
237+ re .compile (r'^0\.[2-9]\..*$' ),
238+ )
239+
You can’t perform that action at this time.
0 commit comments