All library folks are invited to contribute to the web site project. There are many different ways to contribute, including:
The sections below document some guidelines for contributing directly to the web project code.
The project is fairly informal in Git workflow, however, following some guidelines will help keep things organized and avoid confusion.
The “main” branch should be fully deployable code, ready to build and add to the live site–in general it should match what is actually deployed live.
When making or merging changes into the “main” branch, please always test to ensure it is able to build and does not introduce issues. Please do not do any updates that change navigation or global options directly in the “main” branch until those updates are ready to go live and are deployed.
Minor fixes and updates can be done directly in the “main” branch, such as fixing a link, fixing a typo, or updating a CSV. These updates should be ready to immediately deploy.
If you are planning a larger set of minor fixes in some area, please create a branch to group them together–this makes it easier to understand the changes.
For any more extensive set of updates, creating new features, reorganization, or changes to navigation please create a new feature branch in the project from “main”. Give your new branch a meaningful name, and when ready open a Pull Request on GitHub to alert the Web Team. This branch + PR method makes it easier to understand and track changes in the project, as the PR will show all the files changed as a group (rather than having to look through multiple commits) and has its own history and discussion on GitHub.
Here are the steps:
In general, a few the Website Team members will regularly deploy changes to the live server. In emergency / urgent situations when main contacts are not available, fall backs are available to deploy with access to the server.
Try: