Adds a basic script for generating API docs from the mediapipe Python package

This is pretty bare-bones for now, but I need something to start wiring up the rest of the automation. Plus this should be easy enough for anyone to riff on once it's in place.

I couldn't find a great location within the existing directory structure for this, so LMK if it should be re-homed.

PiperOrigin-RevId: 484426543
This commit is contained in:
Mark McDonald
2022-10-27 21:13:35 -07:00
committed by Copybara-Service
parent de5fe27e05
commit 87b201b1a3
2 changed files with 99 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
# Placeholder for internal Python strict binary compatibility macro.
py_binary(
name = "build_py_api_docs",
srcs = ["build_py_api_docs.py"],
deps = [
"//mediapipe",
"//third_party/py/absl:app",
"//third_party/py/absl/flags",
"//third_party/py/tensorflow_docs",
"//third_party/py/tensorflow_docs/api_generator:generate_lib",
"//third_party/py/tensorflow_docs/api_generator:public_api",
],
)