The PatternFly Org is the source for the official documentation for PatternFly 3 and PatternFly 4.
Development setup requires yarn. If you do not already have yarn installed on your system, see https://yarnpkg.com/en/.
Clone the repo and submodules:
git clone --recurse-submodules
Note: If repo is cloned without submodules, use the following commands to update submodules:
git submodule init
git submodule update
Install the site dependencies and build it using yarn:
yarn install
The packages/patternfly-3 site is generated using Jekyll. The packages/patternfly-4 site is generated using Gatsby.
A local development server can be quickly fired up for PatternFly 3 or PatternFly 4 by using either of these commands:
yarn start:pf3
yarn start:pf4
You can test the full production build: yarn build yarn start:prod
The site is deployed first to a staging S3 bucket at staging.patternfly.org, and then to another bucket at patternfly.org.