2
0
mirror of https://github.com/gradio-app/gradio.git synced 2025-02-17 11:29:58 +08:00
gradio/client/python/test/test_documentation.py
Abubakar Abid 5f8186218c
Document python client in gradio.app/docs ()
* document py client

* more changes

* update docs

* changes

* fix tests

* formatting

* stash

* fix tests

* documentation

* more docs

* gradio client

* changes

* rework documentation

* add to docs

* modify dockerfile

* gradio client

* address feedback

* formatting

* gradio client version

* fix tests

* tweaks to website

---------

Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2023-04-06 12:58:42 -07:00

12 lines
253 B
Python

import os
from gradio_client import documentation
os.environ["GRADIO_ANALYTICS_ENABLED"] = "False"
class TestDocumentation:
def test_website_documentation(self):
docs = documentation.generate_documentation()
assert len(docs) > 0