Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions docs/examples/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Note: All paths in this guide are relative to the `dlt` repository directory.
- Use `# @@@DLT_REMOVE` to remove test code from final code example.
- Test your snippets locally first with command:
- `cd docs/website/docs/examples/<example-name>/code && pytest --ignore=node_modules -s -v`.
- Add `@skipifgithubfork` decorator to your main snippet function, look [example](https://github.com/dlt-hub/dlt/blob/master/docs/website/docs/examples/chess_production/code/chess-snippets.py#L1-L4).

## Run npm start

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
from tests.utils import skipifgithubfork


@skipifgithubfork
def nested_data_snippet() -> None:
# @@@DLT_SNIPPET_START example
# @@@DLT_SNIPPET_START nested_data
Expand Down