-
-
\ No newline at end of file
diff --git a/website/docs/contributing/index.html b/website/docs/contributing/index.html
new file mode 100644
index 0000000..a0d6f18
--- /dev/null
+++ b/website/docs/contributing/index.html
@@ -0,0 +1,56 @@
+
+
+
+ Contributing :: Docs - impress.js
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Getting Started - Contributing
+
So, you'd like to contribute to this project?
+
We're excited to have you in the team! We'll give you a quick introduction on contributing to this project.
+
Development happens on Github. Fork the project and start editing! You may want to clone the repo locally. To do this, run the following commands (omit the --recursive for a minimal checkout):
Once you have made your changes, we expect you to run the following commands for testing:
+
+
+npm i
+npm run all
+
+
+
This will build the impress.js file, as well as the impress.min.js file which currently is not included in the repository. It will also build the website and run some tests to make sure your code follows our code guidelines.
+
Repository structure
+
+
/website: This folder contains all the source code for the impress.js website.
+
website/demo/index.html This is the official impress.js demo, showcasing all of the features of the original impress.js, as well as some new plugins as we add them. As already mentioned, this file is well commented and acts as the official tutorial.
+
website/demo/examples/ Contains several demos showcasing additional features available. Classic Slides is a simple demo that you can use as template if you want to create very simple, rectangular, PowerPoint-like presentations.
test/ Contains QUnit and Syn libraries that we use for writing tests, as well as some test coverage for core functionality. (Yes, more tests are much welcome.) Tests for plugins are in the directory of each plugin.
+
js/ Contains js/impress.js, which contains a concatenation of the core `src/impress.js` and all the plugins. Traditionally this is the file that you'll link to in a browser. In fact both the demo and test files do exactly that.
+
css: Contains a CSS file used by the demo. This file is not required for using impress.js in your own presentations. Impress.js creates the CSS it needs dynamically.
+
extras/ contains plugins that for various reasons aren't enabled by default. You have to explicitly add them with their own `script` element to use them.
+
build.js Simple build file that creates `js/impress.js`. It also creates a minified version `impress.min.js`, but that one is not included in the github repository.
+
package.js An NPM package specification. This was mainly added so you can easily install buildify and run `node build.js`. Other than the build process, which is really just doing roughly `cat src/impress.js src/plugins/*/*.js > js/impress.js`, and testing, `impress.js` itself doesn't depend on Node or any NPM modules.
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/website/docs/contributing/website.html b/website/docs/contributing/website.html
new file mode 100644
index 0000000..6ab8b89
--- /dev/null
+++ b/website/docs/contributing/website.html
@@ -0,0 +1,44 @@
+
+
+
+ Docs - impress.js
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Contributing - Website
+
So, you'd like to contribute to the impress.js website?
+
Do you want to contribute to the impress.js website by writing more documentation, improving existing documentation or by adding more pages, fixing some or by doing some better styling? Then let's show you how!
+
You should start by cloning the impress.js repository. How to do that is explained here. The impress.js website is located in the website/ directory. You may find the website build script in the website/docs/src directory together with the template which you should always use when creating new pages.
+
Whenever you add a new page to the impress.js docs, you need first add a new navigation entry in the build-script and then run it to regenerate the navigation menu:
+
+
+npm i
+npm run build-website
+
+
+
Adding a new plugin to impress.js
+
Whenever you add a plugin to impress.js, please also provide a README.md file. Then run the build script as described above. The script will go through the plugins directory and automatically generate the HTML files from the README's
+
Ideas for what to do
+
+
Translate into other languages
+
Guess plugin title from title of READMEs instead of filename