|
| 1 | += Welcome! |
| 2 | +:navtitle: Welcome |
| 3 | + |
| 4 | +Example using _UML_ and _Emoji_. |
| 5 | + |
| 6 | +emoji:bear[5x] |
| 7 | + |
| 8 | + |
| 9 | +[plantuml] |
| 10 | +---- |
| 11 | +@startuml |
| 12 | + Class01 <|-- Class02 |
| 13 | + Class03 *-- Class04 |
| 14 | + Class05 o-- Class06 |
| 15 | + Class07 .. Class08 |
| 16 | + Class09 -- Class10 |
| 17 | +@enduml |
| 18 | +---- |
| 19 | + |
| 20 | +[source, js] |
| 21 | +---- |
| 22 | +// File: app.js |
| 23 | +const User = ({ |
| 24 | + username:'clsource' |
| 25 | +}); |
| 26 | +---- |
| 27 | + |
| 28 | +[dbml] |
| 29 | +---- |
| 30 | +Table users { |
| 31 | + id integer |
| 32 | + username varchar |
| 33 | + role varchar |
| 34 | + created_at timestamp |
| 35 | +} |
| 36 | +
|
| 37 | +Table posts { |
| 38 | + id integer [primary key] |
| 39 | + title varchar |
| 40 | + body text [note: 'Content of the post'] |
| 41 | + user_id integer |
| 42 | + status post_status |
| 43 | + created_at timestamp |
| 44 | +} |
| 45 | +
|
| 46 | +Enum post_status { |
| 47 | + draft |
| 48 | + published |
| 49 | + private [note: 'visible via URL only'] |
| 50 | +} |
| 51 | +
|
| 52 | +Ref: posts.user_id > users.id // many-to-one |
| 53 | +---- |
| 54 | + |
| 55 | + |
| 56 | +== Antora Demo Site and Playbook Project |
| 57 | +:url-project: https://antora.org |
| 58 | +:url-org: https://gitlab.com/antora |
| 59 | +:url-group: {url-org}/demo |
| 60 | +:url-repo: {url-group}/docs-site |
| 61 | +:url-demo-playbook: {url-repo}/blob/main/antora-playbook.yml |
| 62 | +:url-antora-docs: https://docs.antora.org/antora/latest |
| 63 | +:url-docs-quickstart: {url-antora-docs}/install-and-run-quickstart/ |
| 64 | +:url-docs-playbook: {url-antora-docs}/playbook/ |
| 65 | +:url-docs-run: {url-antora-docs}/run-antora/ |
| 66 | +:url-opendevise: https://opendevise.com |
| 67 | + |
| 68 | +This is the playbook project for the Antora demo site. |
| 69 | +You can view the site produced by the Antora playbook ([.path]_antora-playbook.yml_) stored in this project at https://antora.gitlab.io/demo/docs-site. |
| 70 | + |
| 71 | +You can also use this project and the demo documentation components to generate the demo site on your own computer |
| 72 | +To use the demo materials and generate the demo site locally, follow the steps in the {url-docs-quickstart}[Antora quickstart]. |
| 73 | + |
| 74 | +== Antora Playbook |
| 75 | + |
| 76 | +An {url-docs-playbook}[Antora playbook] is responsible for generating a documentation site. |
| 77 | +It contains the instructions a user wants to relay to the Antora site generator. |
| 78 | +These instructions include the content Antora should collect and the UI it should apply to the generated site. |
| 79 | + |
| 80 | +The file [.path]_antora-playbook.yml_ in this repository is the playbook used to produce the demo site. |
| 81 | +It tells Antora where to find the Component A and Component B remote content repositories and default UI. |
| 82 | + |
| 83 | +== Generate the Demo Site |
| 84 | + |
| 85 | +After cloning this playbook project repository to your computer or setting up your own playbook for the demo site (see the {url-docs-quickstart}[Antora quickstart] for instructions) you can generate the demo site by {url-docs-run}[running Antora]. |
| 86 | + |
| 87 | +== Copyright and License |
| 88 | + |
| 89 | +Copyright (C) 2017-present by OpenDevise Inc. and the individual contributors to Antora. |
| 90 | + |
| 91 | +Use of this software is granted under the terms of the https://www.mozilla.org/en-US/MPL/2.0/[Mozilla Public License Version 2.0] (MPL-2.0). |
| 92 | +See link:LICENSE[] to find the full license text. |
| 93 | + |
| 94 | +== Authors |
| 95 | + |
| 96 | +Development of Antora is led and sponsored by {url-opendevise}[OpenDevise Inc]. |
0 commit comments