From ed6e80bd2047a8f5248d1adc10ea472e23399096 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Wed, 12 Jan 2022 11:32:30 -0500 Subject: [PATCH] remove tool-switcher (#24242) --- contributing/content-markup-reference.md | 2 -- includes/tool-switcher.html | 1 - tests/fixtures/default-tool.md | 4 +--- 3 files changed, 1 insertion(+), 6 deletions(-) delete mode 100644 includes/tool-switcher.html diff --git a/contributing/content-markup-reference.md b/contributing/content-markup-reference.md index ac1ce965c6..0f5e0374ad 100644 --- a/contributing/content-markup-reference.md +++ b/contributing/content-markup-reference.md @@ -156,8 +156,6 @@ These instructions are pertinent to VS Code users. {% endvscode %} ``` -Unlike [operating system tags](#operating-system-tags), which will automatically add tabs to select the operating system at the top of the article, you must add `{% include tool-switcher %}` wherever you want to display tabs to select the tool. This allows you to display the tabs at the top of the article or immediately before a relevant section. - You can define a default tool in the frontmatter. For more information, see the [content README](../content/README.md#defaulttool). ## Reusable and variable strings of text diff --git a/includes/tool-switcher.html b/includes/tool-switcher.html deleted file mode 100644 index 960b79b44d..0000000000 --- a/includes/tool-switcher.html +++ /dev/null @@ -1 +0,0 @@ - diff --git a/tests/fixtures/default-tool.md b/tests/fixtures/default-tool.md index f9167eaa0a..dffbe47ac7 100644 --- a/tests/fixtures/default-tool.md +++ b/tests/fixtures/default-tool.md @@ -14,12 +14,10 @@ Intro text generic text -{% include tool-switcher %} {% webui %} dotcom text {% endwebui %} {% cli %} cli text {% endcli %} {% desktop %} desktop text {% enddesktop %} -{% include tool-switcher %} {% webui %} dotcom text 2 {% endwebui %} {% cli %} cli text 2 {% endcli %} -{% desktop %} desktop text 2 {% enddesktop %} \ No newline at end of file +{% desktop %} desktop text 2 {% enddesktop %}