Docs

I've completely reorganized the `doc` directory. As README.md says, "The `src` directory contains "raw" files, such as markdown and dot files, and the `gen` directory contains compiled files, such as HTML and SVG files." The `gen-docs.sh` script makes it easy to compile files, and it contains built-in documentation explaining how to use the script.