tinyplasticgreyknight / modern-docs

1 stars 0 forks source link

Modern Data documentation project

This is a project to provide more detailed documentation for Modern Data.

Invocation

You will probably first need to modify the modern-header-file path in config.yaml: this should point to the modern.h file from the Modern Data repository. Output should end up in the build directory.

./build.py html should generate the documentation. You can also try ./build.py pdf if you've got pdflatex present.

Subcommands (for hacking purposes):

Functionality

We start from the YAML and ReST files in the content directory. The ReST files are mostly just copied across to the rstsource directory, and the YAML files are used to generate detailed documentation for heavily-structured things like e.g. builtins. The YAML files for the C-library functions just list function names and semantics, without specifying a signature: instead, the function signatures are parsed directly from modern.h and included in the ReST output.

We also do some validation. Right now the only validations are:

You will need

Optionally

Links