Skip to content

Commit

Permalink
Moved to mkslides
Browse files Browse the repository at this point in the history
  • Loading branch information
MartenBE committed Sep 22, 2024
1 parent c55cbf4 commit b49bdca
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: pip install mkslides-reveal
- run: mkslides-reveal build docs/
- run: pip install mkslides
- run: mkslides build docs/
- uses: actions/upload-pages-artifact@v3
with:
path: ./site
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,25 @@ You can see the slides of this repository as a demo at https://hogenttin.github.
source ./venv/bin/activate
```

3. Install [mkslides-reveal](https://pypi.org/project/mkslides-reveal/):
3. Install [mkslides](https://pypi.org/project/mkslides/):

```bash
pip install mkslides-reveal
pip install mkslides
```

### How do I use this?


Edit, add or delete your markdown files in the [docs](./docs/) directory, and run `mkslides-reveal build docs/` to generate the website in the [site](./site) folder. **That's all to get started!** :rocket:
Edit, add or delete your markdown files in the [docs](./docs/) directory, and run `mkslides build docs/` to generate the website in the [site](./site) folder. **That's all to get started!** :rocket:
### Live preview
`mkslides-reveal` allows you to start up a live preview, so you can instantly see how your slides look like whilst editing the markdown files.
`mkslides` allows you to start up a live preview, so you can instantly see how your slides look like whilst editing the markdown files.
To start a local webserver with live reloading:
```bash
mkslides-reveal serve docs/
mkslides serve docs/
```
---
Expand All @@ -53,9 +53,9 @@ If you want another theme, you can change the `theme` entries in [mkslides.yml](

### Landing page

You can add a template to create a nice landing page for your course. It uses the [Mustache template engine](https://mustache.github.io/). See [mkslides-reveal](https://pypi.org/project/mkslides-reveal/) for more information.
You can add a template to create a nice landing page for your course. It uses the [Mustache template engine](https://mustache.github.io/). See [mkslides](https://pypi.org/project/mkslides/) for more information.

### [mkslides-reveal](https://pypi.org/project/mkslides-reveal/) options
### [mkslides](https://pypi.org/project/mkslides/) options

You can add them to [mkslides.yml](./mkslides.yml).

Expand Down

0 comments on commit b49bdca

Please sign in to comment.