From 8387edb0800a01d59e6beeee9f4bc31992215254 Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Tue, 11 Aug 2020 06:32:40 -0400 Subject: [PATCH] Remove button links plugin from docs --- docs/assets/plugins/links/links.js | 19 ------------------- docs/getting-started/community.md | 6 +++--- docs/index.html | 1 - 3 files changed, 3 insertions(+), 23 deletions(-) delete mode 100644 docs/assets/plugins/links/links.js diff --git a/docs/assets/plugins/links/links.js b/docs/assets/plugins/links/links.js deleted file mode 100644 index 874ddbdc6..000000000 --- a/docs/assets/plugins/links/links.js +++ /dev/null @@ -1,19 +0,0 @@ -(() => { - if (!window.$docsify) { - throw new Error('Docsify must be loaded before installing this plugin.'); - } - - window.$docsify.plugins.push((hook, vm) => { - hook.mounted(function () { - - document.addEventListener('click', event => { - const tag = event.target.tagName.toLowerCase(); - const href = event.target.getAttribute('data-href'); - - if (tag === 'sl-button' && href) { - window.open(href); - } - }); - }); - }); -})(); diff --git a/docs/getting-started/community.md b/docs/getting-started/community.md index 646e437e6..7fb41f182 100644 --- a/docs/getting-started/community.md +++ b/docs/getting-started/community.md @@ -14,7 +14,7 @@ The [community chat](https://discord.gg/mg8f26C) is open to the public and power Please be respectful of other users and remember that Shoelace is an open source project. We'll try to help when we can, but there's no guarantee we'll be able solve your problem. Please manage your expectations and don't forget to contribute back to the conversation when you can! - + Join the Chat @@ -26,11 +26,11 @@ Follow [@shoelace_style](https://twitter.com/shoelace_style) on Twitter for gene Oh, and don't forget to tweet Shoelace to your followers! - + Follow on Twitter - + Send a Tweet diff --git a/docs/index.html b/docs/index.html index ae1f0154b..62d2f01ce 100644 --- a/docs/index.html +++ b/docs/index.html @@ -93,6 +93,5 @@ -