-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docs: Add diagrams as code #592
base: master
Are you sure you want to change the base?
Docs: Add diagrams as code #592
Conversation
98534e7
to
77a07a2
Compare
I think text readability should be improved; maybe making it bold and setting a bigger font size might help? |
77a07a2
to
f0fd362
Compare
f0fd362
to
498a173
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #592 +/- ##
=======================================
Coverage 68.32% 68.32%
=======================================
Files 270 270
Lines 6986 6986
=======================================
Hits 4773 4773
Misses 2213 2213 ☔ View full report in Codecov by Sentry. |
498a173
to
4dda3b6
Compare
Add some initial diagrams: - An overview of the Astarte architecture and how it connects with external services. - A basic sequence diagram describing the process of device registration. - A basic sequence diagram describing the process of device authentication. Signed-off-by: Davide Briani <[email protected]>
Using the D2 Language tooling, define a CI step that compiles the code of the diagrams into images that can be used for documentation purposes and referenced by documentation pages. Signed-off-by: Davide Briani <[email protected]>
4dda3b6
to
6ece675
Compare
Add references to the generated images on appropriate documentation pages, so that diagrams are displayed alongside textual explanations. Signed-off-by: Davide Briani <[email protected]>
6ece675
to
437eac9
Compare
Add pipeline to generate images from diagrams-as-code.
The diagrams are written as code using the D2 Language and compiled into images using the relative tooling so they can be used within documentation pages.
Generated images:
astarte-architecture.svg
astarte-pairing-registration.svg
astarte-pairing-authentication.svg