95 |
if not output.endswith('index'): |
if not output.endswith('index'): |
96 |
output = output+'.gen.html' |
output = output+'.gen.html' |
97 |
else: |
else: |
98 |
|
# XXX - No more exceptions like this - XXX |
99 |
|
# (from TODO) |
100 |
|
# - ".gen." midfix to be optional: |
101 |
|
# + replacing ".gen" with global attribute |
102 |
|
# + replacing some foo[a:b] with foo[a:len(midfix)+c] |
103 |
|
|
104 |
# For practical reasons, we need to transform |
# For practical reasons, we need to transform |
105 |
# index.rst into index.html ... |
# index.rst into index.html ... |
106 |
output = output+'.html' |
output = output+'.html' |