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
assemblies/ # Assemblies provide content for all guides
49
+
modules/ # Modules provide the content for assemblies
50
+
shared/ # Shared include files
51
+
shared/attributes.adoc # Global book attributes
52
+
shared/images/ # Shared image files
51
53
----
52
54
53
55
=== Strimzi Overview guide
@@ -80,4 +82,59 @@ In contrast to the _Deploying_ guide, this guide provides a reduced set of instr
80
82
81
83
The _Using Strimzi_ guide provides configuration instructions for Kafka components, and instructions for using Strimzi Operators.
82
84
The majority of the content relates to how you might want to modify your deployment and introduce additional features, such as Cruise Control or distributed tracing.
83
-
The _Using Strimzi_ guide also contains the API reference guide which is generated directly from the Java code of the operators.
85
+
86
+
=== Custom Resource API Reference
87
+
88
+
The _Using Strimzi_ guide (documentation/using/master.adoc) also contains a _Custom Resource API Reference_ that describes the configuration properties for custom resources.
89
+
90
+
The _Custom Resource API Reference_ is built from two files.
If you change anything in the `api` module of the Java code, you must rebuild the _Custom Resource API Reference_ using a xref:make-tooling[make command].
Copy file name to clipboardexpand all lines: documentation/contributing/make-tooling.adoc
+8-4
Original file line number
Diff line number
Diff line change
@@ -12,15 +12,19 @@ Make is a useful tool for building your documentation and pushing it to a public
12
12
`make docu_html`:: Generate the HTML version of all the guides (the HTML files can be found in `documentation/html)
13
13
`make docu_htmlnoheader`:: Generate the HTML version of all the guides without the HTML headers so they are suitable for including into a website (the HTML files can be found in `documentation/htmlnoheader)
14
14
15
-
== Generate the API Reference
15
+
== Generate the Custom Resource API Reference
16
16
17
-
The API Reference is stored in the `documentation/modules/appendix_crds.adoc` file.
17
+
The `documentation/modules/appendix_crds.adoc` file provides the main content for the _Custom Resource API Reference_.
18
18
It is generated directly from the Java code when building the operators.
19
-
If you change the Strimzi API, you need to regenerate the API Reference with following command:
19
+
20
+
If you change the Strimzi API, you need to regenerate the API Reference before submitting your PR by running the following from the root:
20
21
21
22
[source,shell,subs=attributes+]
22
23
----
23
24
mvn clean -DskipTests install
25
+
make crd_install
24
26
----
25
27
26
-
NOTE: You have to generate the API Reference only if you changed anything in the `api` module of the Java code.
28
+
The build uses https://github.com/mikefarah/yq[`yq`^], so make sure it is kept up-to-date for it to work properly.
29
+
30
+
NOTE: You only have to generate the _Custom Resource API Reference_ if you changed anything in the `api` module of the Java code.
0 commit comments