test2
5 years ago
1 changed files with 82 additions and 0 deletions
@ -0,0 +1,82 @@ |
|||
= Asciidoc Install ! |
|||
Apostolos rootApostolos@swarmlab.io |
|||
// Metadata: |
|||
:description: Intro and Install |
|||
:keywords: doc |
|||
:data-uri: |
|||
:toc: right |
|||
:toc-title: Πίνακας περιεχομένων |
|||
:toclevels: 4 |
|||
:source-highlighter: highlight |
|||
:icons: font |
|||
:sectnums: |
|||
|
|||
{empty} + |
|||
|
|||
|
|||
[[cheat-Docker]] |
|||
== Install Docker (Ubuntu) |
|||
|
|||
http://docs.vlabs.uniwa.gr/Howtos/docker/install.adoc.html[^] |
|||
|
|||
|
|||
[[cheat-Ascii]] |
|||
== Install (swarmlab-adoc) |
|||
|
|||
https://git.vlabs.uniwa.gr:3000/swarmlab/swarmlab-adoc[^] |
|||
|
|||
[[cheat-use adoc]] |
|||
== Usage (swarmlab-adoc) |
|||
|
|||
|
|||
|
|||
- Open a console |
|||
|
|||
- Switch to the directory that contains *.adoc documents |
|||
|
|||
- Call the Asciidoctor processor with the swarmlab-adoc command |
|||
|
|||
``` |
|||
cd dir |
|||
swarmlab-adoc |
|||
``` |
|||
|
|||
TIP: swarmlab-adoc convert all *.adoc files recursiva in html5 and pdf |
|||
|
|||
.If you need to convert only a file |
|||
[NOTE] |
|||
==== |
|||
``` |
|||
docker run --rm -v $(pwd):/documents/ registry.vlabs.uniwa.gr:5080/swarmlab-asciidoctor asciidoctor --safe -b html5 -a theme=flask -a toc2 -a toc-placement=right -o /path/to/FILENAME.html /path/from/FILENAME.adoc |
|||
``` |
|||
==== |
|||
|
|||
That's all folks! :-) |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
:hardbreaks: |
|||
|
|||
{empty} + |
|||
{empty} + |
|||
{empty} |
|||
|
|||
:!hardbreaks: |
|||
|
|||
''' |
|||
|
|||
.Reminder |
|||
[NOTE] |
|||
==== |
|||
:hardbreaks: |
|||
Caminante, no hay camino, |
|||
se hace camino al andar. |
|||
|
|||
Wanderer, there is no path, |
|||
the path is made by walking. |
|||
|
|||
*Antonio Machado* Campos de Castilla |
|||
==== |
Loading…
Reference in new issue