-
-
Notifications
You must be signed in to change notification settings - Fork 352
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
190 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: 🐛 Bug Report | ||
description: Report a new problem encountered using the theme | ||
labels: [bug] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to fill out this bug report! Before proceeding, please check that a similar issue has not already been reported. [View open issues](https://github.com/jpanther/congo/issues) | ||
- type: textarea | ||
id: what-happened | ||
attributes: | ||
label: What happened? | ||
description: Describe the issue and how to reproduce it, including what you expected to happen. | ||
validations: | ||
required: true | ||
- type: input | ||
id: theme-version | ||
attributes: | ||
label: Theme version | ||
description: What version of the theme are you using? | ||
placeholder: eg. v1.1.0 | ||
validations: | ||
required: true | ||
- type: input | ||
id: hugo-version | ||
attributes: | ||
label: Hugo version | ||
description: What version of Hugo are you using? | ||
placeholder: eg. v0.86.1 | ||
validations: | ||
required: true | ||
- type: dropdown | ||
id: browsers | ||
attributes: | ||
label: What browsers are you seeing the problem on? | ||
multiple: true | ||
options: | ||
- Firefox | ||
- Chrome | ||
- Safari | ||
- Microsoft Edge | ||
- type: textarea | ||
id: logs | ||
attributes: | ||
label: Relevant Hugo log output | ||
description: Please copy and paste any relevant Hugo log output. This will be automatically formatted into code, so no need for backticks. | ||
render: shell |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
blank_issues_enabled: true | ||
contact_links: | ||
- name: 💡 Feature Request | ||
url: https://github.com/jpanther/congo/discussions | ||
about: Request and discuss enhancements using GitHub Discussions | ||
- name: 🙋♀️ Question | ||
url: https://github.com/jpanther/congo/discussions | ||
about: Please ask and answer general questions using GitHub Discussions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: 💬 i18n Issue | ||
description: Report an issue with i18n or translations | ||
labels: [i18n] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to fill out this issue report! | ||
- type: input | ||
id: language | ||
attributes: | ||
label: Language | ||
description: Which language are you using? | ||
placeholder: eg. English | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: issue | ||
attributes: | ||
label: What's the issue? | ||
description: Describe the translation issue and how to reproduce it. | ||
validations: | ||
required: true | ||
- type: input | ||
id: theme-version | ||
attributes: | ||
label: Theme version | ||
description: What version of the theme are you using? | ||
placeholder: eg. v1.1.0 | ||
validations: | ||
required: true | ||
- type: input | ||
id: hugo-version | ||
attributes: | ||
label: Hugo version | ||
description: What version of Hugo are you using? | ||
placeholder: eg. v0.86.1 | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: logs | ||
attributes: | ||
label: Relevant Hugo log output | ||
description: Please copy and paste any relevant Hugo log output. This will be automatically formatted into code, so no need for backticks. | ||
render: shell |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
## How to contribute to Congo | ||
|
||
### Bugs & other issues | ||
|
||
#### Found a bug? 🐛 | ||
|
||
- **Ensure the bug has not already been reported** by searching [GitHub Issues](https://github.com/jpanther/congo/issues). If there's already an open issue, feel free to add any extra information you might have about the issue. | ||
- If you're unable to find an open issue matching the problem, [open a new one](https://github.com/jpanther/congo/issues/new). Be sure to include a **title and clear description**, as much relevant information as possible, and a **code sample**, **screenshot**, or a **test case** demonstrating the expected behavior that is not occurring. | ||
- Where possible, use the bug report templates to create the issue. Avoid including descriptions like "bug", "feature", etc in the issue title as these will be handled by labels. | ||
|
||
#### Have a patch that fixes an issue? | ||
|
||
- Great! Open a new GitHub pull request with the patch. | ||
- All development occurs on the `dev` branch and new PRs should be forked from here. | ||
- The command `npm run example` can be used to test local changes using the example site. | ||
- Ensure the PR description clearly describes the problem and solution. Include the relevant issue number, if applicable. | ||
- **Before submitting**, check the [coding conventions](#coding-conventions) section below to learn more about coding and commit message expectations. | ||
|
||
### New features & enhancements | ||
|
||
#### Do you intend to add a new feature, or change an existing one? | ||
|
||
- Enhancements are welcome but before implementing any features, be sure to suggest your change by opening a [new discussion](https://github.com/jpanther/congo/discussions/new) about your idea. Enhancements are discussed to ensure they fit with the project's design intent and overall roadmap. | ||
- Before opening a discussion, [check to see](https://github.com/jpanther/congo/discussions/categories/ideas) if a similar idea is already being discussed. | ||
- All ideas and suggestions are welcome and will be judged on their merits. | ||
- If the community supports your idea, go ahead and submit a PR with the implemented feature. | ||
|
||
### Questions? 🙋♀️ | ||
|
||
- If you have a general question, these should be asked using [GitHub Discussions](https://github.com/jpanther/congo/discussions). Feel free to open a [new discussion](https://github.com/jpanther/congo/discussions/new) to ask your question using the "Q&A" category. | ||
- Be sure to check if your question has already been answered by searching [existing Q&A discussions](https://github.com/jpanther/congo/discussions/categories/q-a). | ||
|
||
### Coding conventions | ||
|
||
- Indent using 2 spaces (soft tabs). | ||
- Put spaces between list items (ie. `[1, 2, 3]`, not `[1,2,3]`), around operators (ie. `1 + 1`, not `1+1`) and inside go templating tags (ie. `{{< alert >}}`, not `{{<alert>}}`). | ||
- Avoid code reuse in templates by extracting components into partials. | ||
- Layout code in a logical manner that prioritises readibility. | ||
- Add comments when the intent of the code isn't immediately apparent or to break up large blocks of logic. | ||
- Use relative paths to assets without including the preceeding slash but, when referring to a folder, including a trailing slash (ie. `static/img/`, not `/static/img/` or `/static/img`). | ||
- Any static text must be referenced using the `i18n` methods and included in the localisation assets. | ||
- Commit often, preferring incremental changes rather than bundling everything into a single, large commit. | ||
|
||
The project includes a Prettier config that helps to format code in line with these guidelines. | ||
|
||
#### Commit message guidelines | ||
|
||
- Use [Gitmoji](https://gitmoji.dev) in commit messages to provide context and. | ||
- Clearly describe the change with a short summary in the first 72 characters. | ||
- Place more detailed explanations in paragraphs below the summary, separated by a blank line. | ||
- Use imperative language (ie. "Fix bug", not "Fixed bug" or "Fixes bug"). | ||
- Do not end the summary line with a period. | ||
- Reference any issues fixed using their GitHub issue number. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters