Stiki - The Static Wiki
- Files are articles
- Folders are categories
Besides racket, Stiki has three dependencies.
To speed rendering up, Stiki uses the unix utility
find rather than Racket's filesystem procedures.
raco pkg install sugar
raco pkg install markdown
If you want to allow links with spaces in them, use a fork of Markdown
raco pkg install https://github.com/jswrenn/markdown.git
racket -l stiki/main [SOURCE-DIRECTORY] [DEST-DIRECTORY] [EDIT-URL-FRAGMENT] [HISTORY-URL-FRAGMENT]
The EDIT-URL-FRAGMENT and HISTORY-URL-FRAGMENTS are the partial links for your wiki's online git hosting's edit and history pages for a file.
Github's integrated editor for this readme is
The fragment you would pass to Stiki would be
Just modify the source code to your liking. There's about 100 important lines of Racket, with another 100 lines of useful path utilities for making writing templates easier.