Commit Graph

4 Commits

Author SHA1 Message Date
Qiming ab1fbb2414 Fix incorrect markdown parsing in API references (#8063)
In the upstream code base, there are cases where the field description
string contain substrings like '*', 'pods/*', '*/scale' and '*/*'.
When generating reference docs out of these Go comments, the Node.js
module used was incorrectly passing the asterisks as '<em>', i.e. a
mark for emphasize. This behavior has rendered the output documentation
very misleading. For example, in the definition for RuleWithOperations,
users can specify '*' as a wildcard for matching all apiGroups, all
resources. However, the generated docs is showing that an empty string
'' is used to match all apiGroups or resources. This is a serious bug
fixed by this PR.

Doc generator patch is included in PR to
kubernetes-incubator/reference-docs.
2018-04-17 13:52:00 -07:00
Qiming a95f4598c0 Fix cross references in 1.10 API reference doc (#8037)
In previous commit, we have enabled showing the full group names for API
resources. However, in doing that, we broken links inside the reference
doc and links pointing to the api reference. This PR fixes this problem
using the revised doc generator.
2018-04-10 18:06:55 -07:00
Steve Perry 0e9e259a1a Regenerate API ref docs with full group names. (#7954) 2018-04-03 14:26:07 -07:00
Steve Perry 17323ce077 update generated api-reference docs for 1.10 (#7856) (#7864) 2018-03-26 19:37:02 -07:00