HelpCore

By Andrew Owen
Released under the MIT license

Notes:

A function to look up help for words

help ( search-term:str -- )

Search the docs for the given search term, printing out any entries that match

iterate-help-info ( per-module:func[ attrs:dict[ count:int name:str author:str license:str doc:str ] - ] per-function:func[ attrs:dict[ name stack doc is-prefix ] ] -- ? )

Iterate over all of the installed functions, running the callbacks provided as needed

show-docs ( -- )

Print relevant docs to stdout

html-body ( content -- )

html-escape ( unescaped -- partially-escaped )

func-html ( :func -- html )

mod-html ( :mod :body -- html:vector )

Module and vector/body

index-html ( modules:dict -- html:vector )

append-slash ( path:str -- with-slash:dir )

docs-to-html ( directory:str -- )