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 12
12
#
13
13
import os
14
14
import sys
15
+ import re
15
16
from packaging .version import Version
16
17
17
18
from dmriprep import __version__ , __copyright__ , __packagename__
18
19
19
- sys .path .append (os .path .abspath ('sphinxext' ))
20
+ sys .path .append (os .path .abspath (os .path .join (
21
+ os .path .dirname (__file__ ), 'sphinxext' )))
20
22
from github_link import make_linkcode_resolve
21
23
22
24
# -- Project information -----------------------------------------------------
227
229
228
230
# -- Options for versioning extension ----------------------------------------
229
231
scv_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