File tree Expand file tree Collapse file tree 2 files changed +1817
-427
lines changed Expand file tree Collapse file tree 2 files changed +1817
-427
lines changed Original file line number Diff line number Diff line change @@ -36,25 +36,25 @@ def get_version():
36
36
line = (vinfo .readline ()).strip ()
37
37
return line
38
38
except :
39
- print 'Error opening or reading version_information file'
39
+ print ( 'Error opening or reading version_information file' )
40
40
sys .exit (1 )
41
41
42
42
# First retrieve the name of the documentation we are building
43
43
doc_name = os .environ .get ('DOC_NAME' , None )
44
44
if doc_name is None :
45
- print 'DOC_NAME environment variable should be set'
45
+ print ( 'DOC_NAME environment variable should be set' )
46
46
sys .exit (1 )
47
47
48
48
if doc_name not in DOCS :
49
- print '%s is not a valid documentation name' % doc_name
49
+ print ( '%s is not a valid documentation name' % doc_name )
50
50
sys .exit (1 )
51
51
52
52
# Exclude sources that are not part of the current documentation
53
53
exclude_patterns = []
54
54
for d in os .listdir (root_source_dir ):
55
55
if d not in ('share' , doc_name , doc_name + '.rst' ):
56
56
exclude_patterns .append (d )
57
- print 'ignoring %s' % d
57
+ print ( 'ignoring %s' % d )
58
58
59
59
extensions = []
60
60
templates_path = ['_templates' ]
@@ -69,7 +69,7 @@ def get_version():
69
69
version = get_version ()
70
70
release = get_version ()
71
71
72
- pygments_style = 'sphinx'
72
+ pygments_style = None
73
73
html_theme = 'sphinxdoc'
74
74
if os .path .isfile ('adacore_transparent.png' ):
75
75
html_logo = 'adacore_transparent.png'
You can’t perform that action at this time.
0 commit comments