Skip to content

Digital standards website and documentation from the City of Philadelphia.

License

Notifications You must be signed in to change notification settings

brianalmorgan/standards-docs

 
 

Repository files navigation

Digital Standards

This repository houses the documentation and website files for the City of Philadelphia's Digital Standards. The UI components, and other assets can be found in the standards repository.

Local copy

The City of Philadelphia's Digital Standards is compiled using the static site generator, Hugo. It uses npm scripts for task running and Yarn for package management.

You will need to have the following installed to run a local version of the site:

To install dependencies and prepare to work on the site, enter the folder with your local copy of the site in a terminal window and run:

yarn

To start a local server, run:

hugo serve

The local webserver will be available at: http://localhost:1313/

To watch for changes to CSS and JavaScript assets, in a separate terminal window run:

yarn watch

Making changes

Template markup and assets live in the themes/phila.gov directory.

Hugo comes with LiveReload, which will automatically refresh your browser on changes.

Commits to the master branch will trigger a build of the site through Travis CI.

About

Digital standards website and documentation from the City of Philadelphia.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 94.4%
  • CSS 3.7%
  • JavaScript 1.8%
  • Makefile 0.1%