Thanks for being interested in contributing! We’re so glad you want to help!
We want contributing to Wowchemy to be fun, enjoyable, and educational for anyone and everyone. All contributions are welcome, including new plugins (such as new widgets, shortcodes, theme packs, and language packs), templates, features, documentation as well as updates and tweaks, blog posts, YouTube tutorials, live streaming customizations, meetups, and more.
Join the Contributing channel on the community Discord.
Whether or not you're a developer, there are plenty of non-technical ways that you can help. We always need help with:
- Helping the Wowchemy community via the live chat and forum
- Investigating and reviewing open Issues and Pull Requests
- Influence the roadmap! Give a thumbs up 👍 to upvote a feature request you would like to use
- Improving the documentation and writing tutorials
- Just click the Edit button at the bottom of pages or open an issue with your proposed improvement
- Testing and quality assurance, such as checking the latest version of the templates work as you expect and fixing any dead-links etc.
- Translating the Wowchemy templates or the Wowchemy documentation
- Hosting local Wowchemy themed events or meetups
- Promoting Wowchemy to others by blogging, vlogging, code streaming, talking etc.
Repository structure:
- modules
- The components and layouts which form the Wowchemy page building framework that the templates depend on
- scripts
- A collection of scripts for helping maintain the repository
- starters
- The collection of starter templates (aka Hugo themes)
- To contribute an improvement to a starter template, make your changes to the relevant template within this folder. Do not submit PRs to the dedicated template repositories as they are read-only.
- test
- a minimal site that is built by the CI on every commit to help test PRs
If you're a developer looking to contribute, but you're not sure where to begin, check out the help wanted label on Github, which contains issues which need some love.
If you have a straightforward bug fix or improvement, feel free to contribute it in a Pull Request for the community to review.
If you have an idea for a new feature, please start by searching the issues to check that the feature has not already been suggested and then suggest it by opening a new issue, as adding new features to Wowchemy first requires some analysis around the design and spec.
Please be mindful of the project scope.
Learn how to contribute code on Github.
⚡️ To make quick and easy contributions, you can browse the repository on GitHub and edit your changes in GitHub's online editor. GitHub will then open a Pull Request (PR) for your changes to be reviewed by the community. ⚡️
Otherwise, for larger changes, you can edit locally on your computer in your favorite editor, such as VSCode:
Download the repo
Fork (copy) the repo on GitHub and then clone (download) your fork to your computer:
git clone https://github.com/<YOUR_USERNAME>/wowchemy-hugo-themes.git
View a template
Install Yarn, the project's build system if necessary.
Then choose the starter template you wish to view, such as minimal:
yarn view:local minimal
Note that Hugo Server can occasionally stop working after changes are made (sometimes showing unrelated errors). If this happens, stop Hugo (Control-C) and restart it with the yarn view:local ...
command above.
Implement your improvements
Implement you changes and then check for any linting or formatting issues.
Code linting and formatting form part of the Continuous Integration process to help catch bugs and code issues in contributions.
Contributors can also run the flow on their fork of the "Wowchemy Hugo Modules" repo when making contributions (you'll need Node and Yarn to run):
yarn install
yarn run lint
yarn run format
Open a Pull Request with your changes
Use git to push (upload) your changes to GitHub and then open a Pull Request (PR) at https://github.com/wowchemy/wowchemy-hugo-themes/pulls
Please be mindful of the project scope.
Create and publish your own widget
Create and publish your own shortcode
To contribute a new language pack or an improvement to a language pack, refer to the language pack guide. Once created, fork Wowchemy Hugo Modules, place your language pack in wowchemy/i18n/
, add the name of the language to wowchemy/data/i18n/language.yaml
, and open a Pull Request on Github with these two files.
View the guide to contributing a color and font theme pack.
Consider duplicating a bare-bones template, such as the Minimal folder, and building up your own template using the Wowchemy Hugo Module. Reach out on the Contributing channel in Discord to submit your template.
To contribute to Hugo Academic CLI, the automatic publication importer, refer to its dedicated Github repository and Issue queue.
To help us develop this free software sustainably under the open source license, we ask all individuals and businesses that use it to help support its ongoing maintenance and development via sponsorship:
To create a consistent experience for all contributors and help prevent bugs, we have some best practices.
Please follow the Conventional Commits Specification.
For example:
- new feature:
feat: add the X parameter
- bug fix:
fix: typo in implementation of X parameter
- docs:
docs: document the X parameter
- style:
style: change font color from black to blue
- build-related:
chore: rebuild JS assets
yarn install
yarn run lint
yarn run format
Please be mindful that although we encourage feature requests, we cannot expand the scope of the project in every possible direction. There will be feature requests that don't make the roadmap.
Every feature requires effort not just to analyse the requirements, design it, implement it, test it, document it, merge it, write release notes for it, and release it, but also to continuously support users with it and maintain it (fixing and refactoring the feature as the project and its dependencies evolve).
The more regular active volunteers (rather than one-off contributors) we have supporting users and maintaining the project, the more feasible it becomes to expand the scope of the project.
The project's scope also has to be constrained so that it doesn't get too complex and unwieldy, from an architectural perspective, a testing perspective, and from a usability perspective.
Plugins (widgets, shortcodes, theme packs, language packs, and third-party JavaScript integrations) as well as templates allow the community to add major features without needing to contribute to Wowchemy itself.