An open-source hardware (OSHW) aerobic composting project, modeled as a DOF component.
Full documentation is available on https://pylar-io.github.io/docs.
You can build the documentation site on a local desktop:
You will need git to clone the project contents and docker to run the docker image that contains the dependencies needed for building the documentation.
-
Docker
-
Git (for contributors, quicker access to the repository source code)
-
A Bash terminal (standard terminal environment for *nix and macOS).
|
Note
|
To Windows users: Windows Command Prompt will not satisfy this dependency. Instead, you can use PowerShell or another Bash terminal (like Git Bash for example). |
Clone the pylar docs repo. Don’t forget to use --recurse-submodules flag, or else you won’t pull down some of the code you need to generate a working site.
git clone --recurse-submodules https://github.com/pylar-io/docs.git
cd docsNote: If you accidentally cloned without using --recurse-submodules, you can run git submodule update --init --recursive to pull down submodules needed to generate a working site.
Once you’ve cloned the repo & installed docker, run the buildDocs.sh script in the project root directory (Note: Linux users may need to prepend this command sudo). This will build a docker image, as well as install node modules, needed for generating the docs page locally. You can view all locally installed docker images by running docker images.
./buildDocs.shOnce you run this step, you can locally view the documentation by opening dist/index.html in a web browser or by opening dist/pylar-architecture.pdf in a pdf viewer.