Skip to content

Commit 66b475c

Browse files
authored
Add readme for docs (#65)
1 parent 5b1f27a commit 66b475c

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

plantuml-docs/README.adoc

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
= PlantUML Alternative Docs
2+
3+
PlantUML alternative docs for better readability using the alphadocs as a source.
4+
5+
image::demo.png[]
6+
7+
== Features
8+
9+
- Better navigation, top for chapters, left for topics, right for subtopics
10+
11+
- Lunr search engine
12+
13+
- Better layout for docs based on Antora
14+
15+
- Automated sync from link:http://alphadoc.plantuml.com[alphadoc]
16+
17+
- Static pages, can be served on Github Pages or any CDN
18+
19+
- Edit link taking to dokuwiki
20+
21+
- Lazy loading diagrams
22+
23+
- Clicking the diagram takes diagram editing
24+
25+
== Antora structure
26+
27+
- We have antora-playbook.yml that defines our site.
28+
29+
- Our site uses only one component called docs.
30+
31+
- docs component's pages are automatically generated in a PR after processing the docs_from_alphadoc. It shouldn't be edited manually.
32+
33+
- Navigation is NOT generated automatically on purpose, it needs to be edited for the best convinence.
34+
35+
- Site is built and pushed into gh-pages branch when a new commit is merged to main.
36+
37+
== Updating the docs from alphadoc
38+
39+
This project uses link:http://alphadoc.plantuml.com/toc/asciidoc/en[PlantUML's alphadoc] as a source of truth.
40+
41+
To fetch the latest docs from alphadoc, `sync-docs` workflow should be manually triggered by
42+
going to the link:../../../actions/workflows/sync-docs.yml[actions page] or calling it via API.
43+
It automatically creates a PR with the updated docs.

plantuml-docs/demo.png

646 KB
Loading

0 commit comments

Comments
 (0)