Commit Graph

3 Commits

Author SHA1 Message Date
Ahmet Alp Balkan 0b7f8ff519 hack: update ref docs gen script to cleanup tmp dirs (#1001)
Adding an EXIT trap to cleanup the /tmp directories containing

1. cloned knative repos (can be huge, especially going forward)
2. `gen-crd-api-reference-docs` tool's repo + built binary

Fixes #1000.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2019-03-15 14:03:44 -07:00
Ahmet Alp Balkan 3a0241929d hack: configurable repo refs for api docs gen (#998)
The API docs generation script can now be called with non-hardcoded commit/tag
refs.

	KNATIVE_SERVING_COMMIT=v0.4.0 \
	  KNATIVE_BUILD_COMMIT=v0.4.0 \
	  KNATIVE_EVENTING_COMMIT=v0.2.1 \
	  KNATIVE_EVENTING_SOURCES_COMMIT=v0.2.1 ./gen-api-reference-docs.sh

This should ease docs releases a tiny bit.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2019-03-15 13:51:44 -07:00
Ahmet Alp Balkan df7c2b5dff api-reference: Add API reference docs (#714)
Generated with https://github.com/ahmetb/gen-crd-api-reference-docs and
this patch includes the script to self-serve this process. I hope to improve
this stuff in the future, for now it works fine.

Fixes #636.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2019-01-08 12:45:41 -08:00