Reposiory for technical and editorial documentation for the Homer Multitext project
This repository uses the cdweb library to generate a web site from source pages written in markdown.
Documentation in markdown format should be kept in the md directory (or its descendants) in files with extension .md
To build a web site, run
gradle web
The resulting web site will be placed in build/web.
- Put markdown files within the directory defined by the
srcdirectoryproperty (including its descendants) (default:md) - Put css files within the directory defined by the
cssdirectoryproperty (including its descendants) (default:css) - Configuration values are set in files contained within the
srcdirectorytree and namedweb.properties. Settings inweb.propertiescascade to the html conversion of all markdown files contained within the site, unless overridden by a descendantweb.propertiesfile, so if you want (e.g.) to add a further CSS stylesheet to each page modify theheadproperty in the top-levelweb.propertiesfile to include a link to the new CSS stylesheet, and it will cascade down to every web page on your site.
Run
gradle web
The first time you run this may be slow, since gradle will have to find and download the mdweb and citedown libraries. The web site will be built in the directory build/web.