kb:common:asciidoctor
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
kb:common:asciidoctor [2023/02/27 10:02] – manuel.sebald | kb:common:asciidoctor [2025/03/12 12:55] (current) – [Asciidoctor] alexander.elbert | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Asciidoctor ====== | ====== Asciidoctor ====== | ||
- | ====== Manual Installation | + | ===== Manual Installation ===== |
- | === Ruby === | + | ==== Ruby ==== |
+ | On Windows: | ||
* https:// | * https:// | ||
- | * as of 2021-02-18: '' | + | * as of 2025-03-12: '' |
+ | * **install for local user only** | ||
* install MSYS2 base installation | * install MSYS2 base installation | ||
- | * reboot computer! | + | |
+ | On RHEL: | ||
- | === Asciidoctor === | + | 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 | ||
// | // | ||
Line 18: | Line 26: | ||
* https:// | * https:// | ||
* https:// | * https:// | ||
+ | |||
+ | In the windows menu look for '' | ||
$ gem install asciidoctor | $ gem install asciidoctor | ||
- | $ gem install asciidoctor-diagram | + | $ gem install asciidoctor-diagram |
$ gem install asciidoctor-pdf | $ 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 == | == Offline Installation of gems == | ||
If no direct network connection is available, you can use [[https:// | If no direct network connection is available, you can use [[https:// | ||
- | 1. [[https:// | + | 1. [[https:// |
- | $ gem install --force --local bundler-2.1.4.gem | + | $ gem install --force --local bundler-2.5.7.gem |
- | 2. Download our ready-made [[https:// | + | 2. Download our ready-made [[https:// |
3. Run the following command from the above directory where the '' | 3. Run the following command from the above directory where the '' |
kb/common/asciidoctor.1677492174.txt.gz · Last modified: 2023/02/27 10:02 by manuel.sebald