Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Docgen: use stardoc to generate all container rules docs #1890

Merged
merged 1 commit into from
Jun 12, 2021

Conversation

alexeagle
Copy link
Collaborator

Previously only the container_image rule was generated by stardoc. We don't want one page per rule, so now we document the container.bzl public api re-export level as one starlark module.

Now our documentation stays in sync with the code like it should.
container_flatten is now documented, it was previously missing.
Also makes the README a more usable length.

I compared the new page
https://github.com/alexeagle/rules_docker/blob/b24507f/docs/container.md
with the current README
https://github.com/bazelbuild/rules_docker#container_pull and below
I combed through that diff and copied back the manual edits that had been made since they were originally generated with stardoc.

Added redirects to the main README so that any users with bookmarks have those permalinks continue to work.

@alexeagle alexeagle force-pushed the docs2 branch 3 times, most recently from f8e2080 to b5d6ed4 Compare June 12, 2021 00:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants