Edit This Page ⓘClicking 'Edit This Page' will open a new tab or window to edit this page on the Git forge. You'll need to be signed into the forge to edit. Close the edit page to return to this one.
outline of MassiveWiki HTML rendering process
mwb
during Markdown -> HTML processing# collect wiki file info and build data structures
# - (assertion): only one loop through the wiki directory is needed
dir_wiki = wiki directory specified on command line
allfiles = [f for f in glob.glob(f"{dir_wiki}/**/*.*", recursive=True, include_hidden=False)]
for f in allfiles:
if Path(f).suffix == '.md':
append path and '.html' link to wikilinks dictionary
add lunr data to index-data and posts lists
add wikipage data to all_pages list
else:
append path and link to wikilinks dictionary