From f783e0d25ec360a85e1c97c8724544cfcacd2998 Mon Sep 17 00:00:00 2001 From: Tom Clark Date: Tue, 7 Jan 2020 19:26:41 +0000 Subject: [PATCH] DOC Added developer notes for building docs locally --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 4866897..d548ba2 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,8 @@ A library to help digital twins talk to one another. Read more at [twined.readth ## Developer notes +**You don't need to pay attention to this unless you plan to develop Twined.** + ### Contributing - Please raise an issue on the board (or add your $0.02 to an existing issue) so the maintainers know @@ -37,3 +39,19 @@ The process for creating a new release is as follows: 9. Merge to master. Successful test, doc build, flake8 and a new version number will automatically create the release on pypi. 10. Go to code > releases and create a new release on GitHub at the same SHA. + +### Building documents locally + +**You don't need to do this unless you plan to develop Twined.** + +- Install `doxgen`. On a mac, that's `brew install doxygen`; other systems may differ. + +- Install sphinx and other requirements for building the docs +``` +pip install -r docs/requirements.txt +``` + +- Run the build process +``` +sphinx-build -b html docs/source docs/build +``` \ No newline at end of file