From 4a01a2fc63f323dcca2b88066e07074ef7ece170 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20Bl=C3=A4ttermann?= Date: Thu, 17 Nov 2022 17:17:26 +0100 Subject: [PATCH] Remove MDX imports --- website/docs/api/index.mdx | 2 -- website/docs/models/index.mdx | 2 -- website/docs/styleguide.mdx | 16 ---------------- website/docs/usage/101/_named-entities.mdx | 2 -- website/docs/usage/101/_pipelines.mdx | 2 -- website/docs/usage/101/_pos-deps.mdx | 2 -- website/docs/usage/101/_vectors-similarity.mdx | 2 -- website/docs/usage/_benchmarks-models.mdx | 3 --- website/docs/usage/facts-figures.mdx | 4 ---- website/docs/usage/index.mdx | 4 ---- website/docs/usage/linguistic-features.mdx | 10 ---------- website/docs/usage/models.mdx | 4 ---- website/docs/usage/processing-pipelines.mdx | 2 -- website/docs/usage/saving-loading.mdx | 2 -- website/docs/usage/spacy-101.mdx | 18 ------------------ website/docs/usage/training.mdx | 4 ---- website/docs/usage/v3.mdx | 2 -- 17 files changed, 81 deletions(-) diff --git a/website/docs/api/index.mdx b/website/docs/api/index.mdx index 2d77ea6b3..6c6e1fff4 100644 --- a/website/docs/api/index.mdx +++ b/website/docs/api/index.mdx @@ -3,6 +3,4 @@ title: Library Architecture next: /api/architectures --- -import Architecture101 from 'usage/101/_architecture.mdx' - diff --git a/website/docs/models/index.mdx b/website/docs/models/index.mdx index 2727cabd7..371e4460f 100644 --- a/website/docs/models/index.mdx +++ b/website/docs/models/index.mdx @@ -16,8 +16,6 @@ menu: > For more details on how to use trained pipelines with spaCy, see the > [usage guide](/usage/models). -import QuickstartModels from 'widgets/quickstart-models.js' - ## Package naming conventions {id="conventions"} diff --git a/website/docs/styleguide.mdx b/website/docs/styleguide.mdx index feec3c1fd..fa44c2cc5 100644 --- a/website/docs/styleguide.mdx +++ b/website/docs/styleguide.mdx @@ -44,8 +44,6 @@ enough, JSX components can be used. ## Logo {id="logo",source="website/src/images/logo.svg"} -import { Logos } from 'widgets/styleguide' - If you would like to use the spaCy logo on your site, please get in touch and ask us first. However, if you want to show support and tell others that your project is using spaCy, you can grab one of our @@ -55,8 +53,6 @@ project is using spaCy, you can grab one of our ## Colors {id="colors"} -import { Colors, Patterns } from 'widgets/styleguide' - ### Patterns @@ -65,8 +61,6 @@ import { Colors, Patterns } from 'widgets/styleguide' ## Typography {id="typography"} -import { H1, H2, H3, H4, H5, Label } from 'components/typography' - > #### Markdown > > ```markdown_ @@ -147,8 +141,6 @@ Special link styles are used depending on the link URL. ### Abbreviations {id="abbr"} -import { Abbr } from 'components/typography' - > #### JSX > > ```jsx @@ -161,8 +153,6 @@ abbreviation. ### Tags {id="tags"} -import Tag from 'components/tag' - > ```jsx > method > 4 @@ -186,8 +176,6 @@ installed. ### Buttons {id="buttons"} -import Button from 'components/button' - > ```jsx > > @@ -473,8 +461,6 @@ https://github.com/explosion/spaCy/tree/master/spacy/language.py ### Infobox {id="infobox"} -import Infobox from 'components/infobox' - > #### JSX > > ```jsx @@ -511,8 +497,6 @@ blocks. ### Accordion {id="accordion"} -import Accordion from 'components/accordion' - > #### JSX > > ```jsx diff --git a/website/docs/usage/101/_named-entities.mdx b/website/docs/usage/101/_named-entities.mdx index f918e5bd6..27448fd05 100644 --- a/website/docs/usage/101/_named-entities.mdx +++ b/website/docs/usage/101/_named-entities.mdx @@ -32,8 +32,6 @@ for ent in doc.ents: Using spaCy's built-in [displaCy visualizer](/usage/visualizers), here's what our example sentence and its named entities look like: -import { Iframe } from 'components/embed' -