Your feedback and pull requests are very welcome!
We use MkDocs + Material for MkDocs to build the website.
If you find a typo or other small textual error on a published page, select the "Edit this page" link at the bottom of the affected page. This link will take you to the right file on GitHub to make the edit and open a pull request.
For larger edits we recommend that you create a development environment, so that you can preview your work.
You have two options to get a development environment going:
- Setup local workstation
To build the site locally on your workstation you'll need:
- Node 20
- npm 9 (comes pre-installed with Node 20)
- Python 3.8
Follow these steps to setup your local development environment:
- Install the latest version of Python 3.8
- Install Node 20 (npm 9 is bundled with Node 20)
- Install Git, if you haven't already
- Make a fork of this repository via GitHub (select the "Fork" button)
- Clone your fork repository with
git clone link_to_fork
- Tell Git that
HonkingGoose/git-gosling
is theupstream
remote:git remote add upstream https://github.com/HonkingGoose/git-gosling.git
- Make sure you have all the data from the
upstream
remote by doing agit fetch --all --prune
- Do
git merge upstream/main main
to update your localmain
branch - Make you're sure on the local main branch with
git switch main
(do not make your own commits on the localmain
branch!) - Create a new branch to do your work on with
git switch -c descriptive_name_for_branch
- Run
npm ci
to download and install all the dependencies for this project with npm - Run
make smoketest
to ensure everything works before you start your work - You can get a live preview with
make serve
, this starts a local development server and opens a browser window, most changes can be seen live without having to restart the server - Make your changes
- When you're done, run the Prettier formatter with
npm run prettier-fix
- Use the
git add
command to stage your work and commit withgit commit -v
- Run the smoketest with
make smoketest
- Push your local feature branch to your GitHub fork with
git push --set-upstream origin descriptive_name_for_branch
- Open a pull request by going to this projects repository and going to the "Pull requests" tab
- GitHub will show your recently pushed branches here, and suggest you make a pull request, if your branch does not show up, select the "New pull request" button
- Your pull request will get reviewed, and if the maintainers like it, it will get merged.
- After your pull request is merged, you can remove your local branch with
git branch -D branch_name