Skip to content

Commit 6811705

Browse files
committed
Fix building documentation with new version handling.
1 parent 57fa3fa commit 6811705

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,10 +290,10 @@ def get_copyright():
290290

291291
# get tp version
292292

293-
content = open("../src/templates_parser.ads").readlines()
293+
content = open("../src/templates_parser-version.adb").readlines()
294294

295295
for l in content:
296-
m = re.search('.*Version : constant String := "(.*)"', l)
296+
m = re.search('.*return "(.*)"', l)
297297
if m != None:
298298
TEMPLATES_PARSER_VERSION = m.group(1)
299299

0 commit comments

Comments
 (0)