Open in GitHub Codespaces

Welcome to Slidev!

To start the slide show:

Edit the slides.md to see the changes.

Learn more about Slidev on documentations.

How to publish to GitHub Pages

This repository extends Slidev's Init Project with the following features:

  • Installation of several Slidev Addons
  • Lint and build-time validation
  • Version management using tagpr
  • Release management synchronized with version (PDF generation)
  • Publishing to GitHub Pages (OGP, Google tag support)

Publishing to GitHub Pages is done via Github Actions, but some repository settings are required in advance.

Please follow the steps below.

  1. Enable GitHub Pages
    Select GitHub Actions as the source
    After selection, github-pages will be added to Environments.
  2. Set Deployment branches and tags for github-pages in Environments
    Add tagpr-from-* to the branch from Add deployment branch or tag rule.
  3. Change the permissions of GitHub Actions to enable tagpr execution
    Change Workflow permissions to Read and write permissions, check Allow GitHub Actions to create and approve pull requests, and save.
  4. Set the Google tag ID in the Repository secrets of GitHub Actions (optional)
    Register a secret named GA_TRACKING_ID in Repository secrets.

Publishing to GitHub Pages is linked to the release branch of tagpr when it is merged.