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.
Repository structure:
- 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.
- wowchemy
- The components and layouts which form the Wowchemy page building framework that the templates depend on
- wowchemy-cms
- The admin panel that enables users to edit their content on the go
If you're a developer looking to contribute, but you're not sure where to begin, check out the good first issue label on Github, which contains small tasks that have been specifically flagged as being friendly to new contributors.
After that, if you're looking for something a little more challenging to sink your teeth into, there's a broader help wanted label encompassing 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:
If you're not a developer there are still plenty of ways that you can help. We always need help with:
- Helping the Wowchemy community on the chat and forum
- Investigating and reviewing open Issues and Pull Requests
- 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
- Hosting local Wowchemy themed events or meetups
- Promoting Wowchemy to others by blogging, vlogging, code streaming, talking etc.
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.