diff options
Diffstat (limited to 'docs/kss/Makefile')
-rw-r--r-- | docs/kss/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/kss/Makefile b/docs/kss/Makefile index a7b0c471..dadfb47c 100644 --- a/docs/kss/Makefile +++ b/docs/kss/Makefile @@ -4,9 +4,9 @@ kss: kssnodecheck # Generates CSS of mediawiki.ui and mediawiki.ui.button using ResourceLoader, then applies it to the # KSS style guide $(eval KSS_RL_TMP := $(shell mktemp /tmp/tmp.XXXXXXXXXX)) -# Keep module names in strict alphabetical order, so CSS loads in the same order as ResourceLoader's addModuleStyles does; this can affect rendering. + $(eval MODULE_STR := $(shell paste -sd "|" styleGuideModules.txt)) # See OutputPage::makeResourceLoaderLink. - @curl -sG "${MEDIAWIKI_LOAD_URL}?modules=mediawiki.legacy.commonPrint|mediawiki.legacy.shared|mediawiki.ui|mediawiki.ui.anchor|mediawiki.ui.button|mediawiki.ui.checkbox|mediawiki.ui.input&only=styles" > $(KSS_RL_TMP) + @curl -sG "${MEDIAWIKI_LOAD_URL}?modules=${MODULE_STR}&only=styles" > $(KSS_RL_TMP) @node_modules/.bin/kss-node ../../resources/src/mediawiki.ui static/ --css $(KSS_RL_TMP) -t styleguide-template @rm $(KSS_RL_TMP) |