Skip to content

Commit

Permalink
Added documentation (#8)
Browse files Browse the repository at this point in the history
* Updated docs command

* Updated styling

* Added structure

* Improved docs

* Fixed mkdocs config

* Added docstrings to plugins

* Finished package/resource mappers docs

* Finished plugins docs

* Added package example

* Added actions docs

* Updated docs structure

* Added main narrative docs

* Added extending models

* Added frictionless-py note

* Added resource docs

* Added dialect docs

* Minor fixes

* Added schema docs
  • Loading branch information
roll authored Dec 17, 2023
1 parent dc446a2 commit 102f018
Show file tree
Hide file tree
Showing 60 changed files with 1,968 additions and 46 deletions.
9 changes: 9 additions & 0 deletions docs/actions/dialect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Dialect

Here is a list of available actions for Table Dialect:

- `check_dialect` -- check the descriptor against JSON Schema(s)

## Reference

::: dplib.actions.dialect.check.check_dialect
11 changes: 11 additions & 0 deletions docs/actions/package.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Package

Here is a list of available actions for Data Package

- `check_package` -- check the descriptor against JSON Schema(s)
- `convert_package` -- convert the descriptor from one notation to another

## Reference

::: dplib.actions.package.check.check_package
::: dplib.actions.package.convert.convert_package
11 changes: 11 additions & 0 deletions docs/actions/resource.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Resource

Here is a list of available actions for Data Resource

- `check_package` -- check the descriptor against JSON Schema(s)
- `convert_package` -- convert the descriptor from one notation to another

## Reference

::: dplib.actions.resource.check.check_resource
::: dplib.actions.resource.convert.convert_resource
9 changes: 9 additions & 0 deletions docs/actions/schema.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Schema

Here is a list of available actions for Table Schema:

- `check_schema` -- check the descriptor against JSON Schema(s)

## Reference

::: dplib.actions.schema.check.check_schema
Binary file added docs/assets/favicon.ico
Binary file not shown.
140 changes: 140 additions & 0 deletions docs/assets/logo-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions docs/assets/logo-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/contributing/development.md → docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ hatch run serve
Building the docs:

```bash
hatch run docs
hatch run build
```

## Testing
Expand Down
Loading

0 comments on commit 102f018

Please sign in to comment.