git clone https://github.com/nix-united/ape.git
Clone the repo
Install dependencies
Create presentation’s structure
Create presentation’s slides
Build it and check it locally
Push your changes to the repo
Enjoy
git clone https://github.com/nix-united/ape.gitInstall the package and any packages that it depends on:
npm installCreate symlink to the /node_modules/reveal.js/ script directory.
It should be does by the postinstall hook:
ln -s `pwd`/node_modules/reveal.js/ ./javascripts/reveal.js`-- engine/
|-- example/
|-- my presentation/ (1)
| |-- images/ (2)
| |-- .settings.adoc (3)
| `-- index.adoc (4)
|-- .contents.adoc (5)
|-- ...
|-- README.adoc
`-- server.jsCreate directory for your presentation
Create subdirectory images if you need it
Create .settings.adoc file for reveal.js configuration
Create index.adoc file for your presentation. Include settings in the presentation file include::.settings.adoc[]
Add the link to your presentations to .contents.adoc file (optional)
Create your presentation slides uses asciidoc format with reveal.js features.
You can see our presentation for more examples of the slides.
Live demo is also available here https://nix-united.github.io/ape/
Convert the adoc file to the html format and check the result manually in your browser:
npm run build ./index.adocOr run a web server that will observe changes in the file and refresh the browser automatically:
npm start
# or
npm start ./example/index.adocTo convert presentation’s slides from HTML to PDF, run the following command:
npm run pdf ./index.html ./index.pdfgit add --all
git commit -m "My first presentation with APE"
git pushSo, you can build your presentation locally or download artifacts from the project pipeline.