kb:common:asciidoctor
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
kb:common:asciidoctor [2022/03/17 14:08] – created joerg.hampel | kb:common:asciidoctor [2025/03/12 12:55] (current) – [Asciidoctor] alexander.elbert | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Asciidoctor ====== | ====== Asciidoctor ====== | ||
+ | ===== Manual Installation ===== | ||
+ | |||
+ | ==== Ruby ==== | ||
+ | On Windows: | ||
+ | |||
+ | * https:// | ||
+ | * as of 2025-03-12: '' | ||
+ | * **install for local user only** | ||
+ | * install MSYS2 base installation | ||
+ | * **reboot computer!** | ||
+ | |||
+ | On RHEL: | ||
+ | |||
+ | Disable default Ruby AppStream module on your system | ||
+ | $ sudo dnf module reset ruby -y | ||
+ | To specify the module version, use the command: | ||
+ | $ sudo yum install @ruby:3.1 | ||
+ | |||
+ | ==== Asciidoctor ==== | ||
+ | |||
+ | // | ||
+ | |||
+ | * https:// | ||
+ | * https:// | ||
+ | * https:// | ||
+ | |||
+ | In the windows menu look for '' | ||
+ | |||
+ | $ gem install asciidoctor | ||
+ | $ gem install asciidoctor-diagram | ||
+ | $ gem install asciidoctor-pdf | ||
+ | |||
+ | |||
+ | <WRAP left round download 100%> | ||
+ | For RAT: Generation of the diagrams will either take place via the ruby gem asciidoctor-diagram or asciidoctor-kroki. This can be configured via [[code: | ||
+ | asciidoctor-diagram requires java and graphviz and asciidoctor-kroki requires communication to a kroki server. | ||
+ | </ | ||
+ | == Offline Installation of gems == | ||
+ | |||
+ | If no direct network connection is available, you can use [[https:// | ||
+ | |||
+ | 1. [[https:// | ||
+ | |||
+ | $ gem install --force --local bundler-2.5.7.gem | ||
+ | |||
+ | 2. Download our ready-made [[https:// | ||
+ | |||
+ | 3. Run the following command from the above directory where the '' | ||
+ | |||
+ | $ bundle install --local | ||
+ | |||
+ | |||
+ | ====== Package based Installation (Linux) ====== | ||
+ | |||
+ | Example based on Red Hat Enterprise Linux 8.7. | ||
+ | |||
+ | $ sudo dnf install asciidoc | ||
+ | |||
+ | <note important> | ||
+ | |||
+ | |||
+ | === PlantUML / GraphViz === | ||
+ | |||
+ | See [[kb: |
kb/common/asciidoctor.1647526095.txt.gz · Last modified: 2022/03/17 14:08 by joerg.hampel