Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(doc): broken links #2282

Merged
merged 1 commit into from
May 11, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
30 changes: 3 additions & 27 deletions docs/modules/ROOT/pages/apis/crds-html.adoc
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<p>Packages:</p>
<ul>
<li>
<a href="#camel.apache.org%2fv1">camel.apache.org/v1</a>
<a href="#camel.apache.org/v1">camel.apache.org/v1</a>
</li>
<li>
<a href="#camel.apache.org%2fv1alpha1">camel.apache.org/v1alpha1</a>
<a href="#camel.apache.org/v1alpha1">camel.apache.org/v1alpha1</a>
</li>
</ul>
<h2 id="camel.apache.org/v1">camel.apache.org/v1</h2>
Expand Down Expand Up @@ -5307,18 +5307,6 @@ ErrorHandlerParameters
</tr>
</thead>
<tbody>
<tr>
<td>
<code>baseErrorHandler</code></br>
<em>
<a href="#camel.apache.org/v1alpha1.baseErrorHandler">
baseErrorHandler
</a>
</em>
</td>
<td>
</td>
</tr>
</tbody>
</table>
<h3 id="camel.apache.org/v1alpha1.ErrorHandlerParameters">ErrorHandlerParameters
Expand Down Expand Up @@ -5367,18 +5355,6 @@ RawMessage
<tbody>
<tr>
<td>
<code>baseErrorHandler</code></br>
<em>
<a href="#camel.apache.org/v1alpha1.baseErrorHandler">
baseErrorHandler
</a>
</em>
</td>
<td>
</td>
</tr>
<tr>
<td>
<code>RawMessage</code></br>
<em>
<a href="#camel.apache.org/v1.RawMessage">
Expand Down Expand Up @@ -6500,5 +6476,5 @@ be used to delay JSON decoding or precompute a JSON encoding.</p>
<hr/>
<p><em>
Generated with <code>gen-crd-api-reference-docs</code>
on git commit <code>bd0a199c</code>.
on git commit <code>cca9858d</code>.
</em></p>
3 changes: 2 additions & 1 deletion script/gen_crd/gen-crd-api-config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"hideMemberFields": [
"TypeMeta"
"TypeMeta",
"baseErrorHandler"
],
"hideTypePatterns": [
"ParseError$",
Expand Down
3 changes: 3 additions & 0 deletions script/gen_crd/gen_crd_api.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ $TMPDIR/gen-crd-api-reference-docs \
-api-dir "github.com/apache/camel-k/pkg/apis/camel" \
-out-file $rootdir/docs/modules/ROOT/pages/apis/crds-html.adoc

# Workaround: https://github.com/ahmetb/gen-crd-api-reference-docs/issues/33
sed -i -E "s/%2f/\//" $rootdir/docs/modules/ROOT/pages/apis/crds-html.adoc

echo "Cleaning the gen-crd-api-reference-docs binary..."
rm $TMPFILE
rm -rf $TMPDIR