Welcome to Slidev!
To start the slide show:
npm install
npm run dev
- visit http://localhost:3030
Edit the slides.md to see the changes.
Learn more about Slidev on documentations.
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.
- Enable GitHub Pages
Select GitHub Actions as the source
After selection,github-pages
will be added to Environments. - Set
Deployment branches and tags
forgithub-pages
in Environments
Addtagpr-from-*
to the branch fromAdd deployment branch or tag rule
. - Change the permissions of GitHub Actions to enable tagpr execution
ChangeWorkflow permissions
toRead and write permissions
, checkAllow GitHub Actions to create and approve pull requests
, and save. - Set the Google tag ID in the Repository secrets of GitHub Actions (optional)
Register a secret namedGA_TRACKING_ID
inRepository secrets
.
Publishing to GitHub Pages is linked to the release branch of tagpr when it is merged.