DocHub on GitHub Pages
Docker repositories or manual
-
Download de docfiles
*.json
and paste instatic/data
-
Run the server:
npm install --production # downloads dependencies for web server or npm install for all dependencies npm start
-
Open
http://localhost:5000/
in your browser.
Docfiles is de *.json
docs for static/data
. Currently contains docfiles:
- CSS/HTML/JavaScript/DOM data is from the Mozilla Developer Network.
- jQuery data is from jQuery API. Version is 1.7.
- PHP data is from PHP: Alphabetical - Manual.
- Python 2.7 data is from The Python Standard Library. Version is 2.7.
- Python 3 data is from The Python Standard Library. Version is 3.3.2.
- Node.js data is from Node.js Manual & Documentation. Version is 0.10.17.
The static/data/
directory contains our scrape of the sites we get content from. Right now we don't update this very often. If you want the most up-to-date content, you can run the scrapers:
npm install --dev # downloads dependencies for scrapers
cd scraper
node you-scrape.js
- CHANGELOG
- How to use the
r.js
optimizer:node node_modules/requirejs/bin/r.js -o static/js/app.build.js
, make sure the node server is serving the correct static folder (whether you want/static
or/static-build
).
Licensed under the GNU Affero General Public License.