mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-18 20:14:32 +00:00
refactor: move test/ and yarn to repo root
Also lint and format entire repo, beyond just wowchemy/ dir URL encode `(` and `)` in `[#MadeWithWowchemy](...(..)...)` in Readme.md for Prettier
This commit is contained in:
1 parent
9bbf6fa2a6
commit
3f1c4b4df2
22 files changed
+55
-59
No files matched your search
@@ -10,9 +10,9 @@ Welcome to Wowchemy's GitHub repo 👋
|
||||
|
||||
We use GitHub only for bug reports and feature requests - it's our project management tool.
|
||||
|
||||
🚑 For **help** and **questions**, solve common issues with the [Troubleshooting Guide](https://wowchemy.com/docs/faq/).
|
||||
🚑 For **help** and **questions**, solve common issues with the [Troubleshooting Guide](https://wowchemy.com/docs/guide/troubleshooting/).
|
||||
|
||||
For other issues, search if your question has already been asked on the community **[chat](https://discord.gg/z8wNYzb)** and **[forum](https://github.com/wowchemy/wowchemy-hugo-modules/discussions)**, and if not, consider posting a new thread there.
|
||||
For other issues, search if your question has already been asked on the community **[chat](https://discord.gg/z8wNYzb)** and **[forum](https://github.com/wowchemy/wowchemy-hugo-modules/discussions)**, and if not, consider posting a new thread there.
|
||||
|
||||
Also, you can search and browse the extensive [Wowchemy](https://wowchemy.com/docs/) and [Hugo](https://gohugo.io/documentation/) **documentation**.
|
||||
|
||||
@@ -25,6 +25,7 @@ A clear and concise description of what the bug is.
|
||||
### To Reproduce
|
||||
|
||||
Steps to reproduce the behavior:
|
||||
|
||||
1. Go to '...'
|
||||
2. Click on '....'
|
||||
3. See error '...'
|
||||
@@ -35,10 +36,10 @@ A clear and concise description of what you expected to happen.
|
||||
|
||||
### Technical details:
|
||||
|
||||
* Link to your GitHub project:
|
||||
* Wowchemy Version (from your `go.mod`):
|
||||
* Hugo Version (run `hugo version`):
|
||||
* Browser/OS:
|
||||
* Wowchemy Template:
|
||||
- Link to your GitHub project:
|
||||
- Wowchemy Version (from your `go.mod`):
|
||||
- Hugo Version (run `hugo version`):
|
||||
- Browser/OS:
|
||||
- Wowchemy Template (e.g. Academic):
|
||||
|
||||
If applicable, add screenshots to help explain the issue.
|
||||
@@ -22,12 +22,11 @@ If you have an idea for a new feature, please start by [searching the issues](ht
|
||||
|
||||
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):
|
||||
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):
|
||||
|
||||
```sh
|
||||
cd wowchemy
|
||||
yarn install
|
||||
yarn run lint:js
|
||||
yarn run lint:style
|
||||
yarn run lint
|
||||
yarn run format
|
||||
```
|
||||
|
||||
@@ -39,7 +38,7 @@ yarn run format
|
||||
|
||||
[Create and publish your own shortcode](https://github.com/wowchemy/wowchemy-shortcode-starter)
|
||||
|
||||
### Contribute a language pack
|
||||
### Contribute a language pack
|
||||
|
||||
To contribute a **new language pack** or an improvement to a language pack, refer to the [language pack guide](https://wowchemy.com/docs/language/#create-or-modify-a-language-pack). Once created, [fork Wowchemy Hugo Modules](https://github.com/wowchemy/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.
|
||||
|
||||
@@ -59,8 +58,8 @@ To contribute to **Hugo Academic CLI**, the automatic publication importer, refe
|
||||
|
||||
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:
|
||||
|
||||
- ☕️ [**Donate a coffee**](https://paypal.me/cushen)
|
||||
- ❤️ [**Become a sponsor and unlock awesome rewards**](https://wowchemy.com/plans/)
|
||||
- ☕️ [**Donate a coffee**](https://paypal.me/cushen)
|
||||
- ❤️ [**Become a sponsor and unlock awesome rewards**](https://wowchemy.com/plans/)
|
||||
|
||||
## Other ways to help
|
||||
|
||||
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
# How to get support for Wowchemy 👨💬👩💬
|
||||
|
||||
🚑 For **help** and **questions**, solve common issues with the [**Troubleshooting Guide**](https://wowchemy.com/docs/faq/).
|
||||
🚑 For **help** and **questions**, solve common issues with the [**Troubleshooting Guide**](https://wowchemy.com/docs/guide/troubleshooting/).
|
||||
|
||||
For other issues, search if your question has already been asked on the community **[chat](https://discord.gg/z8wNYzb)** and **[forum](https://github.com/wowchemy/wowchemy-hugo-modules/discussions)**, and if not, consider posting a new thread there.
|
||||
For other issues, search if your question has already been asked on the community **[chat](https://discord.gg/z8wNYzb)** and **[forum](https://github.com/wowchemy/wowchemy-hugo-modules/discussions)**, and if not, consider posting a new thread there.
|
||||
|
||||
Please **_do not_** raise an issue on GitHub.
|
||||
|
||||
|
||||
@@ -4,13 +4,9 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- 'wowchemy/**'
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- 'wowchemy/**'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -34,11 +30,9 @@ jobs:
|
||||
|
||||
- name: Install JS dependencies
|
||||
run: rm -rf node_modules && yarn install --frozen-lockfile
|
||||
working-directory: ./wowchemy
|
||||
|
||||
- name: Check for linting errors
|
||||
run: yarn run lint
|
||||
working-directory: ./wowchemy
|
||||
|
||||
# format:
|
||||
# runs-on: ubuntu-latest
|
||||
@@ -75,4 +69,4 @@ jobs:
|
||||
|
||||
- name: Build
|
||||
run: hugo --minify
|
||||
working-directory: ./wowchemy/test
|
||||
working-directory: test
|
||||
Reference in new issue
Block a user