Wiki for urbit
If you have %package installed on your urbit in the %pkg-wiki
desk:
dojo> :package|install %pkg "https://raw.githubusercontent.com/asssaf/urbit-wiki/master/package.json"
You can sync from the %dist-wiki
desk on .
dojo> |sync %home ~dist-ship %dist-wiki
Copy everything into the pier:
$ cp -a src/* /path/to/pier/home/
dojo> |start %wiki
By default the wiki stores and serves files from the %home desk. You probably want to create a separate desk for the wiki. For example:
dojo> |merge %wiki our %home
merged with strategy %init
dojo> :wiki [%serve %wiki]
[%serving-from %wiki]
The wiki main page will be accessible at https://your-ship.urbit.org/pages/wiki
The wiki pages are written in markdown.
For internal wiki links use the format [[other-page]]
All wiki pages are stored at pier/home/web/pages/wiki/pub
Since %clay is used for storage, all the history is also preserved.
dojo> :wiki [%export %/backup/wiki-articles]
dojo> :wiki [%import %/backup/wiki-articles]