update all links to docs (will sub out '.netlify.app' once we ship 4.0)

edit
Hakim El Hattab 2020-05-18 20:52:51 +02:00
parent f618de81de
commit 815557c1d8
6 changed files with 31 additions and 31 deletions

View File

@ -2,7 +2,7 @@
* This stylesheet is used to print reveal.js * This stylesheet is used to print reveal.js
* presentations to PDF. * presentations to PDF.
* *
* https://github.com/hakimel/reveal.js#pdf-export * https://revealjs.netlify.app/pdf-export/
*/ */
html.print-pdf { html.print-pdf {

View File

@ -1,10 +1,10 @@
## Dependencies ## Dependencies
Themes are written using Sass to keep things modular and reduce the need for repeated selectors across files. Make sure that you have the reveal.js development environment including the Grunt dependencies installed before proceeding: https://github.com/hakimel/reveal.js#full-setup Themes are written using Sass to keep things modular and reduce the need for repeated selectors across files. Make sure that you have the reveal.js development environment installed before proceeding: https://revealjs.netlify.app/installation/#full-setup
## Creating a Theme ## Creating a Theme
To create your own theme, start by duplicating a ```.scss``` file in [/css/theme/source](https://github.com/hakimel/reveal.js/blob/master/css/theme/source). It will be automatically compiled by Grunt from Sass to CSS (see the [Gruntfile](https://github.com/hakimel/reveal.js/blob/master/gruntfile.js)) when you run `npm run build -- css-themes`. To create your own theme, start by duplicating a ```.scss``` file in [/css/theme/source](https://github.com/hakimel/reveal.js/blob/master/css/theme/source). It will be automatically compiled from Sass to CSS (see the [gulpfile](https://github.com/hakimel/reveal.js/blob/master/gulpfile.js)) when you run `npm run build -- css-themes`.
Each theme file does four things in the following order: Each theme file does four things in the following order:

View File

@ -149,14 +149,14 @@
## Markdown support ## Markdown support
Write content using inline or external Markdown. Write content using inline or external Markdown.
Instructions and more info available in the [readme](https://github.com/hakimel/reveal.js#markdown). Instructions and more info available in the [readme](https://revealjs.netlify.app/markdown/).
```[] ```[]
<section data-markdown> <section data-markdown>
## Markdown support ## Markdown support
Write content using inline or external Markdown. Write content using inline or external Markdown.
Instructions and more info available in the [readme](https://github.com/hakimel/reveal.js#markdown). Instructions and more info available in the [readme](https://revealjs.netlify.app/markdown/).
</section> </section>
``` ```
</script> </script>
@ -345,7 +345,7 @@
<section> <section>
<h2>Speaker View</h2> <h2>Speaker View</h2>
<p>There's a <a href="https://github.com/hakimel/reveal.js#speaker-notes">speaker view</a>. It includes a timer, preview of the upcoming slide as well as your speaker notes.</p> <p>There's a <a href="https://revealjs.netlify.app/speaker-view/">speaker view</a>. It includes a timer, preview of the upcoming slide as well as your speaker notes.</p>
<p>Press the <em>S</em> key to try it out.</p> <p>Press the <em>S</em> key to try it out.</p>
<aside class="notes"> <aside class="notes">
@ -355,7 +355,7 @@
<section> <section>
<h2>Export to PDF</h2> <h2>Export to PDF</h2>
<p>Presentations can be <a href="https://github.com/hakimel/reveal.js#pdf-export">exported to PDF</a>, here's an example:</p> <p>Presentations can be <a href="https://revealjs.netlify.app/pdf-export/">exported to PDF</a>, here's an example:</p>
<iframe data-src="https://www.slideshare.net/slideshow/embed_code/42840540" width="445" height="355" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:3px solid #666; margin-bottom:5px; max-width: 100%;" allowfullscreen> </iframe> <iframe data-src="https://www.slideshare.net/slideshow/embed_code/42840540" width="445" height="355" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:3px solid #666; margin-bottom:5px; max-width: 100%;" allowfullscreen> </iframe>
</section> </section>
@ -391,10 +391,10 @@ Reveal.on( 'customevent', function() {
<h2>Much more</h2> <h2>Much more</h2>
<ul> <ul>
<li>Right-to-left support</li> <li>Right-to-left support</li>
<li><a href="https://github.com/hakimel/reveal.js#api">Extensive JavaScript API</a></li> <li><a href="https://revealjs.netlify.app/api/">Extensive JavaScript API</a></li>
<li><a href="https://github.com/hakimel/reveal.js#auto-sliding">Auto-progression</a></li> <li><a href="https://revealjs.netlify.app/auto-slide/">Auto-progression</a></li>
<li><a href="https://github.com/hakimel/reveal.js#parallax-background">Parallax backgrounds</a></li> <li><a href="https://revealjs.netlify.app/backgrounds/#parallax-background">Parallax backgrounds</a></li>
<li><a href="https://github.com/hakimel/reveal.js#keyboard-bindings">Custom keyboard bindings</a></li> <li><a href="https://revealjs.netlify.app/keyboard/">Custom keyboard bindings</a></li>
</ul> </ul>
</section> </section>
@ -410,26 +410,24 @@ Reveal.on( 'customevent', function() {
</div> </div>
<script type="module"> <script src="dist/reveal.js"></script>
<script src="plugin/zoom/zoom.js"></script>
<script src="plugin/notes/notes.js"></script>
<script src="plugin/search/search.js"></script>
<script src="plugin/markdown/markdown.js"></script>
<script src="plugin/highlight/highlight.js"></script>
<script>
import Reveal from '/dist/reveal.esm.js'; // Also available as an ES module, see:
import Zoom from '/plugin/zoom/zoom.esm.js'; // https://revealjs.netlify.app/initialization/
import Notes from '/plugin/notes/notes.esm.js';
import Search from '/plugin/search/search.esm.js';
import Markdown from '/plugin/markdown/markdown.esm.js';
import Highlight from '/plugin/highlight/highlight.esm.js';
// More info https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({ Reveal.initialize({
controls: true, controls: true,
progress: true, progress: true,
center: true, center: true,
hash: true, hash: true,
transition: 'slide', // none/fade/slide/convex/concave/zoom // Learn about plugins: https://revealjs.netlify.app/plugins/
plugins: [ RevealZoom, RevealNotes, RevealSearch, RevealMarkdown, RevealHighlight ]
// More info https://github.com/hakimel/reveal.js#plugins
plugins: [ Zoom, Notes, Search, Markdown, Highlight ]
}); });
</script> </script>

View File

@ -125,8 +125,8 @@
<script src="../dist/reveal.js"></script> <script src="../dist/reveal.js"></script>
<script> <script>
// Full list of configuration options available here: // Full list of configuration options:
// https://github.com/hakimel/reveal.js#configuration // https://revealjs.netlify.app/config/
Reveal.initialize({ Reveal.initialize({
center: true, center: true,

View File

@ -22,15 +22,17 @@
</div> </div>
<script src="dist/reveal.js"></script> <script src="dist/reveal.js"></script>
<script src="plugin/notes/notes.js"></script>
<script src="plugin/markdown/markdown.js"></script> <script src="plugin/markdown/markdown.js"></script>
<script src="plugin/highlight/highlight.js"></script> <script src="plugin/highlight/highlight.js"></script>
<script src="plugin/notes/notes.js"></script>
<script> <script>
// More info about config & dependencies: // More info about initialization & config:
// - https://github.com/hakimel/reveal.js#configuration // - https://revealjs.netlify.app/initialization/
// - https://github.com/hakimel/reveal.js#plugins // - https://revealjs.netlify.app/config/
Reveal.initialize({ Reveal.initialize({
hash: true, hash: true,
// Learn about plugins: https://revealjs.netlify.app/plugins/
plugins: [ RevealMarkdown, RevealHighlight, RevealNotes ] plugins: [ RevealMarkdown, RevealHighlight, RevealNotes ]
}); });
</script> </script>

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "reveal.js", "name": "reveal.js",
"version": "4.0.0-dev", "version": "4.0.0-rc.1",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {