Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add link to examples and revealjs.com to index.html slide #3395

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions examples/build-index.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh

rm index.html

echo "<h1>reveal.js example decks</h1><ul>" >> index.html
for deck in `ls *.html`; do
name="${deck%.html}"
echo "<li><a href='$deck'>$name</a></li>" >> index.html
done
echo "</ul>" >> index.html
12 changes: 12 additions & 0 deletions examples/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<h1>reveal.js example decks</h1><ul>
<li><a href='auto-animate.html'>auto-animate</a></li>
<li><a href='backgrounds.html'>backgrounds</a></li>
<li><a href='barebones.html'>barebones</a></li>
<li><a href='index.html'>index</a></li>
<li><a href='layout-helpers.html'>layout-helpers</a></li>
<li><a href='markdown.html'>markdown</a></li>
<li><a href='math.html'>math</a></li>
<li><a href='media.html'>media</a></li>
<li><a href='multiple-presentations.html'>multiple-presentations</a></li>
<li><a href='transitions.html'>transitions</a></li>
</ul>
8 changes: 7 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,13 @@
<body>
<div class="reveal">
<div class="slides">
<section>Slide 1</section>
<section>
<h1>Slide 1</h1>
<ol>
<li><a href="examples/">Examples</a></li>
<li><a href="https://revealjs.com/">revealjs.com</a></li>
</ol>
</section>
<section>Slide 2</section>
</div>
</div>
Expand Down