(we are switching to a new theme, don't worry if things look different for a while!)

Site Navigation

Home
Search
All Pages
Recent Changes

Plans

Massive Wiki Roadmap
Pier2Pier
Massive Wiki Builder redesign

For Testing

wiki link test page
Mistletoe parser test page
Mistletoe & the ampersand story

For Fun

The Walrus

Edit This Page Clicking 'Edit This Page' opens this page on github.com. You can edit, and save changes, if you are a contributor to the repository. Close the edit page to return to this one.


MassiveWikiBuilder V3-pseudocode

outline of MassiveWiki HTML rendering process

# 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  

2023-01-20 MWB program flow


Pages that link to this page