To add a temporary alert to the developer docs set the temporary_alert
configuration value in _config.yml
to a string with the desired alert contents, e.g. The sandbox will be unavailable from <b>5:30-6:30p ET on Tuesday, August 9th</b>.
. To turn off the alert change the configuration value to false
.
Build and run the site
docker-compose build
docker-compose up
open http://localhost:4000
Some changes, like _config.yml
don't get picked up automatically in Docker. You can pick up these changes by stopping/starting the cluster.
Run tests
docker-compose run web make test
You can drop into a bash shell in the container with
docker-compose run web bash
Run the server locally:
make run
Run the tests:
make test
This site uses the U.S. Web Design Standards. To update them:
- Download the latest release
- Copy contents to
assets/
- Rename directory to
uswds
- Download latest anchor.js and put in
assets/js/