Skip to content

Commit

Permalink
docs: update wiki (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher authored Apr 30, 2024
1 parent 5fe6d0a commit 8686a40
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
markdownlint \
-f \
-o markdownlint_report.log \
--ignore-path .markdownlintignore \
'**/*.md'
- name: Print summary
Expand All @@ -49,7 +50,7 @@ jobs:
exit_code=0
# check character count
for file in $(find ./commands -type f -name '*.md'); do
for file in $(find ./docs -type f -name '*.md'); do
echo "Checking $file"
char_count=$(wc -c <"$file")
echo "Character count: $char_count"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-wiki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
branches:
- master
paths:
- commands/**
- docs/**
- .github/workflows/publish-wiki.yml

concurrency:
Expand All @@ -17,7 +17,7 @@ permissions:
contents: write

jobs:
validate:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -26,4 +26,4 @@ jobs:
- name: Publish wiki
uses: Andrew-Chen-Wang/github-wiki-action@v4
with:
path: commands/
path: docs/
1 change: 1 addition & 0 deletions .markdownlintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docs/_Footer.md
6 changes: 6 additions & 0 deletions docs/Home.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# support-bot-commands wiki

This is a collection of slash commands for our [support-bot](https://github.com/LizardByte/support-bot).

The support bot dynamically loads slash commands from here. To contribute, submit a pull request to
[support-bot-commands](https://github.com/LizardByte/support-bot-commands).
25 changes: 25 additions & 0 deletions docs/_Footer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Sponsor

<a href="https://github.com/sponsors/LizardByte">
<img src="https://avatars.githubusercontent.com/u/84790584?s=64&v=4" alt="GitHub Sponsors" width="24" height="24">
<span>GitHub Sponsors</span>
</a>
<br>

<a href="https://patreon.com/LizardByte">
<img src="https://github.githubassets.com/assets/patreon-96b15b9db4b9.svg" alt="Patreon" width="24" height="24">
<span>Patreon</span>
</a>
<br>

<a href="https://mee6.xyz/m/804382334370578482">
<img src="https://mee6.xyz/assets/favicon-f1853cdc.png" alt="MEE6" width="24" height="24">
<span>MEE6</span>
</a>
<br>

<a href="https://paypal.me/ReenigneArcher">
<img src="https://www.paypalobjects.com/paypal-ui/logos/svg/paypal-mark-color.svg" alt="PayPal" width="24" height="24">
<span>PayPal</span>
</a>
<br>
File renamed without changes.

0 comments on commit 8686a40

Please sign in to comment.