if fname.endswith(".mdwn"):
with open_tracked(wiki_path + "/" + fname) as inc:
recursive_inline(inc, fname, depth + 1)
- elif fname == 'openpower/isatables/fields.text':
- with open_tracked(
- wiki_path + "/../openpower-isa/" + fname) as inc:
+ elif fname.startswith('openpower/isatables'):
+ pth = wiki_path + "/../openpower-isa/" + fname
+ with open_tracked(pth) as inc:
+ recursive_inline(inc, fname, depth + 1)
+ elif fname.startswith('openpower/isa'):
+ pth = wiki_path + "/../openpower-isa/" + fname + ".mdwn"
+ with open_tracked(pth) as inc:
recursive_inline(inc, fname, depth + 1)
else:
with open_tracked(wiki_path + "/" + fname + ".mdwn") as inc: