Skip to content

Commit 42c1273

Browse files
bradfrostbmuenzenmeyer
authored andcommitted
Merge pull request #17 from bradfrost/feature/Handle-PHP-in-the-docs
Strip php from docs. Added page explaining php compile.
1 parent e12d020 commit 42c1273

33 files changed

+46
-63
lines changed

packages/docs/src/docs/advanced-auto-regenerate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ By default, Pattern Lab monitors the following files:
3939

4040
The watch configuration is found within the Gruntfile or Gulpfile at the root of the project.
4141

42-
<strong>The PHP version of Pattern Lab is being deprecated in favor of a new unified Pattern Lab core. <a href='./php/advanced-auto-regenerate'>The PHP docs for this topic can be viewed here.</a></strong>
42+

packages/docs/src/docs/advanced-clean-public.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ That said, developers might be more comfortable storing their static assets in `
1414

1515
When you next generate your site or start the watch `public/` will no longer be cleaned. Identically named files will be overridden, however.
1616

17-
<strong>The PHP version of Pattern Lab is being deprecated in favor of a new unified Pattern Lab core. <a href='./php/advanced-clean-public'>The PHP docs for this topic can be viewed here.</a></strong>
17+

packages/docs/src/docs/advanced-config-options.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,4 +294,3 @@ Important details:
294294
]
295295
```
296296

297-
<strong>The PHP version of Pattern Lab is being deprecated in favor of a new unified Pattern Lab core. <a href='./php/advanced-config-options'>The PHP docs for this topic can be viewed here.</a></strong>

packages/docs/src/docs/advanced-ecosystem-overview.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Pattern Lab 2 introduces the beginnings of an ecosystem that will allow teams to
99

1010
## Editions
1111

12-
Editions let teams and agencies bundle all the things that support their unique workflows with Pattern Lab. An Edition can become the starting point for all of your projects while teams share and update functionality. The Node version of Pattern Lab uses [npm](https://www.npmjs.com/) to pull in separate components, while PHP version uses [Composer](https://getcomposer.org) to help you kick off your projects in a simple and standardized way.
12+
Editions let teams and agencies bundle all the things that support their unique workflows with Pattern Lab. An Edition can become the starting point for all of your projects while teams share and update functionality. The Node version of Pattern Lab uses [npm](https://www.npmjs.com/) to pull in separate components.
1313

1414
## Components of an Edition
1515

@@ -29,7 +29,7 @@ Have a trusty set of boilerplate code that you start every project with? Perhaps
2929

3030
[Several starterkits](https://github.com/pattern-lab?utf8=%E2%9C%93&q=starterkit&type=&language=) already exist to kick your project off, whether you’re looking for a blank start, begin with a demo that showcases Pattern Lab’s features, or start with a popular framework like Bootstrap, Foundation, or Material Design. And you can roll your own, which can be fully version-controlled so your team’s StarterKit can evolve along with your tools.
3131

32-
Importing a starterkit is only a few keystrokes away after installation. Eventually this feature will be built into a post-install phase like it is for Pattern Lab PHP via composer.
32+
Importing a starterkit is only a few keystrokes away after installation.
3333

3434
[Learn more about Starterkits](/docs/advanced-starterkits.html#node)
3535

@@ -43,7 +43,7 @@ PatternEngines are the templating engines that are responsible for parsing patte
4343

4444
### Plugins
4545

46-
Plugins allow developers to extend Pattern Lab Core and other parts of the ecosystem. For example, the PHP version of Pattern Lab has a number of plugins like [Browser Auto-Reload](https://github.com/pattern-lab/plugin-php-reload), [Data Inheritance](https://github.com/pattern-lab/plugin-php-data-inheritance), and [Faker](https://github.com/pattern-lab/plugin-php-faker). Pattern Lab’s architecture allows developers to modify data at different stages, add their own commands or pattern rules, or change the front-end to modify and extend Pattern Lab’s capabilities.
46+
Plugins allow developers to extend Pattern Lab Core and other parts of the ecosystem. Pattern Lab’s architecture allows developers to modify data at different stages, add their own commands or pattern rules, or change the front-end to modify and extend Pattern Lab’s capabilities.
4747

4848
### Other Types of Components
4949

packages/docs/src/docs/advanced-exporting-patterns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ In Pattern Lab Node, `patternlab-config.json` has two properties that work toget
1616

1717
Couple this technique with exported CSS via tools like [grunt-contrib-copy](https://github.com/gruntjs/grunt-contrib-copy) to really make patterns portable.
1818

19-
<strong>The PHP version of Pattern Lab is being deprecated in favor of a new unified Pattern Lab core. <a href='./php/advanced-exporting-patterns'>The PHP docs for this topic can be viewed here.</a></strong>
19+

packages/docs/src/docs/advanced-generating-css.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,4 @@ To generate your Pattern Lab site with CSS support on Mac OS X you can do the fo
1717
2. Double-click `generateSiteWithCSS.command`
1818
3. Refresh the Pattern Lab site
1919

20-
For Linux and Windows users you can also start the service from the command line. To do so open your command prompt and navigate to the root of the patternlab-php directory. Type:
2120

22-
```
23-
php core/builder.php -gc
24-
```
25-
26-
## Important Note About Performance
27-
28-
It may take several seconds for the PHP version of Pattern Lab to generate a site when it's also calculating the CSS rules. Be patient.

packages/docs/src/docs/advanced-page-follow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ It's strongly recommended to visit [BrowserSync](http://www.browsersync.io/) doc
3939
- Toggle remote debugging tools
4040
- Artificially throttle the network
4141

42-
<strong>The PHP version of Pattern Lab is being deprecated in favor of a new unified Pattern Lab core. <a href='./php/advanced-page-follow'>The PHP docs for this topic can be viewed here.</a></strong>
42+

packages/docs/src/docs/advanced-pattern-lab-nav.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ When sharing Pattern Lab with a client it may be beneficial to turn-off certain
2828

2929
By default all navigation elements are visible except Hay Mode.
3030

31-
<strong>The PHP version of Pattern Lab is being deprecated in favor of a new unified Pattern Lab core. <a href='./php/advanced-pattern-lab-nav'>The PHP docs for this topic can be viewed here.</a></strong>
31+

packages/docs/src/docs/advanced-reload-browser.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ Running 'gulp patternlab:serve' or 'grunt patternlab:serve' from the command lin
1717

1818
To stop watching and serving files on Mac OS X and Windows you can press`CTRL+C` in the command line window where the process is running.
1919

20-
<strong>The PHP version of Pattern Lab is being deprecated in favor of a new unified Pattern Lab core. <a href='./php/advanced-reload-browser'>The PHP docs for this topic can be viewed here.</a></strong>
20+

packages/docs/src/docs/advanced-starterkits.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,4 @@ The [Pattern Lab Node CLI](https://github.com/pattern-lab/patternlab-node/tree/m
5353

5454
`patternlab-config.json` also defines a `starterkitSubDir` key (with a default value of `dist`) which can be used to target a directory inside the starterkit module if need be.
5555

56-
<strong>The PHP version of Pattern Lab is being deprecated in favor of a new unified Pattern Lab core. <a href='./php/advanced-starterkits'>The PHP docs for this topic can be viewed here.</a></strong>
56+

0 commit comments

Comments
 (0)