Dyalog / documentation

Documentation for Dyalog
https://dyalog.github.io/documentation/
2 stars 0 forks source link

Dyalog APL documentation

Note This is the source repository for the documentation for Dyalog APL. If you are looking for the actual published documentation, visit the help section on Dyalog's website instead. This repository is intended for documentation authors, not users.

If you want to contribute content to Dyalog's documentation, see the file CONTRIBUTE.md for an outline of the process we use.

Organisation

This is a mkdocs monorepo, using the Spotify monorepo plugin. The top-level site is defined by the file mkdocs.yml in the root, and the docs/ directory. The other directories are the respective sub-sites included in the nav section in mkdocs.yml, currently:

Tools

The tools/ directory contains a docker compose configuration that can be used to preview our documentation documents in their rendered form. See its README file for instructions on how to use the tooling.

Getting started

  1. Clone (or fork-clone if you are not a member of the Dyalog org) git@github.com:Dyalog/documentation.git
  2. Set up a {YOUR REPO}/tools/.env file as indicated by tools/README.md
  3. Render the full site (if you have the patience, a sub-site if not) by running docker-compose up mkdocs-server in the {YOUR REPO}/tools/ dir.

This is a large repository. If you're cloning using https, you may need to increase your buffer-size if the clone fails:

git config --global http.postBuffer 524288000"

Publish

[For the person responsible for publishing]

mike set-default --push [--remote github] 20.0  # only needed once
mike deploy --push [--remote github] 20.0