tree: ca13b06b1bfde6ebda1570ecff646969f8069039 [path history] [tgz]
  1. .bowerrc
  2. Dockerfile
  3. Makefile
  5. bower.json
  6. build_docker_release
  8. go/
  9. package.json
  10. probersk.json5
  11. res/
  12. templates/


A super simple Markdown (CommonMark) server in Go.

This application serves up processed Markdown files that are stored in a Git repository. It allows push-to-deploy for updating Markdown files, i.e. every 15 minutes the server pulls the Markdown repo to head.

The application also supports previewing CLs against the Markdown repository. Just append ?cl={Reitveld_issue_number} to any URL and you can see what the file will render with the changes from that CL.


The docserver presumes the Git repository that contains the Markdown files will exists under the /site directory in the repo. Each directory should have an file which is the content for that directory, and any number of .md files beyond the file which are the contents of a directory. Other assetts may appear in the directory structure and will be served over HTTP as files. See below for an example directory layout:

  ├── dev
  │   ├── contrib
  │   │   ├──
  │   │   └──
  │   └──
  ├── logo.png
  ├── roles.png
  ├── user
  │   ├──
  │   ├──
  │   ├──
  │   ├──
  │   └── quick
  │       ├──
  │       └──
  └── xtra

The server will build a navigation menu for the site by walking the directory structure in alphabetical order and will use each Markdown documents first line as the title of the document in the navigation bar.