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 install
to install Grunt and other dependencies.
- Run
grunt build
to build the site using Jekyll. The result is placed in the_site
folder. - Run
grunt deploy
to deploy the_site
folder 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-withoutsidebar
title: TITLE
TITLE should be the actual title of the articlesupport: VERSION
VERSION should be the browser version from which the API or functionality is supportedauthor: AUTHOR
AUTHOR can be any author name mentioned in _config.ymlcopyright: opera-ccby | opera-google-ccby
originalsource: ORIGINALSOURCE
ORIGINALSOURCE should be a link to the original version of the document