Skip to content

Commit

Permalink
fixes netlify build
Browse files Browse the repository at this point in the history
  • Loading branch information
rudolfix committed Sep 19, 2023
1 parent 682d9b3 commit 0ad443c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions dlt/common/storages/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
@configspec
class SchemaStorageConfiguration(BaseConfiguration):
schema_volume_path: str = None # path to volume with default schemas
import_schema_path: Optional[str] = None # import schema from external location
export_schema_path: Optional[str] = None # export schema to external location
import_schema_path: Optional[str] = None # path from which to import a schema into storage
export_schema_path: Optional[str] = None # path to which export schema from storage
external_schema_format: TSchemaFileFormat = "yaml" # format in which to expect external schema
external_schema_format_remove_defaults: bool = True # remove default values when exporting schema

Expand Down
6 changes: 3 additions & 3 deletions docs/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"private": true,
"scripts": {
"docusaurus": "docusaurus",
"start": "node tools/update_snippets.js && docusaurus start",
"start": "PYTHONPATH=. poetry run pydoc-markdown && node tools/update_snippets.js && docusaurus start",
"watch-snippets": "node tools/update_snippets.js --watch",
"build": "node tools/update_snippets.js && docusaurus build",
"build:netlify": "node tools/update_snippets.js && docusaurus build --out-dir build/docs",
"build": "PYTHONPATH=. poetry run pydoc-markdown && node tools/update_snippets.js && docusaurus build",
"build:netlify": "PYTHONPATH=. pydoc-markdown && node tools/update_snippets.js && docusaurus build --out-dir build/docs",
"swizzle": "docusaurus swizzle",
"clear": "docusaurus clear",
"serve": "docusaurus serve",
Expand Down
2 changes: 1 addition & 1 deletion docs/website/pydoc-markdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ loaders:
processors:
- type: filter
skip_empty_modules: true
- type: docs.website.pydoc_markdown_dlt.DltProcessor
- type: pydoc_markdown_dlt.DltProcessor
- type: crossref
renderer:
type: docusaurus
Expand Down
1 change: 1 addition & 0 deletions docs/website/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pydoc-markdown

0 comments on commit 0ad443c

Please sign in to comment.