Jürgen Eckel fa2c8a5cc5
Ws blocks (#106)
* added another dispatcher to server block changes

Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>

* fixed missing variable definition

Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>

* made the definition of POINON_PILL unique

Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>

* changed some fixtures for web tests, fixed linter errors, updated aiohttp version

Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>

* added block hash to the block notification

Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>

* fixed misspelling issue

Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>

* fixed previous merge issues

Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>

* fixed websocket startup issues

Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>

* fixed queuing issue and disabled one tests

Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>

* increased version number

Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>

* fixed docs req deps

Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>

* fixed linting issues

Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>

* fixed linting warnings

Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>

* fixed aiohttp.web.run_app call

Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>

Co-authored-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
2022-05-16 17:01:57 +02:00
..
2022-05-16 17:01:57 +02:00
2022-01-25 22:05:23 +03:00
2022-01-25 22:05:23 +03:00

The Planetmint Documentation Strategy

  • Include explanatory comments and docstrings in your code. Write Google style docstrings with a maximum line width of 119 characters.
  • For quick overview and help documents, feel free to create README.md or other X.md files, written using GitHub-flavored Markdown. Markdown files render nicely on GitHub. We might auto-convert some .md files into a format that can be included in the long-form documentation.
  • We use Sphinx to generate the long-form documentation in various formats (e.g. HTML, PDF).
  • We also use Sphinx to generate Python code documentation (from docstrings and possibly other sources).
  • We also use Sphinx to document all REST APIs, with the help of the httpdomain extension.

How to Generate the HTML Version of the Long-Form Documentation

If you want to generate the HTML version of the long-form documentation on your local machine, you need to have Sphinx and some Sphinx-contrib packages installed. To do that, go to a subdirectory of docs (e.g. docs/server) and do:

pip install -r requirements.txt

If you're building the Server docs (in docs/server) then you must also do:

pip install -e ../../

Note: Don't put -e ../../ in the requirements.txt file. That will work locally but not on ReadTheDocs.

You can then generate the HTML documentation in that subdirectory by doing:

make html

It should tell you where the generated documentation (HTML files) can be found. You can view it in your web browser.

Building Docs with Docker Compose

You can also use Docker Compose to build and host docs.

$ docker-compose up -d bdocs

The docs will be hosted on port 33333, and can be accessed over localhost, 127.0.0.1 OR http:/HOST_IP:33333.