forked from MapComplete/MapComplete
Further improvements to entrances theme, add layer-crossdependency detection, add layers which another layer depends on automatically to the theme, add documentation on which layers depends on which other layers, regenerate documentation
This commit is contained in:
parent
8e40d76281
commit
0ee23ce36d
27 changed files with 9032 additions and 331 deletions
|
@ -7,6 +7,7 @@ import {LayerConfigJson} from "../Models/ThemeConfig/Json/LayerConfigJson";
|
|||
import LayerConfig from "../Models/ThemeConfig/LayerConfig";
|
||||
import {Translation} from "../UI/i18n/Translation";
|
||||
import {Utils} from "../Utils";
|
||||
import AllKnownLayers from "../Customizations/AllKnownLayers";
|
||||
|
||||
// This scripts scans 'assets/layers/*.json' for layer definition files and 'assets/themes/*.json' for theme definition files.
|
||||
// It spits out an overview of those to be used to load them
|
||||
|
@ -89,6 +90,7 @@ class LayerOverviewUtils {
|
|||
|
||||
main(args: string[]) {
|
||||
|
||||
AllKnownLayers.runningGenerateScript = true;
|
||||
const layerFiles = ScriptUtils.getLayerFiles();
|
||||
const themeFiles = ScriptUtils.getThemeFiles();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue