GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing gerrit.wikimedia.org — jsdoc/wmf-theme - Gitiles Clone this repo:
JSDoc WMF themeA theme for JSDoc 4 conforming to the Codex design system. Forked from the default template for JSDoc 3, which uses the Underscore Template library. ExampleSee the EventLogging docs for a sample demo. :rocket: Install$ npm install --save jsdoc-wmf-theme UsageIn your "opts": { "template": "node_modules/jsdoc-wmf-theme" } To load the standard set of plugins, use: "plugins": { "node_modules/jsdoc-wmf-theme/plugins/default" } OptionsFor information about options and plugins, see the wiki page. ContributingContributions to the theme are welcome! See the JSDoc WMF theme board on Phabricator to view open tasks or open new tasks, bug reports, or requests. Local developmentThese steps assume that you have Gerrit set up. To set up a development environment, you'll need a repository that can generate JSDoc documentation, and this theme itself. Initial setup# Create a local folder mkdir jsdoc-test # Enter that new local folder cd jsdoc-test # Download a repository that uses JSDoc. Either MediaWiki core... git clone https://gerrit.wikimedia.org/r/mediawiki/core # ...or OOJS (or another repo of your choosing). git clone https://gerrit.wikimedia.org/r/oojs/core # Get the JSDoc theme git clone https://gerrit.wikimedia.org/r/jsdoc/wmf-theme cd wmf-theme npm install cd .. Point to your local themeIn your local repository that uses JSDoc, edit the JSDoc config file (either
Edit defaultPlugins.jsonIn your local wmf-theme repository, edit defaultPlugins.json to point to the local plugins.
Build and view your local docsBuild the docs in your test repo and view the generated site in the browser. E.g. for MediaWiki core, run Writing stylesThis theme uses Codex design tokens for CSS values. View the Codex docs to see all of the tokens available for use as CSS custom properties. ThanksThanks to:
LicenseLicensed under the Apache License, version 2.0. |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |