Skip to content

Repository files navigation

gendoc

This is a tool to generate the docs for all packages in the Dylan package catalog. How it works, in a nutshell:

  • Load the package catalog.
  • Download each package to a temp directory.
  • Copy package reStructuredText docs into a combined directory tree.
  • Modify :file:`docs/source/index.rst` to list each package in the top-level toctree directive.

Note

The "docs" subdirectory in this repository is intentionally not named "documentation" in order to prevent gendoc itself from showing up in the package catalog since it has no documentation other than this README. Eventually we should have a setting in :file:`dylan-package.json` to exclude the package from combined docs.

Usage

To generate package docs in the :file:`_gendoc-build/docs` directory:

.. code-block:: shell
$ git clone https://github.com/dylan-lang/gendoc $ cd gendoc $ deft update $ deft build -a $ _build/bin/gendoc $ cd _gendoc-build/docs $ make html $ rsync -av _build/html/ /var/www/package.opendylan.org/

About

Generate documentation for Dylan packages

Resources

Stars

0 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages