Skip to content

Commit

Permalink
updated doc rendering & changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbc committed May 26, 2022
1 parent ada724f commit 9a249e2
Show file tree
Hide file tree
Showing 5 changed files with 120 additions and 41 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## [0.1.3] - 2022-05-26
### Changed
- fixed mkdoc rendering of python & markdown.


## [0.1.2] - 2022-05-26
### Changed
- fix poetry lockfile
Expand Down
2 changes: 1 addition & 1 deletion docs/api.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
```::: toshi_hazard_store```
::: toshi_hazard_store
6 changes: 3 additions & 3 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

To use toshi-hazard-store in a project

```

```
from toshi_hazard_store import model, query
TOSHI_ID = "FASDASDSAD" # A real Toshi ID is necesaary of course
TOSHI_ID = "FASDASDSAD" # A real Toshi ID is necesaary of course.
res = query.get_hazard_curves_stats(TOSHI_ID, 250, 'PGA', ['WLG', 'QZN', 'CHC', 'DUD'], ['mean'])
Expand All @@ -16,5 +16,5 @@ for r in res:
res = query.get_hazard_curves_stats(TOSHI_ID, 250, 'SA(0.5)', None, ['mean'])
for r in res:
print(r)
```

139 changes: 104 additions & 35 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,14 @@ pip = { version = "^20.3.1", optional = true}
mkdocs = { version = "^1.1.2"}
mkdocs-include-markdown-plugin = { version = "^1.0.0"}
mkdocs-material = { version = "^6.1.7"}
mkdocstrings = { version = "^0.15.2"}
mkdocstrings = { version = "^0.18.0"}
mkdocs-material-extensions = { version = "^1.0.1"}
mkdocs-autorefs = {version = "^0.2.1"}
mkdocs-autorefs = {version = "^0.3.1"}

pymdown-extensions = {version = "^9.4"}
mkdocstrings-python = {version = "^0.6.5"}
mkdocs-pymdownx-material-extras = "^2.0.3"

twine = { version = "^3.3.0"}

pre-commit = {version = "^2.12.0", optional = true}
Expand Down

0 comments on commit 9a249e2

Please sign in to comment.