This is a repo for Opera’s completely revamped extensions documentation for Opera 15+, which lives on http://dev.opera.com/extension-docs/.
There’s Grunt, Jekyll, jQuery, Bootstrap, Bootswatch Cosmo, prettify.js, Google CSE.
- Install Jekyll using
gem install jekyll(might needsudo) - Clone this repository and navigate to the directory in your terminal.
- Run
npm installto install Grunt and other dependencies.
- Run
grunt buildto build the site using Jekyll. The result is placed in the_sitefolder. - Run
grunt deployto deploy the_sitefolder to the production server.
- Enter
jekyll serve. If you want to auto-generate the whole site every time you save a file, typejekyll serve --watch. - Open your favorite browser, and go to
http://localhost:1337/(generated files live in_site).
layout: default-withsidebar | default-noh1-withsidebar | default-withoutsidebartitle: TITLETITLE should be the actual title of the articlesupport: VERSIONVERSION should be the browser version from which the API or functionality is supportedauthor: AUTHORAUTHOR can be any author name mentioned in _config.ymlcopyright: opera-ccby | opera-google-ccbyoriginalsource: ORIGINALSOURCEORIGINALSOURCE should be a link to the original version of the document