All Projects → cheeaun → moodoco

cheeaun / moodoco

Licence: other
HTML5 Offline Documentation for MooTools Core and More.

Moodoco

About

Moodoco is a purely web-based client-side MooTools documentation generator with HTML5 offline capabilities. It uses the GitHub API to fetch all the Markdown documentation files from the repository and stores them offline in localStorage. Then, the page and related CSS/JS files are cached offline with applicationCache.

As of now, localStorage is supported in Firefox 3.5+, Chrome 4+, Safari 4+, Opera 10.5+ and Internet Explorer 8+. For applicationCache, it's supported in Firefox 3.5+, Chrome 5+, Safari 4+ and Opera 10.6+. For browsers not supporting applicationCache, it falls back to Google Gears, if installed.

Contributions are welcomed.

Licensed under the MIT license.

Notes

  • On first load, Moodoco will fetch all Markdown files from the repository. If there are a lot of files, for example from the MooTools More repository, it'll take quite a long time. Be patient.
  • The .htaccess file is needed because cache.manifest must be served as text/cache-manifest. And also, take note of this tip and this.
  • When fetching the Markdown files, some of the requests might fail. If things don't look right, press 'Shift+U' to force re-fetch the Markdown files.
  • Feel free to host this in your local or remote server. Since the page and documentation files are cached offline, almost zero requests are made to your server when loading it in your browser, offline or online.
  • Moodoco is also print-friendly.

Issues

Report them in the issue tracker.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].