Merge "Revision: Inject Logger instead of LoggerSpi"
[lhc/web/wiklou.git] / docs / kss / README.txt
1 The Makefile, package.json, scripts, styleguide-template, and
2 mediawiki.ui/styleguide.md files and directories here and in
3 resources/src/mediawiki.ui/ support the automatic generation
4 of CSS documentation from the source LESS files using kss for
5 node.js, https://github.com/kneath/kss
6
7 To build and open in your web browser, run:
8
9 MEDIAWIKI_LOAD_URL=mediawiki_hostname/w/load.php make kssopen
10
11 For example,
12
13 MEDIAWIKI_LOAD_URL=1.2.3.4/w/load.php make kssopen
14
15 If MediaWiki is running on localhost, you can omit MEDIAWIKI_LOAD_URL.
16
17 To rebuild without opening the web browser, run:
18
19 MEDIAWIKI_LOAD_URL=mediawiki_hostname/w/load.php make
20
21 When modifying styleGuideModules.txt, keep the list in strict alphabetical order (with no extra formatting), so CSS loads in the same order as ResourceLoader's addModuleStyles does; this can affect rendering.