You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_Editor's note: Better API references have been my goal since I joined Kubernetes docs three and a half years ago. Philippe has succeeded fantastically. More than a better API reference, though, Philippe embodied the best of the Kubernetes community in this project: excellence through collaboration, and a process that made the community itself better. Thanks, Google Season of Docs, for making Philippe's work possible. —Zach Corleissen_
11
+
10
12
## Introduction
11
13
12
-
[Google Season of Docs](https://developers.google.com/season-of-docs) brings open source organizations and technical writers together, to spend three months working closely on a specific documentation project.
14
+
The [Google Season of Docs](https://developers.google.com/season-of-docs)project brings open source organizations and technical writers together to work closely on a specific documentation project.
13
15
14
-
I was selected by the CNCF organization to work on the Kubernetes documentation, specifically on the subject of making the API Reference documentation more accessible.
16
+
I was selected by the CNCF to work on Kubernetes documentation, specifically to make the API Reference documentation more accessible.
15
17
16
-
I'm a software developer, with a great interest in documentation systems. At the end of the 90's, I wanted to invest my time in the Linux community and started translating Linux-HOWTO documents. From one thing to another, I learned about documentation systems and finally wrote a Linux-HOWTO, to help document writers learn the language used at this time for writing documents, LinuxDoc/SGML.
18
+
I'm a software developer with a great interest in documentation systems. In the late 90's I started translating Linux-HOWTO documents into French. From one thing to another, I learned about documentation systems. Eventually, I wrote a Linux-HOWTO to help documentarians learn the language used at that time for writing documents, LinuxDoc/SGML.
17
19
18
-
Shortly after, the DocBook language was adopted to write the Linux Documentation. I helped some writers rewrite their documents in this format, for example the Advanced Bash-Scripting Guide. I also worked on the GNU `makeinfo` program to add the DocBook output, making possible to transform *GNU Info* documentation into Docbook.
20
+
Shortly afterward, Linux documentation adopted the DocBook language. I helped some writers rewrite their documents in this format; for example, the Advanced Bash-Scripting Guide. I also worked on the GNU `makeinfo` program to add DocBook output, making it possible to transform *GNU Info* documentation into Docbook format.
19
21
20
22
## Background
21
23
22
-
The [Kubernetes documentation website](https://kubernetes.io/docs/home/) is built with Hugo from documentation written in Markdown format in the [website repository](https://github.com/kubernetes/website), using the [Docsy Hugo theme](https://www.docsy.dev/about/).
24
+
The [Kubernetes website](https://kubernetes.io/docs/home/) is built with Hugo from documentation written in Markdown format in the [website repository](https://github.com/kubernetes/website), using the [Docsy Hugo theme](https://www.docsy.dev/about/).
23
25
24
26
The existing API reference documentation is a large HTML file generated from the Kubernetes OpenAPI specification.
25
27
@@ -74,16 +76,16 @@ Here are the features of the new API Reference to be included in the official do
74
76
-`map` fields are indicated. For example the `.spec.nodeSelector` for a `Pod` is `map[string]string`, instead of `object`, using the value of `x-kubernetes-list-type`
75
77
- patch strategies are indicated
76
78
-`apiVersion` and `kind` display the value, not the `string` type
77
-
-on top of the page, the Go import necessary to use these resources from a Go program is displayed
79
+
-At the top of a reference page, the page displays the Go import necessary to use these resources from a Go program.
78
80
79
-
When the work is integrated, the API reference will be available at https://kubernetes.io/docs/reference/
81
+
The work is currently on hold pending the 1.20 release. When the release finishes and the work is integrated, the API reference will be available at https://kubernetes.io/docs/reference/.
80
82
81
83
### Future Work
82
84
83
85
There are points to improve, particularly:
84
86
85
-
-some Kubernetes resources are deeply nested. Inlining the definition of these resources makes them difficult to understand
86
-
-the created `shortcode` uses the URL of the page to reference a Resource page. It would be easier for the technical writers if they could reference a Resource by its group and name
87
+
-Some Kubernetes resources are deeply nested. Inlining the definition of these resources makes them difficult to understand
88
+
-The created `shortcode` uses the URL of the page to reference a Resource page. It would be easier for documentarians if they could reference a Resource by its group and name.
0 commit comments