Skip to content

Commit

Permalink
temporary changes to build docs without autodoc_pydantic
Browse files Browse the repository at this point in the history
  • Loading branch information
dougiesquire committed Jul 6, 2023
1 parent 2bfbe5a commit a6a2fcf
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
3 changes: 2 additions & 1 deletion ci/environment-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ channels:
dependencies:
- cftime
- distributed
- ecgtools >=2022.10.7
# - ecgtools >=2022.10.7
- fsspec>=2023.05
- gcsfs >=2023.05
- intake>=0.7
Expand All @@ -30,3 +30,4 @@ dependencies:
- sphinxext-opengraph
- autodoc_pydantic
- -e ..
- git+https://github.com/ncar-xdev/ecgtools.git@refs/pull/164/head
4 changes: 0 additions & 4 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
'myst_nb',
'sphinxext.opengraph',
'sphinx_copybutton',
'sphinxcontrib.autodoc_pydantic',
'sphinx_design',
]

Expand All @@ -29,9 +28,6 @@
copybutton_prompt_text = r'>>> |\.\.\. |\$ |In \[\d*\]: | {2,5}\.\.\.: | {5,8}: '
copybutton_prompt_is_regexp = True

autodoc_pydantic_model_show_json = True
autodoc_pydantic_model_show_config = False

nb_execution_mode = 'cache'
nb_execution_timeout = 600
nb_execution_raise_on_error = True
Expand Down
10 changes: 8 additions & 2 deletions docs/source/reference/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,19 @@ For more details and examples, refer to the relevant chapters in the main part o
## ESM Catalog

```{eval-rst}
.. autopydantic_model:: intake_esm.cat.ESMCatalogModel
.. autoclass:: intake_esm.cat.ESMCatalogModel
:members:
:noindex:
:special-members: __init__
```

## Query Model

```{eval-rst}
.. autopydantic_model:: intake_esm.cat.QueryModel
.. autoclass:: intake_esm.cat.QueryModel
:members:
:noindex:
:special-members: __init__
```

## Derived Variable Registry
Expand Down

0 comments on commit a6a2fcf

Please sign in to comment.