Skip to content

DavidCristea797/delete-me

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

asciidoctor-html-template

version 1.0

1. doc-as-code

1.1. Overview

The purpose of this template is to convert adoc-Files to html-Files These files are divided in html-documents and html-slides. The slides are rendered using revealjs.

The convertion of the adoc-files is processed in a docker-container.

adoc to html

1.2. Usage

1.2.1. Initial Configuration

  • After templating this repo commit and push the demo page

  • Set Settings - Pages - Branch: gh-pages - Folder: / (root)

    Details
    permissions for asciidoc 2

1.2.2. Accessing the Website(s) for docs

1.2.3. Accessing the Website(s) for slides

1.2.4. Remote Rendering by github-actions

When commiting and pushing the adoc-files into github, they are automatically rendered by github-actions to html in a (new) branch gh-pages. All sub-folders with adoc-files are included.

1.2.5. Local Rendering

Because the rendering with gh-actions on a gh-runner takes time, it is possible to create a local dist-folder with

./local-convert.sh
You need docker installed locally.

You even can publish your locally created html-slides with

./publish.sh

1.3. Customizing

You should not change the scripts in the asciidocs-folder, unless you really know what to do.
  • The script are available in the asciidocs-Folder. So you could change the options for the asciidoctor-engine or the version of revealjs.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published