Commit Graph
10 Commits
Author SHA1 Message Date
Mark McDonaldandCopybara-Service 3f66dde8fd Change --site_path default value to match the actual path.
This did not match the URL we ended up using for MediaPipe, so needs to be set correctly in order to generate docs that match the real site.

This change sets the default to be correct.

PiperOrigin-RevId: 494874789
2022-12-12 17:35:16 -08:00
Mark McDonaldandCopybara-Service 402834b4f2 Internal change
PiperOrigin-RevId: 493480322
2022-12-06 19:48:05 -08:00
Mark McDonaldandCopybara-Service 99d1dd6fbb Internal change
PiperOrigin-RevId: 493129643
2022-12-05 15:30:48 -08:00
Mark McDonaldandCopybara-Service 7c9fc9a642 Remove mp.solutions from doc generation.
These need to be excluded from the current package, so do it automatically.

PiperOrigin-RevId: 490146934
2022-11-21 21:48:02 -08:00
Mark McDonaldandCopybara-Service 6702ef3d57 Internal change
PiperOrigin-RevId: 488796090
2022-11-15 17:04:31 -08:00
Mark McDonaldandCopybara-Service 185a57cec5 Support nested mediapipe dir in Java API doc builder.
PiperOrigin-RevId: 487735796
2022-11-10 23:13:38 -08:00
Mark McDonaldandCopybara-Service d2284083b3 Generate docs from mediapipe/tasks/java.
The last CL used `mediapipe/java`, which is an old API. I've also added a flag to override the Java source location. This shouldn't be needed normally but makes local testing easier for both internal and external users.

PiperOrigin-RevId: 487704937
2022-11-10 19:38:27 -08:00
Mark McDonaldandCopybara-Service 8c8b668ba3 Fix comment for mediapipe license.
The `"""` comment indicates a public docstring for the module, and will end up in the generated docs. By using a "private" comment (`#`) we will not document the license as part of the API.

The Apache license is noted in the footer of generated docs, and this is sufficient.

PiperOrigin-RevId: 487688719
2022-11-10 18:06:35 -08:00
Mark McDonaldandCopybara-Service 9f681d20e8 Internal change
PiperOrigin-RevId: 487676791
2022-11-10 17:01:57 -08:00
Mark McDonaldandCopybara-Service 87b201b1a3 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
2022-10-27 21:13:35 -07:00