Skip to content
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

Add readme for docs #65

Merged
merged 1 commit into from
Mar 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions plantuml-docs/README.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
= PlantUML Alternative Docs

PlantUML alternative docs for better readability using the alphadocs as a source.

image::demo.png[]

== Features

- Better navigation, top for chapters, left for topics, right for subtopics

- Lunr search engine

- Better layout for docs based on Antora

- Automated sync from link:http://alphadoc.plantuml.com[alphadoc]

- Static pages, can be served on Github Pages or any CDN

- Edit link taking to dokuwiki

- Lazy loading diagrams

- Clicking the diagram takes diagram editing

== Antora structure

- We have antora-playbook.yml that defines our site.

- Our site uses only one component called docs.

- docs component's pages are automatically generated in a PR after processing the docs_from_alphadoc. It shouldn't be edited manually.

- Navigation is NOT generated automatically on purpose, it needs to be edited for the best convinence.

- Site is built and pushed into gh-pages branch when a new commit is merged to main.

== Updating the docs from alphadoc

This project uses link:http://alphadoc.plantuml.com/toc/asciidoc/en[PlantUML's alphadoc] as a source of truth.

To fetch the latest docs from alphadoc, `sync-docs` workflow should be manually triggered by
going to the link:../../../actions/workflows/sync-docs.yml[actions page] or calling it via API.
It automatically creates a PR with the updated docs.
Binary file added plantuml-docs/demo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.