PrefectHQ / prefect-collection-template

Template to quickly bootstrap a Prefect Collection
Apache License 2.0
68 stars 8 forks source link

Fix mkdocstrings deprecation warnings #94

Closed ahuang11 closed 2 years ago

ahuang11 commented 2 years ago

Fixes

INFO     -  DeprecationWarning: mkdocstrings' watch feature is deprecated in favor of MkDocs' watch feature, see https://www.mkdocs.org/user-guide/configuration/#watch.
              File "/Users/andrew/mambaforge/envs/docker/lib/python3.9/site-packages/mkdocs/plugins.py", line 514, in run_event
                result = method(item, **kwargs)
              File "/Users/andrew/mambaforge/envs/docker/lib/python3.9/site-packages/mkdocstrings/plugin.py", line 129, in on_serve
                warn(
INFO     -  DeprecationWarning: 'selection' and 'rendering' are deprecated and merged into a single 'options' YAML key
              File "/Users/andrew/mambaforge/envs/docker/lib/python3.9/site-packages/mkdocstrings/extension.py", line 121, in run
                html, handler, data = self._process_block(identifier, block, heading_level)
              File "/Users/andrew/mambaforge/envs/docker/lib/python3.9/site-packages/mkdocstrings/extension.py", line 185, in _process_block
                warn(

Tested here https://github.com/PrefectHQ/prefect-docker/pull/19