You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 1, 2020. It is now read-only.
title: Editing the config.ini Options | Pattern Lab
4
+
languages:
5
+
- language: php
6
+
- language: node
4
7
---
5
8
9
+
<!--- start php -->
10
+
11
+
<divclass="tab-panel"id="php">
12
+
<h2class="language-title">php</h2>
13
+
14
+
{% capture m %}
15
+
6
16
Pattern Lab comes with a simple configuration file that allows you to modify certain aspects of the system. The following example configuration is from `v0.7.9` of Pattern Lab.
7
17
8
18
/*
@@ -14,37 +24,102 @@ Pattern Lab comes with a simple configuration file that allows you to modify cer
14
24
15
25
// file extensions to ignore when building or watching the source dir, separate with a comma
16
26
ie = "scss,DS_Store,less"
17
-
27
+
18
28
// directories and files to ignore when building or watching the source dir, separate with a comma
19
29
id = "scss,.svn,.sass-cache"
20
-
30
+
21
31
// choose if these services should be loaded in the nav and their ports
22
32
autoReloadNav = "true"
23
33
autoReloadPort = "8002"
24
34
pageFollowNav = "true"
25
35
pageFollowPort = "8003"
26
-
36
+
27
37
// whether the qr code generator should be loaded automatically in the nav
28
38
qrCodeGeneratorOn = "false"
29
-
39
+
30
40
// pattern lab's xip host if you have it configured, to be used with the QR code generator
31
41
xipHostname = "http://patternlab.*.xip.io"
32
-
42
+
33
43
// whether the public directory should be cleaned when generating your site
34
44
cleanPublic = "true"
35
-
45
+
36
46
// the minimum and maximum for the viewport resizer
37
47
ishMinimum = "240"
38
48
ishMaximum = "2600"
39
-
49
+
40
50
// which, if any, controls to hide in the nav, separate with a comma
41
51
ishControlsHide = "hay"
42
-
52
+
43
53
// the order of pattern states, css class names
44
54
patternStates = "inprogress,inreview,complete"
45
-
55
+
46
56
// the pattern types that shouldn't be included in the style guide, useful if you nest pages/templates
47
57
styleGuideExcludes = ""
48
-
58
+
49
59
// should the cache buster be on, set to false to set the cacheBuster value to 0
50
60
cacheBusterOn = "true"
61
+
62
+
{% endcapture %}
63
+
{{ m | markdownify }}
64
+
65
+
</div>
66
+
67
+
<!--- end php -->
68
+
69
+
70
+
<!--- start node -->
71
+
72
+
<divclass="tab-panel"id="node">
73
+
<h2class="language-title">node</h2>
74
+
75
+
{% capture m %}
76
+
77
+
Pattern Lab Node comes with a simple configuration file (`config.json`) that allows you to modify certain aspects of the system. The following example configuration is from [v0.15.1](https://github.com/pattern-lab/patternlab-node/releases/tag/v0.15.1) of Pattern Lab Node.
0 commit comments