Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Signed-off-by: Bart Smykla <bartek@smykla.com>
  • Loading branch information
bartsmykla authored Jul 5, 2023
1 parent 2968975 commit 28b61c2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ jobs:
max_timeout: 1200
- name: link checker
run: |
`go env GOPATH`/bin/muffet ${URL} --buffer-size 8192 --exclude https://twitter.com --max-connections-per-host=8 --exclude 127.0.0.1 --exclude 'https://github.com/kumahq/kuma/pull' --exclude 'https://github.com/spiffe/spiffe/blob/main/standards/X509-SVID.md.*' --rate-limit 50 --timeout 60
$(go env GOPATH)/bin/muffet ${URL} --buffer-size 8192 --exclude https://twitter.com --max-connections-per-host=8 --exclude 127.0.0.1 --exclude 'https://github.com/kumahq/kuma/pull' --exclude 'https://github.com/spiffe/spiffe/blob/main/standards/X509-SVID.md.*' --rate-limit 50 --timeout 60
- name: link checker dev docs
run: |
`go env GOPATH`/bin/muffet ${URL}/docs/dev --buffer-size 8192 --exclude https://twitter.com --max-connections-per-host=8 --exclude 127.0.0.1 --exclude 'https://github.com/kumahq/kuma/pull' --exclude 'https://github.com/spiffe/spiffe/blob/main/standards/X509-SVID.md.*' --exclude https://download.konghq.com --rate-limit 50 --timeout 60
$(go env GOPATH)/bin/muffet ${URL}/docs/dev --buffer-size 8192 --exclude https://twitter.com --max-connections-per-host=8 --exclude 127.0.0.1 --exclude 'https://github.com/kumahq/kuma/pull' --exclude 'https://github.com/spiffe/spiffe/blob/main/standards/X509-SVID.md.*' --exclude https://download.konghq.com --rate-limit 50 --timeout 60
installer-sh:
name: Test installer.sh
Expand Down
2 changes: 1 addition & 1 deletion app/_src/policies/meshgatewayinstance.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,6 @@ spec:

{% endif_version %}

## schema
## Schema

{% json_schema kuma.io_meshgatewayinstances type=crd %}

Check failure on line 125 in app/_src/policies/meshgatewayinstance.md

View workflow job for this annotation

GitHub Actions / Lint docs

[vale] reported by reviewdog 🐶 [Vale.Terms] Use 'CRD' instead of 'crd'. Raw Output: {"message": "[Vale.Terms] Use 'CRD' instead of 'crd'.", "location": {"path": "app/_src/policies/meshgatewayinstance.md", "range": {"start": {"line": 125, "column": 50}}}, "severity": "ERROR"}
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ def render(context)
data = @type.load("#{base_path}/#{release}")

<<~TIP
<div id='markdown_html'></div>
<div id="markdown_html"></div>
<script type="text/javascript">
const data = #{JSON.dump(data)};
document.addEventListener("DOMContentLoaded", function(){
document.addEventListener("DOMContentLoaded", function() {
// create an instance of JSONSchemaMarkdown
const Doccer = new JSONSchemaMarkdown();
Expand All @@ -40,7 +40,7 @@ def render(context)
const converter = new showdown.Converter();
// use the converter to make html from the markdown
document.getElementById('markdown_html').innerHTML = converter.makeHtml(Doccer.markdown);
document.getElementById("markdown_html").innerHTML = converter.makeHtml(Doccer.markdown);
});
</script>
TIP
Expand Down

0 comments on commit 28b61c2

Please sign in to comment.