Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
66e4599
Added Full docstring reading of commands and parsing of data to json
MoistBiscuits Aug 2, 2021
dcd3b24
Added parsing to documentation.json as well as adjusting the doc for …
MoistBiscuits Aug 3, 2021
b091ffa
Added TestDocumentation.json for testing auto gen documentation
MoistBiscuits Aug 4, 2021
6ce1cbe
Added auto gen of doc as a github action on push
MoistBiscuits Aug 4, 2021
238030f
Re added Documentation.json
MoistBiscuits Aug 4, 2021
74e4279
Merge branch 'master' into auto-gen-doc
MoistBiscuits Aug 4, 2021
d749b55
Adjusted ci.yml to fix bug with last commit not working
MoistBiscuits Aug 4, 2021
c3e163e
Merge branch 'auto-gen-doc' of https://github.com/KoalaBotUK/KoalaBot…
MoistBiscuits Aug 4, 2021
0e1a1a4
Changed ci.yml again since last commit broke tests
MoistBiscuits Aug 4, 2021
b87c399
adjusting ci.yml again
MoistBiscuits Aug 4, 2021
03fe6f9
adjusting ci.yml again
MoistBiscuits Aug 4, 2021
bc5a25a
adjusting ci.yml again
MoistBiscuits Aug 4, 2021
8e5619b
Fixed indent in ci.yml
MoistBiscuits Aug 4, 2021
2a65fd3
Adjusted ci.yml to run on unbuntu for doc generation
MoistBiscuits Aug 4, 2021
95ed25a
Adjusted filepath for ci.yml
MoistBiscuits Aug 4, 2021
c0c9aff
Adjusted filepath for ci.yml again
MoistBiscuits Aug 4, 2021
c77841f
Added pwd to ci.yml
MoistBiscuits Aug 4, 2021
5c34167
adjusting ci.yml
MoistBiscuits Aug 4, 2021
3b986ad
adjusting ci.yml
MoistBiscuits Aug 4, 2021
63280c2
adjusting ci.yml
MoistBiscuits Aug 4, 2021
c55a587
adjusting ci.yml
MoistBiscuits Aug 4, 2021
dec8a77
adjusting ci.yml
MoistBiscuits Aug 4, 2021
9575e2a
Adding pip install discord
MoistBiscuits Aug 4, 2021
bf9dc01
adjusting ci.yml
MoistBiscuits Aug 4, 2021
df9022b
adjusting ci.yml
MoistBiscuits Aug 4, 2021
19a5c4e
adjusting ci.yml
MoistBiscuits Aug 4, 2021
b96ac35
adjusting ci.yml
MoistBiscuits Aug 4, 2021
1454c8c
adjusting ci.yml
MoistBiscuits Aug 4, 2021
6e3304d
adjusting ci.yml
MoistBiscuits Aug 4, 2021
baf69e9
adjusting ci.yml
MoistBiscuits Aug 4, 2021
822e0f7
adjusting ci.yml
MoistBiscuits Aug 4, 2021
a00a3c6
Adding commit and push of auto gen doc
MoistBiscuits Aug 4, 2021
e78ecd9
Commit from GitHub Actions (CI)
MoistBiscuits Aug 4, 2021
adcac25
Removed working code GenerateDocOther.py
MoistBiscuits Aug 4, 2021
282c410
Merge branch 'auto-gen-doc' of https://github.com/KoalaBotUK/KoalaBot…
MoistBiscuits Aug 4, 2021
7c31d0f
Adjusting git push
MoistBiscuits Aug 4, 2021
c6bfbf0
Adjusting git push
MoistBiscuits Aug 4, 2021
752417f
Added pushing of doc changes to remote
MoistBiscuits Aug 4, 2021
514a21a
Added pushing of doc changes to remote
MoistBiscuits Aug 4, 2021
ac6ea00
Added pushing of doc changes to remote
MoistBiscuits Aug 4, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,38 @@ jobs:
fail_ci_if_error: true
path_to_write_report: ./coverage/codecov_report.txt
verbose: true

documentation:
runs-on: ubuntu-latest
if: |
(github.event_name == 'pull_request_target' && github.actor == 'dependabot[bot]') ||
(github.event_name != 'pull_request_target' && github.actor != 'dependabot[bot]')
steps:
- name: checkout repo content
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
pip install pysqlcipher3
python -m pip install --upgrade pip
pip install flake8 pytest
pip install pytest-cov
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Create new json documentation
env:
ENCRYPTED: "False"
BOT_OWNER: ${{ secrets.BOT_OWNER }}
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
GMAIL_EMAIL: ${{ secrets.GMAIL_EMAIL }}
GMAIL_PASSWORD: ${{ secrets.GMAIL_PASSWORD }}
TWITCH_SECRET: ${{ secrets.TWITCH_SECRET }}
TWITCH_TOKEN: ${{ secrets.TWITCH_TOKEN }}
run: |
python ./GenerateDoc.py
- name: commit changes
uses: EndBug/add-and-commit@v7 # You can change this to use a specific version
with:
push: true
Loading