Commit Graph

56 Commits

Author SHA1 Message Date
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
Martin Taillefer d6b3bfac56
Add support for {{< quote >}} (#3237) 2019-02-12 08:22:28 -08:00
Martin Taillefer b3db41da99
Added more lint rules and fix offenders (#3227)
- Ensure that references to GitHub content use the proper annotations so
we get links to the correct branches.

- Added a check to make sure content is not using blockquotes (instead of
{{< warning >}}, {{< tip >}}, and {{< idea >}}. This check is currently
disabled, pending the Chinese content being updated.

- Fix a few violations of these new checks.
2019-02-11 12:49:47 -08:00
Martin Taillefer 2434af7761
Update reference docs. (#3204) 2019-02-06 20:39:46 -08:00
Vincent 4fd40a24c7 New option: Let linter ignore the external links (#3046)
* let linter ignore the external links

* fixed: typo
2019-01-07 09:58:44 -08:00
Martin Taillefer f17a5d2e79
Fix a bunch of absolute links that should have been relative. (#2933)
- Added a linter rule to prevent further occurances.
2018-11-30 06:41:56 -08:00
Martin Taillefer e4c547edc2
Use Hugo's errorf command instead of injecting magic error strings into the generated HTML. (#2922)
This produces better errors with source file & line info when shortcodes are misused by
markdown files.
2018-11-26 17:22:57 -08:00
Martin Taillefer 7c791bfc44 Add trulia.com to our exception list, since it is causing a lot of false positive lint failures. (#2864) 2018-11-12 13:44:00 -08:00
Martin Taillefer 28900ad96c
Improve spell checking command so we get colorized output. (#2752) 2018-10-08 22:31:10 -07:00
Martin Taillefer 3acfe3fe40
Replace references from istio.github.io to istio.io (#2686) 2018-09-25 12:13:38 -07:00
Jimmy Song 91d2481bc5 Delete special chars and turn on HTML checking (#2292)
* Delete special chars and turn on HTML checking

- Refer to #2289 and issue #2290
- Delete the special chars in Chinese content
- Turn on HTML checking to highlight problems

* delete the redundant period
2018-08-19 07:42:20 -07:00
Jimmy Song 0b2ea1d38e Enable extra lint stuff (#2158) 2018-08-06 09:43:31 -07:00
Martin Taillefer fd290dc73e
Improve linting (#2148)
- We now detect text blocks that are incorrectly indented.

- We now detect image captions that end in a period.

- We now detect page descriptions that don't end in a period.

- CircleCi now runs linting without minifying HTML first, improving perf and
improving error output.

- In CircleCi, we now have a per-build cache for HTML proofer output. This
helps reduce the frequency of link timeout errors.

- Fix errors flagged by the above new lint checks.
2018-08-04 08:44:06 -07:00
Jimmy Song 0492530216 Fix Chinese spelling errors (#2044)
* Chinese: about/contribute/github/index.md

- translate working with GitHub
- translate contributing to docs index

* Chinese: add two indexes for policy and telemetry

- add policy and telemetry index
- add adapters index

* modify translation

* Fix Chinese spelling errors

- enable Chinese spelling checks
- fix spelling errors
- refer to #2038
2018-07-30 04:34:54 -07:00
Martin Taillefer 1c300c99bd
Spelling improvements (#2037)
Remove a bunch of entries that shouldn't have been in the spelling dictionary
and correct content aoocrdingly.

I'm disabling the Chinese spell checking for now, since I'm not able to fix the
spelling errors that emerged there. Once this PR is in, I'll file an issue to get
those spelling errors addressed and checking reenabled.
2018-07-29 14:27:06 -07:00
Martin Taillefer 04cc4a3d84
Start populating the ops guide. (#1994) 2018-07-26 15:05:23 -07:00
mtail 3dee29d873 Fix a linting error. 2018-07-23 17:27:29 -07:00
Martin Taillefer 5527dcbaf6
Switch uses of funny quotation marks to plain ones. (#1914)
- Use only standard quotation marks to avoid cut & paste stuff not working

- Put in a lint rule to prevent further use of non-plain quotation marks.
2018-07-22 08:48:03 -07:00
Martin Taillefer 597f7ce3b4
Enable more linting rules (#1824)
Fix feported linting errors.
2018-07-15 07:49:11 -07:00
Martin Taillefer f4a0656ab1 Add a lint check for incorrectly indented code blocks. (#1800)
Fixed a problem reported by the link check.
2018-07-13 07:26:36 -07:00
Martin Taillefer 0541000be8
Switch from ``` to {{< text >}} to indicate text blocks. (#1644)
This fixes a number of cases of incorrect formatting of code blocks
throughout the site.
2018-06-30 07:11:21 -07:00
mtail fa0a3fe408 Turn htmlproofer back on. 2018-06-28 07:53:34 -07:00