Commit Graph

287 Commits

Author SHA1 Message Date
mtail adb7ada779 Another archive fix. 2019-11-14 15:27:59 -08:00
mtail 7b63f658ad Archive fix. 2019-11-14 14:42:46 -08:00
Martin Taillefer 48c8a28968
Prepare for 1.5. (#5689) 2019-11-14 13:01:31 -08:00
mtail 9933211fef Preparation before making the release branch. 2019-11-14 11:06:20 -08:00
Martin Ostrowski 136584981d Remove CR from base operator manifest (#5524) 2019-11-08 12:10:52 -08:00
Martin Taillefer 08189f25ef
Update reference docs. (#5392) 2019-11-05 12:03:41 -08:00
Martin Taillefer 3304aceca3
Clean up build logic. (#5380)
- Swap the "build" and "gen" terms used in this repo to match
what we do in other repos. "gen" generates a bunch of files, which
is needed by "build". Unlike other repos, the output of "gen" doesn't
need to be checked in to Git however.

- The clean target now cleans the generated directory.

- Makefile.core.mk now defines SOURCE_BRANCH_NAME that decides which
branch we get reference material from. This makes it much simpler to
switch branches.

- Added the "update_all" target which does all the work needed to pull
in the imported content.
2019-11-05 10:24:45 -08:00
Martin Taillefer 6c3f5d2e85
Workaround for sudden Netlify failures (#5379) 2019-11-05 06:24:57 -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
Steven Dake fe2106bc55 Standalone operator update (#5280)
* Staandalone operator update

* remove file before making new operator.yaml

* operator.yaml was already removed.

* Run grab operator once more
2019-10-29 10:10:36 -07:00
Eric Van Norman 1b10a13ea2 Remove demo-auth profile from operator (#5243) 2019-10-25 11:35:47 -04:00
Martin Taillefer e84d07d7f1 Fill in the script to grab example snippets from GCS buckets. (#5242) 2019-10-23 13:35:42 -07: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 e8f8b4feb8
Improve snippet logic. (#5205)
- Support snippets that specify the body syntax and output
syntax of the snippet.

- Snippets with bash syntax triggered an incorrect error message.

- No error message was produced for a misnamed snippet

- Convert a security task to use snippets to populate its
many preformatted blocks.
2019-10-20 16:27:51 -07:00
Lin Sun 402e41d772 modify watch namespace to only Istio-operator (#5183)
* modify watch namespace to only Istio-operator

also start the eval with demo profile first.

* use demo as the first starting point

* update grab script

* add watch ns

* fix lint
2019-10-20 15:00:36 -07:00
Martin Taillefer d6445fc726
Update reference docs. (#5173)
preliminary.istio.io will now display reference material for the release-1.4 branches
of istio/istio, istio/api, and istio/operator.
2019-10-17 11:09:11 -07:00
Steven Dake d5482da0aa A compromise PR of a long original work (#5146)
* A compromise PR of a long original work

See PR: https://github.com/istio/istio.io/pull/5142

Pretty much everything about this PR is compromised...

* Apply reviewer comments.
2019-10-15 09:55:20 -07:00
Martin Taillefer 9944d952ff
Add support for config analysis messages. (#5096)
- This provides the place where we can pour config analysis message
descriptions.
2019-10-08 10:30:41 -07:00
Kyle DeFrancia d1cc1c3965 add newrelic-istio-adapter repo to adapter docs (#5053) 2019-09-25 08:51:35 -07:00
Martin Taillefer 5bed8784b9
Update common files. (#5052) 2019-09-25 06:56:54 -07:00
Martin Taillefer d71b114f19
Fixes for the archive site. (#4989) 2019-09-13 08:32:11 -07:00
Martin Taillefer e4d9f90839
Update reference docs. (#4979) 2019-09-12 13:23:39 -07:00
Martin Taillefer fb8b983622 Fix archive build. 2019-09-12 11:52:26 -07:00
Martin Taillefer 82f6ed62db Final prep before creating the 1.3 branch. 2019-09-12 10:12:57 -07:00
Martin Ostrowski d06177b3ee Add operator repo to internal Istio repos (#4955) 2019-09-10 16:09:55 -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
Mariam John e9bf06a280 Update tablegen.py to be able to be run as part of the CI system (#4913)
Enable tablegen.py to download the Istio repo for the latest release instead of
relying on one being already installed.

Fixes Bug:#3576
2019-09-09 07:09:44 -07:00
Martin Taillefer d46044856c
Update reference docs. (#4937) 2019-09-07 07:13:42 -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
Eric Van Norman 2d1243292b Path updates (#4869) 2019-08-29 08:57:32 -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
Sam Naser dbda0caef4 Fix path in scripts/tablegen.py to reflect content reorg (#4865) 2019-08-29 05:50:34 -07:00
Martin Taillefer 8c74d34ae2
Update reference docs. (#4829)
- This required fixing the script that grabs the reference docs, it had degenerated in the last
few weeks. While I was there, I made the script work using the build-tools container, and fixed
a bunch of shell script linting warnings.
2019-08-26 14:03:41 -07:00
Martin Taillefer a442094083 Avoid redudant module downloads when running nodejs stuff. (#4808) 2019-08-19 02:49:33 -07:00
Steven Dake 060a010576 Docs/minification (#4809)
* Build the website with minification

* Update commonfiles

* Add preset-minify to list of presets
2019-08-16 21:51:31 -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
Steven Dake 3c816319b2 Modify build_site.sh to work with new build-tools image (#4801)
* Modify build_site.sh to work with new build-tools image

babel-cli must be used instead of babel.  babel=version6,
babel-cli=version7.  I don't know the details, but make serve
seems to work well enough.

I had to drop a minifier rule. We can reintroduce this rule.

The babel-cli required a reordering of command line args.

* Take 2

* Make netlify work properly
2019-08-15 19:03:48 -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 822958f02a
Update reference docs. (#4771) 2019-08-07 07:08:49 -07:00
Martin Taillefer 5eb4a59a3d Update common files. (#4770) 2019-08-06 14:03:36 -07:00
Martin Taillefer 9cd1368a65
Update reference docs. (#4737) 2019-07-29 10:23:50 -07:00
Mariam John f8f2404d64 Add feature to generate diffs for helm values.yaml file between releases (#4402)
This feature adds the capability to compare changes to the configuration options
in the helm values.yaml files between the current and previous release. This was
included in the 1.1 release but did not get merged. Here is the link to the
original PR: https://github.com/istio/istio.io/pull/3420

Fixes: #4384
2019-07-27 06:20:44 -07:00
Martin Taillefer 76a2b5fab2
Use updated container, now built in the tools repo. (#4722) 2019-07-25 15:55:33 -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 8777efc969
Update reference docs. (#4514) 2019-06-20 12:27:36 -07:00
mtail 527312311f Another fix for archives. 2019-06-19 14:51:39 -07:00
mtail 37cd6fb4b8 Final batch of archive fixes. 2019-06-19 08:51:37 -07:00
mtail 9afdd77866 Another archive script fix. 2019-06-19 07:23:25 -07:00
mtail 9918cc6c96 More archive fixes. 2019-06-19 06:02:19 -07:00
mtail d5013d3cd3 Fixes for the archive site. 2019-06-19 05:41:46 -07:00
mtail 32d03c7729 Prepare for 1.2 branch. 2019-06-18 17:57:29 -07:00
Martin Taillefer 0c936f92f5
Update refefence docs. (#4452) 2019-06-17 12:42:23 -07:00
Martin Taillefer 73c4478315
Update reference docs (#4391) 2019-06-13 10:58:07 -07:00
Martin Taillefer 92b11e66cd Update reference docs (#4389)
Also run the SVG optimizer.
2019-06-13 17:46:51 +00:00
Martin Taillefer 3663043551
Import common files into this repo. (#4246) 2019-05-31 05:01:37 -07:00
mtail 793fe3ae92 Update reference docs.
And delete stale OWNERS files
2019-05-30 11:28:41 -07:00
Martin Taillefer 1efa84d298
Update reference docs. (#4236) 2019-05-28 20:27:52 -07:00
Martin Taillefer 652e05159a
Upgrade to Hugo 0.55.5 (#4095) 2019-05-03 21:47:45 -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
mtail 24d972fd7a Next batch of archive-related updates. 2019-04-25 19:52:00 -07:00
mtail ef9c246951 More work on the archive creation script. 2019-04-25 19:29:28 -07:00
mtail aeabfeb00f Update archive script. 2019-04-25 13:16:49 -07:00
Martin Taillefer 93ee2d86f0
Site improvements (#4043)
- A few small additions that make it possible to build archive.istio.io
directly from here, instead of having a dedicated set of hacks in
the admin-sites repo.
2019-04-25 12:18:14 -07:00
Lin Sun a1dda49fb3 correct lint link (#4032) 2019-04-24 14:07:43 -07:00
Martin Taillefer d458423cf4 Site improvements. (#4015)
- Substantially simplify logic that deals with releases & release notes.

- Make it easier to add a new release to the site. THere are fewer things to
change as the site infra can figure more stuff out on its own.

- Make it so release notes can be added in one language without require them
to be added in the other language.

- Replace the ugly "a new version is available" callout on older release note
pages with a popup that only shows up when you click on the download button.
2019-04-22 09:12:18 -07:00
Martin Taillefer 533a3efc0e
Merge from release-1.1 branch (#4012) 2019-04-20 08:16:09 -07:00
Martin Taillefer a015e6eb4f
Point to istio/istio#master for preliminary.istio.io. (#3860) 2019-03-26 21:16:44 -07:00
Martin Taillefer 22f520809f
Use server-side redirects instead of alias files for better experience. (#3799) 2019-03-20 09:38:18 -07:00
Martin Taillefer e683c58bd4
Switched this script to bash to eliminate a build error on Netlify. (#3790) 2019-03-19 17:01:07 -07:00
Mariam John b7246ffd43 Fix missing whitespace on Installation Options (#3762)
Fixes Bug: #3740
2019-03-19 08:40:35 -04:00
Martin Taillefer b322ba16c2
Add test files for text block tests. (#3726) 2019-03-17 08:22:03 -07:00
Martin Taillefer 69830194de
Finish accessibility support in tab sets. (#3720) 2019-03-16 06:55:45 -07:00
Mariam John 9169ad192f Parse comments for configuration options (#3701)
Read comments from the parsed values.yaml and store them in the description field.

Fixes Bug: #2566
2019-03-15 15:39:38 -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
Mariam John 9255c72fe3 Escape pipe symbol if it appears in the configuration options (#3627)
Fix for invalid values in Installation Options table (#3618)
2019-03-11 13:07:42 -07:00
Mariam John 34a2b7a2b9 Regenerate install options page for release-1.1 (#3592) 2019-03-08 16:15:23 -05: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 7bf371365e
Optimize all our SVG files. (#3468) 2019-03-03 08:14:50 -08:00
Martin Taillefer 6db37da6a1
Add the svgo tool to the docker image. (#3466) 2019-03-03 07:21:07 -08:00
Martin Taillefer 5a9f78e843
Add a fast language switcher button in preliminary mode. (#3464)
Also, when switching languages, the site now stays at the same page if possible.
This should help with translation work.
2019-03-02 17:39:32 -08:00
Martin Taillefer dd0ecdf9ab
Site improvements (#3430)
- Add linter support to detect internal links to aliases. Those are now flagged as
bad links so the source needs to be updated to point to the real destination,
avoiding the user a redirect.

- Fixed occurences of links to aliases.

- Now only load popper.js on pages that use popups in order to improve
load times.
2019-02-28 13:58:54 -08:00
Martin Taillefer bedbc83da6
JavaScript cleanup. (#3427)
- Now that the scripts are loaded with 'defer', no need to trigger all
behavior via a DOMContentLoaded event handler as the scripts will all
naturally run after the DOM has been loaded.

- Use a considerably simpler approach to copy to the clipboard in code
blocks. This saves around 10K of script code believe it or not.
2019-02-28 01:38:52 -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 8a0b90baab
Update reference docs. (#3383) 2019-02-25 21:14:18 -08:00
Martin Taillefer 5ce2285a01
Script cleanup (#3372) 2019-02-25 07:19:06 -08:00
Martin Taillefer 19f40b74b7
Redo theming logic. (#3370)
This all got much simpler, more robust, and faster to load by using
CSS variables.
2019-02-24 11:15:17 -08:00
Martin Taillefer f345007ca3
Add do not edit warnings to auto-generated files. (#3366) 2019-02-23 12:21:43 -08:00
Martin Taillefer 959da91043
Infrastructure improvements. (#3306)
- Stop using Bootstrap's tab component.

- Improve the formatting of the hesder on mobile.
2019-02-20 06:41:40 -08:00
Martin Taillefer 6d57493a14
Enable blockquote lint check. (#3295) 2019-02-19 09:49:44 -08:00
Martin Taillefer 2dac7e0ff3
Site infra cleanup. (#3281)
- Refactor script code into smaller more manageable files.

- Use consistent naming style in script code.

- Stop using Bootstrap's dropdowns and popovers in favor of custom implementation.
There are only a few uses of Bootstrap to purge before I can ditch
the dependency on the Bootstrap & JQuery libraries, which will speed
up page loads.

- Find a few more static strings that should come from the xlation
dictionary instead.
2019-02-18 07:35:37 -08:00
Martin Taillefer 3eba576a89
JavaScript cleanup (#3253)
- Upgrade from UglifyJS to Babel as a JS preprocessor. This lets me use modern ES6 syntax
in the JS code.

- Update JS code to leverage ES6.

- Remove most dependencies on JQuery for faster & smaller code. Once I remove the
dependency on the Bootstrap library, then the dependency on JQuery will also completely
go away.
2019-02-13 10:10:28 -08:00
Martin Taillefer 6fbbc5525d
Update to Hugo 0.54 (#3242) 2019-02-12 19:25:03 -08:00
Martin Taillefer d6b3bfac56
Add support for {{< quote >}} (#3237) 2019-02-12 08:22:28 -08:00
Martin Taillefer e9112e7a65
More style cleanup. (#3230) 2019-02-11 21:07:03 -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
Mariam John 149f9ddfbc Update tablegen.py to update the installation option table for 1.1 (#3188)
Updated tablegen.py to process the configuration options from the values.yaml
files under /istio/install/kubernetes/heml/subcharts directory and the
remaining configuration options like global, istiocoredns, istio_cni from
values.yaml under /istio/install/kubernetes/helm/istio directory.
2019-02-04 09:58:52 -05: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
Kevin Simper e5e8875a5e Allow the site static content to be built on netlify (#3015) 2019-01-03 07:49:44 -08:00
Martin Taillefer 8fd070d4ca Fix CI failures. (#2989)
This includes updating to the latest reference docs from the 1.1 branches.
2018-12-17 15:05:38 -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 1d8f547826
Update to Hugo 0.51 (#2921) 2018-11-26 16:51:25 -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
Andy Lai d478874e98 Remove static charts. (#2842)
Now that they are built along with daily releases and they can be found
in
https://gcsweb.istio.io/gcs/istio-prerelease/daily-build/master-latest-daily/charts/ for master
or https://gcsweb.istio.io/gcs/istio-prerelease/daily-build/release-1.1-latest-daily/charts/ for release-1.1.
2018-11-06 05:56:48 -08:00
Tim Swanson 2a82133d2d grab_charts.sh: Fix istio/cni repo location and helm repo add for istio/istio helm dependencies (#2827) 2018-11-01 07:16:20 -07:00
Tim Swanson 158bfa1d05 Update grab_charts for istio-cni chart. (#2777)
* Update grab_charts for istio-cni chart.

* grab_charts: Fix helm package to upgrade
2018-10-17 09:44:04 -07:00
mtail 1d312e2e84 Should have been in prior checkin 2018-10-08 22:37:00 -07:00
Martin Taillefer 28900ad96c
Improve spell checking command so we get colorized output. (#2752) 2018-10-08 22:31:10 -07:00
Martin Taillefer f902b3132e
Update to Hugo 0.49 (#2746) 2018-10-05 23:35:11 -07:00
Martin Taillefer 208760597b
Add support for partner components. (#2704)
Partner components (adapters not controlled by the Istio org) are now
called out as such on their page. Component authors have a chance to put
all sorts of info about their component to make it easy for customers
to find and use their component.
2018-09-28 15:40:10 -07:00
Martin Taillefer 3acfe3fe40
Replace references from istio.github.io to istio.io (#2686) 2018-09-25 12:13:38 -07:00
Venil Noronha 8ce1a5b739 Add Wavefront by VMware to adapters list (#2685)
Signed-off-by: Venil Noronha <veniln@vmware.com>
2018-09-25 14:43:38 -04:00
Martin Taillefer 0a4264417f
Site improvements (#2633)
- Use a new approach to managing icons. This has two primary benefits:

  - It makes it possible to color the icons such that they look good in the
    dark theme. Previously, the icons were rendered in black on dark grey when
    using the dark theme.

  - The average payload size for our web pages is reduced and we better use the
    browser cache.

- The new icon approach makes it possible to remove our dependency on the fontawesome
  package, which further slims down our payload requirement

- Refresh our iconography for a slightly lighter look.

- Remove the extra thick left-hand border of text blocks to lighten the
look.

- Added a "NN minutes to read" indication on top of each page. This is
only displayed if the count is > 1 minute.

- Added a calendar icon next to the blog post date.

- Exposed a bunch of strings that were buried in CSS/JS to translation.

- Add the 'keywords:' front-matter fields to the Hugo archetypes.
2018-09-17 08:52:23 -07:00
Zadkiel d23fbe9488 Grab charts and create helm repository (#2616) 2018-09-15 07:45:20 -07:00
Martin Taillefer 77a5540c04
Upgrade to Hugo 0.48 (#2471)
Take advantage of the simplified template syntax introduced in 0.48
in a bunch of places.
2018-08-30 07:24:52 -07:00
Steven Dake 404294c332 Fixes: #2136 (#2399)
* Fixes: #2136

This is a first take at a table-creating tablegen that categorizes
the output of tablegen.py.  Still needed is the actual text that
goes in the description field.

* Address review comments
2018-08-27 12:14:31 -07:00
Xi Ning Wang 4513d8978e Update grab_reference_docs.sh (#2301) 2018-08-19 12:09:07 -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
Martin Taillefer be7c374f29
Switch to Hugo 0.47 (#2288)
- Fixes the bug where not all of our files would get the right lastmod
time extracted from GitHub.

- Fixes most of the cases of bad HTML output around the use of {{<text>}}. There's
still a single bad case which I'll report to the Hugo folks.

- Use Hugo's new --minify option to minify HTML instead of having to use the
separate and slow html-minifier program.

- Fix some bad HTML on the landing page.
2018-08-17 22:33:16 -07:00
mtail a1c4aad23f Update reference docs.
This includes a revamp of the grab_reference_docs script to make
it easier to maintain and extend to different sources of docs.
2018-08-16 12:14:27 -07:00
Jimmy Song 0b2ea1d38e Enable extra lint stuff (#2158) 2018-08-06 09:43:31 -07:00
mtail 4424563918 Flip conditional polarity to remove useless work when linting. 2018-08-06 06:56:46 -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
Steven Dake b3fa64fa41 Fix generated tablegen.py (needs backport) (#2084)
Original table was dreadfully wrong.
2018-07-31 04:49:16 -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
Yossi Mesika 0ea541d13f Move Helm customization section to the references category (#1699) 2018-07-16 21:46:52 -07:00
Martin Taillefer 597f7ce3b4
Enable more linting rules (#1824)
Fix feported linting errors.
2018-07-15 07:49:11 -07:00
Martin Taillefer a1b483a7f2
Update to latest Hugo (#1821) 2018-07-14 06:32:22 -07:00
Martin Taillefer 72f6f1353f
Update reference docs. (#1812) 2018-07-13 15:00:52 -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
mtail 95ea76c737 Update reference docs. 2018-07-09 14:49:30 -07:00
Martin Taillefer 3d511f5a70
Various site fixes. (#1701)
- Prevent See Also sections from showing up on index pages.

- Clean up and simplify some JavaScript & CSS.

- Set a height for the idea and warning icons in order to prevent
screen flicker when loading pages with these icons.
2018-07-08 17:12:12 -07:00
Steven Dake 9765bf65ca Generate Helm config options from values.md (#1694) 2018-07-06 07:12:12 -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 843bef8ddb Update reference docs. 2018-06-29 17:42:41 -07:00
mtail fa0a3fe408 Turn htmlproofer back on. 2018-06-28 07:53:34 -07:00
Martin Taillefer 5a1b090fbc
Improve handling for code blocks (#1580)
- Add the {{< text >}} shortcode as a way to declare code blocks. This shortcode
is intended to hide the subtleties around code blocks. More specifically, it
provides a transparent workaround for the Hugo bug around converting indented
code blocks with lines starting with dashes. It also deals with the special
formatting case we have around command-lines that start with `cat <<EOF`.

- Rename the {{< file_content >}} shortcode to {{< text_file >}} and the
{{< fetch_content >}} shortcode to {{< text_dynamic >}} for consistency in naming.
2018-06-28 06:29:27 -07:00
mtail 5cd535e05a Final round of file renames. 2018-06-27 07:21:21 -07:00
mtail 5296742475 First pass at refactoring file locations.
This also reenables html proofing, which I accidentally left
off in an earlier commit.
2018-06-26 23:29:47 -07:00