In order to contribute to this repo you'll need to be familiar with the following:
- PlantUML: tool used to generate the diagrams (or the extension for your favourite editor/IDE).
- The C4 model: software architecture modelling technique.
- C4-PlantUML: the combination of the above two (if you know the above two then this should be easy to pickup).
- GitHub Markdown
The repo is structured as follows:
src
: source directory where the C4-PlantUML diagrams and documentation reside..puml
files: PlantUML diagrams that model various levels of architecture..md
files: Markdown documentation attached to the respective diagram in the same directory.
docs
: resulting static website with the documentation (generated byc4builder site
).
Notes on using local images inside markdown files
- They should be placed next to the markdown file using them.
- All of them will be copied over to the
docs
folder either in/
(in the case of a single MD/PDF file) or following the same folder structure as insrc
, so make sure they have unique names.
Note: This requires NPM.
npm i -g c4builder
Generating the documentation website:
c4builder
- Locally serving the website (which will be accessible on http://localhost:3000):
c4builder site