No description
- Dockerfile 61.8%
- Shell 38.2%
| pages | Clean repo. Add sidebar | |
| .gitignore | Update startpage ( #2 ) | |
| build.sh | Make sure build.sh is executable | |
| Dockerfile | Use official dokuwiki container image | |
| README.md | Clean repo. Add sidebar | |
Schemeists Wiki
Adding pages
Add markdown file under pages/<namespace>/PAGE.md. For example adding page for Chibi Scheme implementation would go into pages/implementations/chibi.md.
- Depth of namespaces is not limited.
- If page belongs to multiple namespaces use symbolic links
Adding page to multiple namespaces
Namespace must be all downcased.
Say we wanted to add pages/implementations/chibi.md to the namespace r7rs-implementations. We will use symbolic link. First navigate to the pages directory, then link with command like this:
ln -sf ../implementations/chibi.md r7rs-implementations/chibi.md
Link needs to be relative to the file it is pointing to. Tree should now look like this:
.
├── implementations
│ └── chibi.md
└── r7rs-implementations
└── chibi.md -> ../implementations/chibi.md
Building docuwiki pages
sh build.sh
It outputs dokuwiki pages into dist/pages directory. The output assumes plugin commonmark is installed.
Run locally with docker
sh build.sh
docker build . --tag=scheme-wiki
docker run -p 8080:8080 scheme-wiki
Then go to http://127.0.0.1:8080/. Run the installer and set things up.