diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 77fc23e..86a4ce3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,6 +30,7 @@ jobs: markdownlint \ -f \ -o markdownlint_report.log \ + --ignore-path .markdownlintignore \ '**/*.md' - name: Print summary @@ -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" diff --git a/.github/workflows/publish-wiki.yml b/.github/workflows/publish-wiki.yml index 1108af2..062739e 100644 --- a/.github/workflows/publish-wiki.yml +++ b/.github/workflows/publish-wiki.yml @@ -6,7 +6,7 @@ on: branches: - master paths: - - commands/** + - docs/** - .github/workflows/publish-wiki.yml concurrency: @@ -17,7 +17,7 @@ permissions: contents: write jobs: - validate: + publish: runs-on: ubuntu-latest steps: - name: Checkout @@ -26,4 +26,4 @@ jobs: - name: Publish wiki uses: Andrew-Chen-Wang/github-wiki-action@v4 with: - path: commands/ + path: docs/ diff --git a/.markdownlintignore b/.markdownlintignore new file mode 100644 index 0000000..86b9443 --- /dev/null +++ b/.markdownlintignore @@ -0,0 +1 @@ +docs/_Footer.md diff --git a/docs/Home.md b/docs/Home.md new file mode 100644 index 0000000..2cdf4d4 --- /dev/null +++ b/docs/Home.md @@ -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). diff --git a/docs/_Footer.md b/docs/_Footer.md new file mode 100644 index 0000000..3345827 --- /dev/null +++ b/docs/_Footer.md @@ -0,0 +1,25 @@ +# Sponsor + + + GitHub Sponsors + GitHub Sponsors + +
+ + + Patreon + Patreon + +
+ + + MEE6 + MEE6 + +
+ + + PayPal + PayPal + +
diff --git a/commands/sunshine/vban.md b/docs/sunshine/vban.md similarity index 100% rename from commands/sunshine/vban.md rename to docs/sunshine/vban.md