Skip to content

Commit

Permalink
Docs (#9)
Browse files Browse the repository at this point in the history
* Docs major refactor

* Stakes chapter. Add plots.

* Finalized 1st chapter

* Images directory

* Finalizing 3rd chapter. MD formatting.

* Timeseries refactoring

* Nit

* Refactoring snapshot WIP

* Refactoring snapshot

* Finalize 2nd chapter.

* Nits

* CI nits

* Patch
  • Loading branch information
cusma authored Sep 8, 2023
1 parent 9046a5b commit 6eda7c9
Show file tree
Hide file tree
Showing 49 changed files with 1,270 additions and 583 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
schedule:
- cron: "0 0 * * *"

workflow_dispatch:

permissions:
contents: read

Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,16 @@ jobs:
- name: Install Python dependencies
run: poetry install

- name: Install AlgoKit
run: pipx install algokit

- name: Run LocalNet
run: |
pipx install algokit
algokit localnet start
run: algokit localnet start

- name: Sleep to allow the LocalNet to start
run: |
sleep 5
algokit localnet status
sleep 10
# algokit localnet status

- name: Test
run: poetry run pytest --verbose
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
.idea/

# Artifacts
.src/artifacts/
/book
*.csv
7 changes: 7 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"default": true,
"MD013": {
"code_blocks": false,
"tables": false
}
}
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ repos:
additional_dependencies: ["types-requests", "types-python-dateutil"]
language_version: python3.11

# Markdown
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.36.0
hooks:
- id: markdownlint
args: ["--fix"]

# GitHub Actions
- repo: https://github.com/bridgecrewio/checkov.git
rev: 2.4.14
Expand Down
Loading

0 comments on commit 6eda7c9

Please sign in to comment.