gradio/js/paramviewer/CHANGELOG.md
pngwn d95a1a44d6
chore: update versions (#7826)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-27 14:25:36 -07:00

2.9 KiB

@gradio/paramviewer

0.4.6

Dependency updates

  • @gradio/atoms@0.6.1
  • @gradio/statustracker@0.4.10

0.4.5

Dependency updates

  • @gradio/statustracker@0.4.9
  • @gradio/atoms@0.6.0

0.4.4

Patch Changes

  • Updated dependencies [98a2719]:
    • @gradio/statustracker@0.4.8

0.4.3

Patch Changes

  • Updated dependencies []:
    • @gradio/atoms@0.5.3
    • @gradio/statustracker@0.4.7

0.4.2

Patch Changes

  • Updated dependencies [065c5b1]:
    • @gradio/utils@0.3.0
    • @gradio/atoms@0.5.2
    • @gradio/statustracker@0.4.6

0.4.1

Patch Changes

  • Updated dependencies [fdd1521]:
    • @gradio/utils@0.2.2
    • @gradio/atoms@0.5.1
    • @gradio/statustracker@0.4.5

0.4.0

Features

Fixes

0.3.0

Highlights

Custom component documentation generator (#7030 3a944ed)

If your custom component has type hints and docstrings for both parameters and return values, you can now automatically generate a documentation page and README.md with no additional effort. Simply run the following command:

gradio cc docs

This will generate a Gradio app that you can upload to spaces providing rich documentation for potential users. The documentation page includes:

  • Installation instructions.
  • A live embedded demo and working code snippet, pulled from your demo app.
  • An API reference for initialising the component, with types, default values and descriptions.
  • An explanation of how the component affects the user's predict function inputs and outputs.
  • Any additional interfaces or classes that are necessary to understand the API reference.
  • Optional links to GitHub, PyPi, and Hugging Face Spaces.

A README will also be generated detailing the same information but in a format that is optimised for viewing on GitHub or PyPi!

Thanks @pngwn!

Features