diff --git a/website/docs/plugins/autoplay.html b/website/docs/plugins/autoplay.html index bd34d33..458525a 100644 --- a/website/docs/plugins/autoplay.html +++ b/website/docs/plugins/autoplay.html @@ -18,11 +18,11 @@
The autoplay plugin automatically advances the presentation after a certain timeout expired.
+The autoplay plugin automatically advances the presentation after a certain timeout expired.
You first have to enable the plugin by setting a global data-autoplay value on the impress-div. Then you can change individual data-autoplay values on each step by adding data-autoplay to it. If this value is set to 0, there will be no more auto-advancing on this step. The value you enter is time in seconds to switch to the next slide.
Note: This only shows part of the HTML. If you want to know how to set up a presentation, I highly recommend you read our Getting Started Guide
+Note: This only shows part of the HTML. If you want to know how to set up a presentation, I highly recommend you read our Getting Started Guide
<div id=impress data-autoplay="5">
<div class="step" data-autoplay="0">
This slide will not auto-advance
diff --git a/website/docs/plugins/toolbar.html b/website/docs/plugins/toolbar.html
index 5c5b046..c3ff4b3 100644
--- a/website/docs/plugins/toolbar.html
+++ b/website/docs/plugins/toolbar.html
@@ -37,7 +37,7 @@ of different divs.
margin-right: 10px;
}
-The mouse-timeout plugin can be leveraged to hide +
The mouse-timeout plugin can be leveraged to hide the toolbar from sight, and only make it visible when mouse is moved.
body.impress-mouse-timeout div#impress-toolbar {
display: none;
diff --git a/website/docs/src/build.js b/website/docs/src/build.js
index 73f56fc..a36eead 100644
--- a/website/docs/src/build.js
+++ b/website/docs/src/build.js
@@ -99,7 +99,7 @@ if ( prompt( 'Do you want to regenerate the plugins documentation? (y/n) ' ).toL
( async () => {
let html = md2html.render( '' + data );
storeHTML( await findLinks( html, path.join( pluginsPath + '/' + plugins[item] ) ), plugins[item], 'plugins' );
- } );
+ } ) ();
};
} );
};
@@ -120,14 +120,14 @@ buildExamplesPage();
*/
async function findLinks ( html, path ) {
let returnHTML = html;
- for ( let letter in html ) {
- if ( html[letter] === '<' ) {
- if ( html.slice( parseInt( letter ), parseInt( letter ) + 9 ) === '';
@@ -186,7 +186,13 @@ async function checkLinks ( link, fpath ) {
return '';
} else if ( link.slice( 0, 1 ) === '/' && link.slice( 1, 2 ) !== '.' ) {
if ( link.slice( link.length - 3, link.length ).includes( '.' ) ) {
- return '';
+ if ( link === '/GettingStarted.md' ) {
+ return '';
+ } else if ( link === '/DOCUMENTATION.md' ) {
+ return '';
+ } else {
+ return '';
+ }
} else {
return '';
};