Skip to content

Commit

Permalink
Add HTML page build for fcsdevslides
Browse files Browse the repository at this point in the history
  • Loading branch information
Querela committed Apr 10, 2024
1 parent 41ab5d0 commit 513d4d3
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 4 deletions.
30 changes: 28 additions & 2 deletions .github/workflows/publish-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ jobs:
- name: Build slides
run: asciidoctor-revealjs -v -D slides -o index.html fcs-endpoint-dev-slides/index.adoc

- name: Copy slide resources
run: |
mv -v fcs-endpoint-dev-slides/images slides/
Expand All @@ -126,9 +126,35 @@ jobs:
name: fcs-endpoint-dev-slides
path: slides/*

fcs-endpoint-dev-slides-as-doc:
runs-on: ubuntu-latest
container: asciidoctor/docker-asciidoctor

steps:
- uses: actions/checkout@v4

- name: Build HTML
run: asciidoctor -v -D docs -a data-uri --backend=html5 -o fcs-endpoint-dev-slides.html fcs-endpoint-dev-slides/index.adoc

#- name: Build PDF
# run: asciidoctor-pdf -v -D docs -o fcs-endpoint-dev-slides.pdf fcs-endpoint-dev-slides/index.adoc

- name: Store results
uses: actions/upload-artifact@v4
with:
name: fcs-endpoint-dev-slides-docs
path: doc/*

publish:
runs-on: ubuntu-latest
needs: [ fcs-aai, fcs-core-1-0, fcs-core-2-0, fcs-dataviews-1-0, fcs-endpoint-dev-slides ]
needs:
[
fcs-aai,
fcs-core-1-0,
fcs-core-2-0,
fcs-dataviews-1-0,
fcs-endpoint-dev-slides,
]

steps:
- uses: actions/checkout@v4
Expand Down
10 changes: 8 additions & 2 deletions fcs-endpoint-dev-slides/index.adoc
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
= FCS Endpoint Development Tutorial
:author: Erik Körner <[email protected]>
:date: 2024-03-11
// revealjs
:revealjsdir: reveal.js
:revealjs_theme: white
:revealjs_width: 1408
:revealjs_height: 892
:revealjs_slideNumber: h.v
// :revealjs_hash: true
:source-highlighter: highlight.js
// source code
ifdef::backend-revealjs[]
:source-highlighter: highlight.js
// :highlightjsdir:
// https://github.com/asciidoctor/asciidoctor-reveal.js/blob/cbe2ac7f72877050ce15ee4a38fd54ca91590a78/lib/asciidoctor-revealjs/highlightjs.rb#L62
// see https://github.com/asciidoctor/asciidoctor-reveal.js/blob/cbe2ac7f72877050ce15ee4a38fd54ca91590a78/lib/asciidoctor-revealjs/highlightjs.rb#L62
:highlightjs-theme: reveal.js/plugin/highlight/magula.css
:highlightjs-languages: xml,python,java,json,yaml,isbl,csharp,wren,x86asm
endif::[]
ifndef::backend-revealjs[]
:source-highlighter: rouge
:rouge-style: igor_pro
endif::[]
:imagesdir: images
:customcss: css/presentation.css
:title-slide-background-image: fcs-render-uk.png
Expand Down

0 comments on commit 513d4d3

Please sign in to comment.