From 57c5118a8382fab125928641a96df6f062e3672d Mon Sep 17 00:00:00 2001 From: Jeff Escalante Date: Mon, 13 Apr 2020 18:36:31 -0400 Subject: [PATCH] update deps, add no-index category, fix downloads page --- website/data/api-navigation.js | 1 + website/package-lock.json | 20 +++++++------- website/package.json | 6 ++--- .../pages/api-docs/features/consistency.mdx | 2 +- website/pages/api-docs/features/index.mdx | 7 ----- website/pages/downloads/index.jsx | 27 ++++++++++++++++++- 6 files changed, 41 insertions(+), 22 deletions(-) delete mode 100644 website/pages/api-docs/features/index.mdx diff --git a/website/data/api-navigation.js b/website/data/api-navigation.js index 3099cf799b..ddb76a6697 100644 --- a/website/data/api-navigation.js +++ b/website/data/api-navigation.js @@ -9,6 +9,7 @@ export default [ 'index', { category: 'features', + name: 'API Features', content: ['consistency', 'blocking', 'filtering', 'caching'], }, '--------', diff --git a/website/package-lock.json b/website/package-lock.json index f258cd1017..a39d4bb7b8 100644 --- a/website/package-lock.json +++ b/website/package-lock.json @@ -1687,12 +1687,12 @@ "integrity": "sha512-yP5d8zA6az3rvL1vHjsV8c9jUl05M06knvtmMdP4VYlkElikeoJ0kd/oJi0n1Zb5s4Pe4k7zOZah7VmYLYdwyw==" }, "@hashicorp/react-docs-page": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@hashicorp/react-docs-page/-/react-docs-page-1.1.0.tgz", - "integrity": "sha512-fxIP+K/t1Vp64qv1Ejs7sL88TdvKyyWZYwvu5GtpVBIJKd4g2f0wqeJ+3tl8uiV7brM78Ye28k8Z5dqptG+/RQ==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@hashicorp/react-docs-page/-/react-docs-page-1.2.1.tgz", + "integrity": "sha512-OZzqm1YFUrKacApRG+rQQdDcJqzcwFKGxFK67IJK2Iq62Ry5wTTMUAORQdaAJDJJXU3XI9JGGHAP7Y03d2GtcA==", "requires": { "@hashicorp/react-content": "^2.2.1", - "@hashicorp/react-docs-sidenav": "^3.1.0", + "@hashicorp/react-docs-sidenav": "^3.2.1", "@hashicorp/react-head": "^0.1.1", "@hashicorp/react-inline-svg": "^1.0.0" }, @@ -1705,9 +1705,9 @@ } }, "@hashicorp/react-docs-sidenav": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@hashicorp/react-docs-sidenav/-/react-docs-sidenav-3.1.0.tgz", - "integrity": "sha512-j7ya2rbtaA8BIGxF3DbwcHamp+JUybXJNgyvAPZ8Ixo8dbfIPnpSmSOYXtnvsWm+0jWzVVHNKHkQRIHtrCM5IA==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/@hashicorp/react-docs-sidenav/-/react-docs-sidenav-3.2.1.tgz", + "integrity": "sha512-+jMgXFgq7j9zKNPZ5z8pXBkNrxfP1+A1F9KTPsvoIsKdy9cybVVqELQxnWJ//BJxEEilBm+Gqi0Z9dIGmV73Wg==", "requires": { "@hashicorp/react-link-wrap": "^0.0.3", "fuzzysearch": "^1.0.3" @@ -1825,9 +1825,9 @@ } }, "@hashicorp/react-product-downloader": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/@hashicorp/react-product-downloader/-/react-product-downloader-3.0.5.tgz", - "integrity": "sha512-Q+ZHqmLrm/9oG0jpVKZK1kLToAAp+E0x5jeU19CckF8OH8Ob9ZacNQOYtBHp/cpMjUmqsg1LGncZS3jf6gGn2Q==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@hashicorp/react-product-downloader/-/react-product-downloader-3.1.0.tgz", + "integrity": "sha512-6Bka/VgIwESrbygxvIwqND+vX9pXW4Y25+mB8usEhxMnz7UxBacGpx87j/Rab7C4iXvTXx/2CNtJe9jCupR6eQ==", "requires": { "@hashicorp/react-button": "^2.1.7" } diff --git a/website/package.json b/website/package.json index 9f3d6959ba..9fba2b4fee 100644 --- a/website/package.json +++ b/website/package.json @@ -15,8 +15,8 @@ "@hashicorp/react-code-block": "^1.2.6", "@hashicorp/react-consent-manager": "^2.0.7", "@hashicorp/react-content": "^3.0.0-0", - "@hashicorp/react-docs-page": "^1.1.0", - "@hashicorp/react-docs-sidenav": "^3.1.0", + "@hashicorp/react-docs-page": "^1.2.1", + "@hashicorp/react-docs-sidenav": "^3.2.1", "@hashicorp/react-docs-sitemap": "^1.0.0", "@hashicorp/react-enterprise-alert": "^2.0.0", "@hashicorp/react-footer": "^3.1.12", @@ -27,7 +27,7 @@ "@hashicorp/react-inline-svg": "^1.0.0", "@hashicorp/react-logo-grid": "^2.0.9", "@hashicorp/react-mega-nav": "^4.0.1-2", - "@hashicorp/react-product-downloader": "^3.0.5", + "@hashicorp/react-product-downloader": "^3.1.0", "@hashicorp/react-section-header": "^2.0.0", "@hashicorp/react-subnav": "^3.0.1", "@hashicorp/react-text-and-content": "^4.0.7", diff --git a/website/pages/api-docs/features/consistency.mdx b/website/pages/api-docs/features/consistency.mdx index 3afb2e3e0d..7f3e0ea0fe 100644 --- a/website/pages/api-docs/features/consistency.mdx +++ b/website/pages/api-docs/features/consistency.mdx @@ -1,7 +1,7 @@ --- layout: api page_title: Consistency Modes -sidebar_title: API Features +sidebar_title: Consistency Modes description: >- Most of the read query endpoints support multiple levels of consistency. Since no policy will suit all clients' needs, these consistency modes allow the user diff --git a/website/pages/api-docs/features/index.mdx b/website/pages/api-docs/features/index.mdx deleted file mode 100644 index 5356094d00..0000000000 --- a/website/pages/api-docs/features/index.mdx +++ /dev/null @@ -1,7 +0,0 @@ ---- -layout: api -page_title: API Features -sidebar_title: API Features ---- - -TODO: Placeholder diff --git a/website/pages/downloads/index.jsx b/website/pages/downloads/index.jsx index 81248a1b27..936eea92c1 100644 --- a/website/pages/downloads/index.jsx +++ b/website/pages/downloads/index.jsx @@ -12,7 +12,32 @@ export default function DownloadsPage({ downloadData }) { product="Consul" version={VERSION} downloads={downloadData} - /> + > +

+ » Download Consul Tools +

+
+

Note for ARM users:

+ + + +

+ The following commands can help determine the right version for your + system: +

+ + $ uname -m +
+ + $ readelf -a /proc/self/exe | grep -q -c Tag_ABI_VFP_args && echo + "armhf" || echo "armel" + +
+ ) }