renefritze / 22-wwu-rsexpress

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

22-wwu-rsexpress

René Fritze rene.fritze@wwu.de

repository_description.

Build Status GitHub license

Install

  1. Install npm
  2. Clone this repository
  3. Install dependencies with npm
git clone https://github.com/renefritze/22-wwu-rsexpress
cd 22-wwu-rsexpress
make install

See Edits and Implementation for more details.

Usage

  1. Generate static_html/index.html (see script.html in package.json)
  2. Generate slides/fritze2022_22wwursexpress_slides.pdf (see script.pdf in package.json)
make html
make pdf

Developer Notes

Edits

The following can be edited before generating:

  • slides/fritze2022_22wwursexpress_slides.md: Markdown file with slide contents
  • slides/template.html: Custom reveal-md template to generate slides with
  • static_html/edit/style.css: CSS file to adjust styling of slides
  • static_html/edit/logo.png: logo image to use

Implementation

The slides 22-wwu-rsexpress uses the following npm packages for its implementation:

npm Purpose
reveal-md Converting slides/fritze2022_22wwursexpress_slides.md to static_html/index.html
decktape Converting slides/fritze2022_22wwursexpress_slides.md to slides/fritze2022_22wwursexpress_slides.pdf
windows-build-tools Compiling dependencies for decktape on Windows Operating System (OS)
       reveal-md            <-- Convert markdown  slides to html

       decktape             <-- Convert markdown slides to pdf
          |
  windows-build-tools       <-- Compile decktape on Windows OS

Deployment

Pushes to the main branch trigger a Github Action that builds the html slides and deploys the static_html/ directory via the gh-pages branch to Github Pages. For this to work goto Repository Settings -> Actions -> General -> Workflow permissions and set that to "read and write".

Notes

About

License:MIT License


Languages

Language:HTML 50.7%Language:JavaScript 21.3%Language:Makefile 13.2%Language:Python 10.6%Language:CSS 4.1%