Commit Graph

77 Commits

Author SHA1 Message Date
Eric Van Norman 1de9f0fd84
Lower linkinator concurrency to solve lint flake? (#14225) 2023-12-01 10:24:44 -08:00
John Howard abb755651a
add doc for third party ingress (#13116)
* add doc for third party ingress

* fix mermaid maybe

* Fix spell checker

* na

* Apply suggestions from code review

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
Co-authored-by: Eric Van Norman <ericvn@us.ibm.com>

---------

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
Co-authored-by: Eric Van Norman <ericvn@us.ibm.com>
2023-05-15 07:40:26 -07:00
John Howard 5830a27e28
Expose linter errors in red (#11829)
* Expose linter errors in red

Currently they are really hard to see

* fix
2022-09-07 14:52:37 -07:00
Eric Van Norman 5eef0bad0a
Remove heading anchors before spell-checking (#11159) 2022-04-08 21:06:45 -07:00
jacob-delgado f845e59bea
Fix scripts for shellcheck 0.8 (#11051)
* Fix scripts for shellcheck 0.8

* Updates needed for hugo and shell check

* Ignore hugo build lock
2022-03-14 17:03:40 -07:00
Eric Van Norman 90e09d8f54
Only lint markdown files in some areas of the linting (#10261) 2021-09-01 09:45:49 -07:00
craigbox 58eb9b5aaa
Fix lint URL (#9367)
* Fix lint URL

* Update lint_site.sh

* no longer latest (or greatest)
2021-03-23 13:01:44 -07:00
Frank Budinsky b2f34bdffd
Fix archive link (#8523)
* Fix archive link

* fix lint check
2020-11-19 06:19:42 -08:00
Frank Budinsky d2bf1b754b
Lint allow references to archive versions (#7953) 2020-08-13 15:17:26 -07:00
Frank Budinsky e9a89c879f
Add owner attribute to docs (#7737)
* Add owner attribute to docs

* remove @
2020-07-15 15:19:40 -07:00
Justin Pettit 7782eb1d0a
Authz jwt (#7338)
* snip.py: Replace github file token with release-specific URL.

* verify.sh: Show the expected output as well as the actual output.

* snip.py: Update the githubfile regex to not include email addresses.

When generating snip scripts, pairs of "@" signs indicate a link to
GitHub repo content.  However, JWT attribute values contained pairs of
email addresses such as:

    `testing@secure.istio.io/testing@secure.istio.io`

which would be treated as an email address and mangled.  This commit
rewrites the regex to not match on email addresses.

* Add authz-jwt user guide test.
2020-05-17 13:51:45 -04:00
davidhauck 9c24d0d72b
add linkinator to replace htmlproofer (#7204) 2020-05-01 11:30:44 -07:00
Eric Van Norman 402f064f5a
Revert "Update lint_site to only check languages for files in current PR (#7133)" (#7185)
This reverts commit d59b390a49.
2020-04-29 13:45:58 -04:00
Eric Van Norman d59b390a49
Update lint_site to only check languages for files in current PR (#7133)
* Update lint to only check languages for files in current PR

* Default branch to master if undefined, lint fixes

* Fix @ in Makefile.core.mk

* Add pt-br support to language check

* Review comments

* Apply suggestions from code review

Either BRANCH is specified or a language, else it fails.

Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>

* Update scripts/lint_site.sh

Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>

* Update Makefile.core.mk

Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>

* Don't check languages for lint-fast if no languages are found

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
2020-04-29 08:18:13 -07:00
Justin Pettit 46d65cef33
lint_site.sh: Don't print error if "public" directory doesn't exist. (#7172) 2020-04-27 13:42:18 -07:00
Frank Budinsky dd1fe5e3bb
Suppress brittle link warnings (#7028)
* Suppress brittle link warnings

* tweak
2020-04-06 09:09:42 -07:00
Frank Budinsky 46876db586
Make site linter more configurable (#7014)
* Make site linter more configurable

* change brittle github links error to warning

* turn off external link checking by default

* update makefile

* fix target lint

* remove cross language link

* better variable name
2020-04-01 14:48:13 -04:00
Eric Van Norman 31d625dc79
Ignore Aporeto.com for now (#7003) 2020-03-30 09:58:50 -04:00
Eric Van Norman fc26fca934
Remove KubeCon EU event, fix KubeSphere.io links, ignore 429s. (#6886)
* Remove KubeCon EU event

* Make kubsphere.io link changes

* Ignore 429 return codes on links
2020-03-16 10:19:12 -07:00
Frank Budinsky 8774229973
Cleanup .spelling (lower case istiod not allowed) (#6858)
* Cleanup .spelling

* remove lower case istiod

* add backticks

* remove backticks

* restore backticks
2020-03-11 16:23:03 -04:00
John Howard 1ffb1d8506
Add lint-fast target for local development (#6718)
This takes 30s and runs the spellcheck and some other quick linters.
2020-03-09 12:57:13 -07:00
lei-tang 5f16efe2d0
Remove webhook task from Istio 1.5 documentation (#6515)
* Remove webhook task from Istio 1.5 documentation

* Revision based on review comments

* Add archive.istio.io to url-ignore list
2020-02-21 17:26:06 -08:00
Jhon Mike 2fc8d01192 Started translation to portuguese brazil (#6230)
* create content pt-br

* create and translate i18n/pt-br.toml

* add pt-br language in config.toml

* update urls with pt-br

* add folder content pt-br on linter

* fix url images

* remove test directory

* remove script blocks index.html

* fix linter errors

* update pt-br with en master

* Update content/pt-br/_index.html
2020-01-07 21:25:08 -05:00
Martin Taillefer 1e37f32720 Add instructions for translators. (#5853) 2019-11-25 11:13:39 -08:00
chentanjun f24e8d41f5 add zh in /zh、update lintcheck ci、fix conflicts (#5823) 2019-11-24 21:47:38 -08:00
mtail c5882c540c Remove debug stuff from script. Sorry 'about that. 2019-11-15 17:19:21 -08:00
Martin Taillefer a01547341a
Add a new lint check. (#5744)
- Prevent translated content from declaring aliases against the English content.

- Fix all instances where the above was happening.
2019-11-15 17:13:03 -08:00
Jimmy Song bcaea11f4c zh-translation: initialize the translation content (#5305)
* zh-translation: initialize the translation content

- Restart the Chinese translation precess, refer to https://github.com/istio/istio.io/issues/5250
- Translation progress is tracked on https://github.com/servicemesher/istio-official-translation
2019-11-02 06:47:26 -07:00
Frank Budinsky c9174678ed
Add oreilly.com to lint exceptions (#5306) 2019-10-31 09:34:59 -04:00
Martin Taillefer c2d0793f3f Prevent lint failures for web sites that are timing out. (#5210) 2019-10-20 19:37:36 -07:00
Martin Taillefer 5bed8784b9
Update common files. (#5052) 2019-09-25 06:56:54 -07:00
Martin Taillefer c4dd5227f5
Replace uses of ``` with {{< text >}} (#4950)
- Add a lint check to prevent further use of ```
2019-09-10 10:55:41 -07:00
Martin Taillefer 4e9b3a89b3
Add www.mysql.com to the link checking exception list, since it seems to have frequent spurious failures. (#4882) 2019-09-03 09:47:42 -07:00
Martin Taillefer 9cbf4ff46b
Update common files and enable more linters. (#4874) 2019-08-29 20:41:08 -07:00
Martin Taillefer a48f05a3e9 Update common files (#4870)
- Enable a bunch of linting rules in the repo, and addressed all the linting
errors
2019-08-29 08:09:32 -07:00
Martin Taillefer a442094083 Avoid redudant module downloads when running nodejs stuff. (#4808) 2019-08-19 02:49:33 -07:00
Martin Taillefer 4b21bc14aa
Make sure we spell check all .md files, we have been skipping some. (#4806) 2019-08-16 14:08:14 -07:00
Martin Taillefer 55d4514a08
Move Chinese content to content/zh, as agreed in WG meeting. (#4791) 2019-08-14 16:02:51 -07:00
Martin Taillefer d0cf1e171e
Move English content to content/en as agreed in WG meeting. (#4789)
Once this goes in, I'll move content_zh to content/zh.
2019-08-14 15:45:31 -07:00
Martin Taillefer 22fd781637
Put apporbit.com on the exception list since their site is down. (#4689) 2019-07-19 07:29:59 -07:00
Martin Taillefer 2ca67fd5b5
Improve linting (#4083)
- 'make lint' no longer purges the HTMLProofer cache, which considerably improves perf when doing
repeated lints.

- Fix patterns used in lint_site.sh to be more selective in order to avoid linting SVG files and
other such things.
2019-05-01 10:37:38 -07:00
Lin Sun a1dda49fb3 correct lint link (#4032) 2019-04-24 14:07:43 -07:00
Martin Taillefer 533a3efc0e
Merge from release-1.1 branch (#4012) 2019-04-20 08:16:09 -07:00
Martin Taillefer 2a5108806b
Site improvements. (#3706)
- Added a test suite to test out the different compositions of
site features.

- Substantially improve the composability of site features
(callouts, tabs, text blocks, boilerplates, lists). You can
now more confidentally mix & match these in any combination
and have a pretty good chance it'll render correctly.
2019-03-15 09:53:58 -07:00
mtail 5c1c9ae630 Revert "Site improvements (#3696)"
This reverts commit e1ce0c36
2019-03-14 19:59:48 -07:00
Martin Taillefer e1ce0c3633 Site improvements (#3696)
- Add a test suite for various compositions of site features.

- Substantially improve composition of various site features to eliminate bad
interactions. It's not perfect yet, but it's much better. The one thing still
broken is "a text block inside a warning in a list in a tab". There's still
something funny going on there, but I have some ideas for later.

- Added a new linter check to detect misuse of https://preliminary.istio.io in docs,
and fixed one offending instance.
2019-03-14 17:20:38 -07:00
Martin Taillefer 5cf1f7d7ab
Reenable link checking. (#3664) 2019-03-13 09:44:16 -07:00
flydragon ca34f26c69 Spelling (#3487)
* zh: content/docs/setup/kubernetes/platformsetup/minikube

update

Signed-off-by: ylf <1045438139@qq.com>

* spelling

fix spelling errors in kubernetes install minimal

Signed-off-by: ylf <1045438139@qq.com>

* zh: content_zh/spelling

Fix the configuration item of Chinese check. The current configuration item is wrong.

* zh: content_zh/spelling

Fix the configuration item of Chinese check. The current configuration item is wrong.

* spelling

fix spelling errors in kubernetes install minimal

Signed-off-by: ylf <1045438139@qq.com>

* spelling

fix spelling errors in kubernetes install minimal

Signed-off-by: ylf <1045438139@qq.com>

* spelling

fix spelling errors in kubernetes install minimal

Signed-off-by: ylf <1045438139@qq.com>
2019-03-05 07:50:33 -08:00
Martin Taillefer 3f3f3f5353
Add a new link check to prevent links to specific lines in GitHub files. (#3387) 2019-02-26 06:53:57 -08:00
Martin Taillefer 6d57493a14
Enable blockquote lint check. (#3295) 2019-02-19 09:49:44 -08:00