From b6310d4ce9f4a6472d2cbf34adce3b284bdd0d4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20Bl=C3=A4ttermann?= Date: Thu, 10 Nov 2022 03:40:44 +0100 Subject: [PATCH] Rename all MDX file to `.mdx` --- .../{architectures.md => architectures.mdx} | 0 .../{attributeruler.md => attributeruler.mdx} | 0 .../docs/api/{attributes.md => attributes.mdx} | 0 website/docs/api/{cli.md => cli.mdx} | 0 website/docs/api/{coref.md => coref.mdx} | 0 website/docs/api/{corpus.md => corpus.mdx} | 0 .../{cython-classes.md => cython-classes.mdx} | 0 .../{cython-structs.md => cython-structs.mdx} | 0 website/docs/api/{cython.md => cython.mdx} | 0 .../api/{data-formats.md => data-formats.mdx} | 0 ...endencymatcher.md => dependencymatcher.mdx} | 0 ...ependencyparser.md => dependencyparser.mdx} | 0 website/docs/api/{doc.md => doc.mdx} | 0 website/docs/api/{docbin.md => docbin.mdx} | 0 ...reelemmatizer.md => edittreelemmatizer.mdx} | 0 .../api/{entitylinker.md => entitylinker.mdx} | 0 ...ntityrecognizer.md => entityrecognizer.mdx} | 0 .../api/{entityruler.md => entityruler.mdx} | 0 website/docs/api/{example.md => example.mdx} | 0 website/docs/api/{index.md => index.mdx} | 2 +- website/docs/api/{kb.md => kb.mdx} | 0 .../api/{kb_in_memory.md => kb_in_memory.mdx} | 0 website/docs/api/{language.md => language.mdx} | 0 website/docs/api/{legacy.md => legacy.mdx} | 0 .../docs/api/{lemmatizer.md => lemmatizer.mdx} | 0 website/docs/api/{lexeme.md => lexeme.mdx} | 0 website/docs/api/{lookups.md => lookups.mdx} | 0 website/docs/api/{matcher.md => matcher.mdx} | 0 .../{morphologizer.md => morphologizer.mdx} | 0 .../docs/api/{morphology.md => morphology.mdx} | 0 .../{phrasematcher.md => phrasematcher.mdx} | 0 website/docs/api/{pipe.md => pipe.mdx} | 0 ...ine-functions.md => pipeline-functions.mdx} | 0 website/docs/api/{scorer.md => scorer.mdx} | 0 ...ncerecognizer.md => sentencerecognizer.mdx} | 0 .../api/{sentencizer.md => sentencizer.mdx} | 0 .../{span-resolver.md => span-resolver.mdx} | 0 website/docs/api/{span.md => span.mdx} | 0 ...{spancategorizer.md => spancategorizer.mdx} | 0 .../docs/api/{spangroup.md => spangroup.mdx} | 0 .../docs/api/{spanruler.md => spanruler.mdx} | 0 .../api/{stringstore.md => stringstore.mdx} | 0 website/docs/api/{tagger.md => tagger.mdx} | 0 ...{textcategorizer.md => textcategorizer.mdx} | 0 website/docs/api/{tok2vec.md => tok2vec.mdx} | 0 website/docs/api/{token.md => token.mdx} | 0 .../docs/api/{tokenizer.md => tokenizer.mdx} | 0 .../docs/api/{top-level.md => top-level.mdx} | 0 .../api/{transformer.md => transformer.mdx} | 0 website/docs/api/{vectors.md => vectors.mdx} | 0 website/docs/api/{vocab.md => vocab.mdx} | 0 website/docs/{index.md => index.mdx} | 0 website/docs/models/{index.md => index.mdx} | 0 website/docs/{styleguide.md => styleguide.mdx} | 2 +- .../{_architecture.md => _architecture.mdx} | 0 .../{_language-data.md => _language-data.mdx} | 0 ...{_named-entities.md => _named-entities.mdx} | 0 .../101/{_pipelines.md => _pipelines.mdx} | 0 .../usage/101/{_pos-deps.md => _pos-deps.mdx} | 0 .../{_serialization.md => _serialization.mdx} | 0 .../{_tokenization.md => _tokenization.mdx} | 0 .../usage/101/{_training.md => _training.mdx} | 0 ...s-similarity.md => _vectors-similarity.mdx} | 0 ...hmarks-models.md => _benchmarks-models.mdx} | 0 ...sformers.md => embeddings-transformers.mdx} | 0 .../{facts-figures.md => facts-figures.mdx} | 2 +- website/docs/usage/{index.md => index.mdx} | 0 ...chitectures.md => layers-architectures.mdx} | 0 ...tic-features.md => linguistic-features.mdx} | 10 +++++----- website/docs/usage/{models.md => models.mdx} | 0 ...g-pipelines.md => processing-pipelines.mdx} | 2 +- .../docs/usage/{projects.md => projects.mdx} | 0 ...sed-matching.md => rule-based-matching.mdx} | 0 .../{saving-loading.md => saving-loading.mdx} | 2 +- .../docs/usage/{spacy-101.md => spacy-101.mdx} | 18 +++++++++--------- .../docs/usage/{training.md => training.mdx} | 2 +- website/docs/usage/{v2-1.md => v2-1.mdx} | 0 website/docs/usage/{v2-2.md => v2-2.mdx} | 0 website/docs/usage/{v2-3.md => v2-3.mdx} | 0 website/docs/usage/{v2.md => v2.mdx} | 0 website/docs/usage/{v3-1.md => v3-1.mdx} | 0 website/docs/usage/{v3-2.md => v3-2.mdx} | 0 website/docs/usage/{v3-3.md => v3-3.mdx} | 0 website/docs/usage/{v3-4.md => v3-4.mdx} | 0 website/docs/usage/{v3.md => v3.mdx} | 2 +- .../usage/{visualizers.md => visualizers.mdx} | 0 website/src/components/util.js | 4 ++-- website/src/widgets/landing.js | 2 +- 88 files changed, 24 insertions(+), 24 deletions(-) rename website/docs/api/{architectures.md => architectures.mdx} (100%) rename website/docs/api/{attributeruler.md => attributeruler.mdx} (100%) rename website/docs/api/{attributes.md => attributes.mdx} (100%) rename website/docs/api/{cli.md => cli.mdx} (100%) rename website/docs/api/{coref.md => coref.mdx} (100%) rename website/docs/api/{corpus.md => corpus.mdx} (100%) rename website/docs/api/{cython-classes.md => cython-classes.mdx} (100%) rename website/docs/api/{cython-structs.md => cython-structs.mdx} (100%) rename website/docs/api/{cython.md => cython.mdx} (100%) rename website/docs/api/{data-formats.md => data-formats.mdx} (100%) rename website/docs/api/{dependencymatcher.md => dependencymatcher.mdx} (100%) rename website/docs/api/{dependencyparser.md => dependencyparser.mdx} (100%) rename website/docs/api/{doc.md => doc.mdx} (100%) rename website/docs/api/{docbin.md => docbin.mdx} (100%) rename website/docs/api/{edittreelemmatizer.md => edittreelemmatizer.mdx} (100%) rename website/docs/api/{entitylinker.md => entitylinker.mdx} (100%) rename website/docs/api/{entityrecognizer.md => entityrecognizer.mdx} (100%) rename website/docs/api/{entityruler.md => entityruler.mdx} (100%) rename website/docs/api/{example.md => example.mdx} (100%) rename website/docs/api/{index.md => index.mdx} (58%) rename website/docs/api/{kb.md => kb.mdx} (100%) rename website/docs/api/{kb_in_memory.md => kb_in_memory.mdx} (100%) rename website/docs/api/{language.md => language.mdx} (100%) rename website/docs/api/{legacy.md => legacy.mdx} (100%) rename website/docs/api/{lemmatizer.md => lemmatizer.mdx} (100%) rename website/docs/api/{lexeme.md => lexeme.mdx} (100%) rename website/docs/api/{lookups.md => lookups.mdx} (100%) rename website/docs/api/{matcher.md => matcher.mdx} (100%) rename website/docs/api/{morphologizer.md => morphologizer.mdx} (100%) rename website/docs/api/{morphology.md => morphology.mdx} (100%) rename website/docs/api/{phrasematcher.md => phrasematcher.mdx} (100%) rename website/docs/api/{pipe.md => pipe.mdx} (100%) rename website/docs/api/{pipeline-functions.md => pipeline-functions.mdx} (100%) rename website/docs/api/{scorer.md => scorer.mdx} (100%) rename website/docs/api/{sentencerecognizer.md => sentencerecognizer.mdx} (100%) rename website/docs/api/{sentencizer.md => sentencizer.mdx} (100%) rename website/docs/api/{span-resolver.md => span-resolver.mdx} (100%) rename website/docs/api/{span.md => span.mdx} (100%) rename website/docs/api/{spancategorizer.md => spancategorizer.mdx} (100%) rename website/docs/api/{spangroup.md => spangroup.mdx} (100%) rename website/docs/api/{spanruler.md => spanruler.mdx} (100%) rename website/docs/api/{stringstore.md => stringstore.mdx} (100%) rename website/docs/api/{tagger.md => tagger.mdx} (100%) rename website/docs/api/{textcategorizer.md => textcategorizer.mdx} (100%) rename website/docs/api/{tok2vec.md => tok2vec.mdx} (100%) rename website/docs/api/{token.md => token.mdx} (100%) rename website/docs/api/{tokenizer.md => tokenizer.mdx} (100%) rename website/docs/api/{top-level.md => top-level.mdx} (100%) rename website/docs/api/{transformer.md => transformer.mdx} (100%) rename website/docs/api/{vectors.md => vectors.mdx} (100%) rename website/docs/api/{vocab.md => vocab.mdx} (100%) rename website/docs/{index.md => index.mdx} (100%) rename website/docs/models/{index.md => index.mdx} (100%) rename website/docs/{styleguide.md => styleguide.mdx} (99%) rename website/docs/usage/101/{_architecture.md => _architecture.mdx} (100%) rename website/docs/usage/101/{_language-data.md => _language-data.mdx} (100%) rename website/docs/usage/101/{_named-entities.md => _named-entities.mdx} (100%) rename website/docs/usage/101/{_pipelines.md => _pipelines.mdx} (100%) rename website/docs/usage/101/{_pos-deps.md => _pos-deps.mdx} (100%) rename website/docs/usage/101/{_serialization.md => _serialization.mdx} (100%) rename website/docs/usage/101/{_tokenization.md => _tokenization.mdx} (100%) rename website/docs/usage/101/{_training.md => _training.mdx} (100%) rename website/docs/usage/101/{_vectors-similarity.md => _vectors-similarity.mdx} (100%) rename website/docs/usage/{_benchmarks-models.md => _benchmarks-models.mdx} (100%) rename website/docs/usage/{embeddings-transformers.md => embeddings-transformers.mdx} (100%) rename website/docs/usage/{facts-figures.md => facts-figures.mdx} (99%) rename website/docs/usage/{index.md => index.mdx} (100%) rename website/docs/usage/{layers-architectures.md => layers-architectures.mdx} (100%) rename website/docs/usage/{linguistic-features.md => linguistic-features.mdx} (99%) rename website/docs/usage/{models.md => models.mdx} (100%) rename website/docs/usage/{processing-pipelines.md => processing-pipelines.mdx} (99%) rename website/docs/usage/{projects.md => projects.mdx} (100%) rename website/docs/usage/{rule-based-matching.md => rule-based-matching.mdx} (100%) rename website/docs/usage/{saving-loading.md => saving-loading.mdx} (99%) rename website/docs/usage/{spacy-101.md => spacy-101.mdx} (98%) rename website/docs/usage/{training.md => training.mdx} (99%) rename website/docs/usage/{v2-1.md => v2-1.mdx} (100%) rename website/docs/usage/{v2-2.md => v2-2.mdx} (100%) rename website/docs/usage/{v2-3.md => v2-3.mdx} (100%) rename website/docs/usage/{v2.md => v2.mdx} (100%) rename website/docs/usage/{v3-1.md => v3-1.mdx} (100%) rename website/docs/usage/{v3-2.md => v3-2.mdx} (100%) rename website/docs/usage/{v3-3.md => v3-3.mdx} (100%) rename website/docs/usage/{v3-4.md => v3-4.mdx} (100%) rename website/docs/usage/{v3.md => v3.mdx} (99%) rename website/docs/usage/{visualizers.md => visualizers.mdx} (100%) diff --git a/website/docs/api/architectures.md b/website/docs/api/architectures.mdx similarity index 100% rename from website/docs/api/architectures.md rename to website/docs/api/architectures.mdx diff --git a/website/docs/api/attributeruler.md b/website/docs/api/attributeruler.mdx similarity index 100% rename from website/docs/api/attributeruler.md rename to website/docs/api/attributeruler.mdx diff --git a/website/docs/api/attributes.md b/website/docs/api/attributes.mdx similarity index 100% rename from website/docs/api/attributes.md rename to website/docs/api/attributes.mdx diff --git a/website/docs/api/cli.md b/website/docs/api/cli.mdx similarity index 100% rename from website/docs/api/cli.md rename to website/docs/api/cli.mdx diff --git a/website/docs/api/coref.md b/website/docs/api/coref.mdx similarity index 100% rename from website/docs/api/coref.md rename to website/docs/api/coref.mdx diff --git a/website/docs/api/corpus.md b/website/docs/api/corpus.mdx similarity index 100% rename from website/docs/api/corpus.md rename to website/docs/api/corpus.mdx diff --git a/website/docs/api/cython-classes.md b/website/docs/api/cython-classes.mdx similarity index 100% rename from website/docs/api/cython-classes.md rename to website/docs/api/cython-classes.mdx diff --git a/website/docs/api/cython-structs.md b/website/docs/api/cython-structs.mdx similarity index 100% rename from website/docs/api/cython-structs.md rename to website/docs/api/cython-structs.mdx diff --git a/website/docs/api/cython.md b/website/docs/api/cython.mdx similarity index 100% rename from website/docs/api/cython.md rename to website/docs/api/cython.mdx diff --git a/website/docs/api/data-formats.md b/website/docs/api/data-formats.mdx similarity index 100% rename from website/docs/api/data-formats.md rename to website/docs/api/data-formats.mdx diff --git a/website/docs/api/dependencymatcher.md b/website/docs/api/dependencymatcher.mdx similarity index 100% rename from website/docs/api/dependencymatcher.md rename to website/docs/api/dependencymatcher.mdx diff --git a/website/docs/api/dependencyparser.md b/website/docs/api/dependencyparser.mdx similarity index 100% rename from website/docs/api/dependencyparser.md rename to website/docs/api/dependencyparser.mdx diff --git a/website/docs/api/doc.md b/website/docs/api/doc.mdx similarity index 100% rename from website/docs/api/doc.md rename to website/docs/api/doc.mdx diff --git a/website/docs/api/docbin.md b/website/docs/api/docbin.mdx similarity index 100% rename from website/docs/api/docbin.md rename to website/docs/api/docbin.mdx diff --git a/website/docs/api/edittreelemmatizer.md b/website/docs/api/edittreelemmatizer.mdx similarity index 100% rename from website/docs/api/edittreelemmatizer.md rename to website/docs/api/edittreelemmatizer.mdx diff --git a/website/docs/api/entitylinker.md b/website/docs/api/entitylinker.mdx similarity index 100% rename from website/docs/api/entitylinker.md rename to website/docs/api/entitylinker.mdx diff --git a/website/docs/api/entityrecognizer.md b/website/docs/api/entityrecognizer.mdx similarity index 100% rename from website/docs/api/entityrecognizer.md rename to website/docs/api/entityrecognizer.mdx diff --git a/website/docs/api/entityruler.md b/website/docs/api/entityruler.mdx similarity index 100% rename from website/docs/api/entityruler.md rename to website/docs/api/entityruler.mdx diff --git a/website/docs/api/example.md b/website/docs/api/example.mdx similarity index 100% rename from website/docs/api/example.md rename to website/docs/api/example.mdx diff --git a/website/docs/api/index.md b/website/docs/api/index.mdx similarity index 58% rename from website/docs/api/index.md rename to website/docs/api/index.mdx index a9dc408f6..ba1e0a29a 100644 --- a/website/docs/api/index.md +++ b/website/docs/api/index.mdx @@ -3,6 +3,6 @@ title: Library Architecture next: /api/architectures --- -import Architecture101 from 'usage/101/\_architecture.md' +import Architecture101 from 'usage/101/\_architecture.mdx' diff --git a/website/docs/api/kb.md b/website/docs/api/kb.mdx similarity index 100% rename from website/docs/api/kb.md rename to website/docs/api/kb.mdx diff --git a/website/docs/api/kb_in_memory.md b/website/docs/api/kb_in_memory.mdx similarity index 100% rename from website/docs/api/kb_in_memory.md rename to website/docs/api/kb_in_memory.mdx diff --git a/website/docs/api/language.md b/website/docs/api/language.mdx similarity index 100% rename from website/docs/api/language.md rename to website/docs/api/language.mdx diff --git a/website/docs/api/legacy.md b/website/docs/api/legacy.mdx similarity index 100% rename from website/docs/api/legacy.md rename to website/docs/api/legacy.mdx diff --git a/website/docs/api/lemmatizer.md b/website/docs/api/lemmatizer.mdx similarity index 100% rename from website/docs/api/lemmatizer.md rename to website/docs/api/lemmatizer.mdx diff --git a/website/docs/api/lexeme.md b/website/docs/api/lexeme.mdx similarity index 100% rename from website/docs/api/lexeme.md rename to website/docs/api/lexeme.mdx diff --git a/website/docs/api/lookups.md b/website/docs/api/lookups.mdx similarity index 100% rename from website/docs/api/lookups.md rename to website/docs/api/lookups.mdx diff --git a/website/docs/api/matcher.md b/website/docs/api/matcher.mdx similarity index 100% rename from website/docs/api/matcher.md rename to website/docs/api/matcher.mdx diff --git a/website/docs/api/morphologizer.md b/website/docs/api/morphologizer.mdx similarity index 100% rename from website/docs/api/morphologizer.md rename to website/docs/api/morphologizer.mdx diff --git a/website/docs/api/morphology.md b/website/docs/api/morphology.mdx similarity index 100% rename from website/docs/api/morphology.md rename to website/docs/api/morphology.mdx diff --git a/website/docs/api/phrasematcher.md b/website/docs/api/phrasematcher.mdx similarity index 100% rename from website/docs/api/phrasematcher.md rename to website/docs/api/phrasematcher.mdx diff --git a/website/docs/api/pipe.md b/website/docs/api/pipe.mdx similarity index 100% rename from website/docs/api/pipe.md rename to website/docs/api/pipe.mdx diff --git a/website/docs/api/pipeline-functions.md b/website/docs/api/pipeline-functions.mdx similarity index 100% rename from website/docs/api/pipeline-functions.md rename to website/docs/api/pipeline-functions.mdx diff --git a/website/docs/api/scorer.md b/website/docs/api/scorer.mdx similarity index 100% rename from website/docs/api/scorer.md rename to website/docs/api/scorer.mdx diff --git a/website/docs/api/sentencerecognizer.md b/website/docs/api/sentencerecognizer.mdx similarity index 100% rename from website/docs/api/sentencerecognizer.md rename to website/docs/api/sentencerecognizer.mdx diff --git a/website/docs/api/sentencizer.md b/website/docs/api/sentencizer.mdx similarity index 100% rename from website/docs/api/sentencizer.md rename to website/docs/api/sentencizer.mdx diff --git a/website/docs/api/span-resolver.md b/website/docs/api/span-resolver.mdx similarity index 100% rename from website/docs/api/span-resolver.md rename to website/docs/api/span-resolver.mdx diff --git a/website/docs/api/span.md b/website/docs/api/span.mdx similarity index 100% rename from website/docs/api/span.md rename to website/docs/api/span.mdx diff --git a/website/docs/api/spancategorizer.md b/website/docs/api/spancategorizer.mdx similarity index 100% rename from website/docs/api/spancategorizer.md rename to website/docs/api/spancategorizer.mdx diff --git a/website/docs/api/spangroup.md b/website/docs/api/spangroup.mdx similarity index 100% rename from website/docs/api/spangroup.md rename to website/docs/api/spangroup.mdx diff --git a/website/docs/api/spanruler.md b/website/docs/api/spanruler.mdx similarity index 100% rename from website/docs/api/spanruler.md rename to website/docs/api/spanruler.mdx diff --git a/website/docs/api/stringstore.md b/website/docs/api/stringstore.mdx similarity index 100% rename from website/docs/api/stringstore.md rename to website/docs/api/stringstore.mdx diff --git a/website/docs/api/tagger.md b/website/docs/api/tagger.mdx similarity index 100% rename from website/docs/api/tagger.md rename to website/docs/api/tagger.mdx diff --git a/website/docs/api/textcategorizer.md b/website/docs/api/textcategorizer.mdx similarity index 100% rename from website/docs/api/textcategorizer.md rename to website/docs/api/textcategorizer.mdx diff --git a/website/docs/api/tok2vec.md b/website/docs/api/tok2vec.mdx similarity index 100% rename from website/docs/api/tok2vec.md rename to website/docs/api/tok2vec.mdx diff --git a/website/docs/api/token.md b/website/docs/api/token.mdx similarity index 100% rename from website/docs/api/token.md rename to website/docs/api/token.mdx diff --git a/website/docs/api/tokenizer.md b/website/docs/api/tokenizer.mdx similarity index 100% rename from website/docs/api/tokenizer.md rename to website/docs/api/tokenizer.mdx diff --git a/website/docs/api/top-level.md b/website/docs/api/top-level.mdx similarity index 100% rename from website/docs/api/top-level.md rename to website/docs/api/top-level.mdx diff --git a/website/docs/api/transformer.md b/website/docs/api/transformer.mdx similarity index 100% rename from website/docs/api/transformer.md rename to website/docs/api/transformer.mdx diff --git a/website/docs/api/vectors.md b/website/docs/api/vectors.mdx similarity index 100% rename from website/docs/api/vectors.md rename to website/docs/api/vectors.mdx diff --git a/website/docs/api/vocab.md b/website/docs/api/vocab.mdx similarity index 100% rename from website/docs/api/vocab.md rename to website/docs/api/vocab.mdx diff --git a/website/docs/index.md b/website/docs/index.mdx similarity index 100% rename from website/docs/index.md rename to website/docs/index.mdx diff --git a/website/docs/models/index.md b/website/docs/models/index.mdx similarity index 100% rename from website/docs/models/index.md rename to website/docs/models/index.mdx diff --git a/website/docs/styleguide.md b/website/docs/styleguide.mdx similarity index 99% rename from website/docs/styleguide.md rename to website/docs/styleguide.mdx index 47bca1ed4..f97ad7d3d 100644 --- a/website/docs/styleguide.md +++ b/website/docs/styleguide.mdx @@ -539,7 +539,7 @@ sit amet dignissim justo congue. ## Markdown reference {#markdown} -All page content and page meta lives in the `.md` files in the `/docs` +All page content and page meta lives in the `.mdx` files in the `/docs` directory. The frontmatter block at the top of each file defines the page title and other settings like the sidebar menu. diff --git a/website/docs/usage/101/_architecture.md b/website/docs/usage/101/_architecture.mdx similarity index 100% rename from website/docs/usage/101/_architecture.md rename to website/docs/usage/101/_architecture.mdx diff --git a/website/docs/usage/101/_language-data.md b/website/docs/usage/101/_language-data.mdx similarity index 100% rename from website/docs/usage/101/_language-data.md rename to website/docs/usage/101/_language-data.mdx diff --git a/website/docs/usage/101/_named-entities.md b/website/docs/usage/101/_named-entities.mdx similarity index 100% rename from website/docs/usage/101/_named-entities.md rename to website/docs/usage/101/_named-entities.mdx diff --git a/website/docs/usage/101/_pipelines.md b/website/docs/usage/101/_pipelines.mdx similarity index 100% rename from website/docs/usage/101/_pipelines.md rename to website/docs/usage/101/_pipelines.mdx diff --git a/website/docs/usage/101/_pos-deps.md b/website/docs/usage/101/_pos-deps.mdx similarity index 100% rename from website/docs/usage/101/_pos-deps.md rename to website/docs/usage/101/_pos-deps.mdx diff --git a/website/docs/usage/101/_serialization.md b/website/docs/usage/101/_serialization.mdx similarity index 100% rename from website/docs/usage/101/_serialization.md rename to website/docs/usage/101/_serialization.mdx diff --git a/website/docs/usage/101/_tokenization.md b/website/docs/usage/101/_tokenization.mdx similarity index 100% rename from website/docs/usage/101/_tokenization.md rename to website/docs/usage/101/_tokenization.mdx diff --git a/website/docs/usage/101/_training.md b/website/docs/usage/101/_training.mdx similarity index 100% rename from website/docs/usage/101/_training.md rename to website/docs/usage/101/_training.mdx diff --git a/website/docs/usage/101/_vectors-similarity.md b/website/docs/usage/101/_vectors-similarity.mdx similarity index 100% rename from website/docs/usage/101/_vectors-similarity.md rename to website/docs/usage/101/_vectors-similarity.mdx diff --git a/website/docs/usage/_benchmarks-models.md b/website/docs/usage/_benchmarks-models.mdx similarity index 100% rename from website/docs/usage/_benchmarks-models.md rename to website/docs/usage/_benchmarks-models.mdx diff --git a/website/docs/usage/embeddings-transformers.md b/website/docs/usage/embeddings-transformers.mdx similarity index 100% rename from website/docs/usage/embeddings-transformers.md rename to website/docs/usage/embeddings-transformers.mdx diff --git a/website/docs/usage/facts-figures.md b/website/docs/usage/facts-figures.mdx similarity index 99% rename from website/docs/usage/facts-figures.md rename to website/docs/usage/facts-figures.mdx index 4bee31ed0..4c9d7e644 100644 --- a/website/docs/usage/facts-figures.md +++ b/website/docs/usage/facts-figures.mdx @@ -69,7 +69,7 @@ pipeline, which is less accurate but much cheaper to run. > gold-standard segmentation and tokenization, from a pretty specific type of > text (articles from a single newspaper, 1984-1989). -import Benchmarks from 'usage/\_benchmarks-models.md' +import Benchmarks from 'usage/\_benchmarks-models.mdx' diff --git a/website/docs/usage/index.md b/website/docs/usage/index.mdx similarity index 100% rename from website/docs/usage/index.md rename to website/docs/usage/index.mdx diff --git a/website/docs/usage/layers-architectures.md b/website/docs/usage/layers-architectures.mdx similarity index 100% rename from website/docs/usage/layers-architectures.md rename to website/docs/usage/layers-architectures.mdx diff --git a/website/docs/usage/linguistic-features.md b/website/docs/usage/linguistic-features.mdx similarity index 99% rename from website/docs/usage/linguistic-features.md rename to website/docs/usage/linguistic-features.mdx index 099678c40..8fe8b2c1a 100644 --- a/website/docs/usage/linguistic-features.md +++ b/website/docs/usage/linguistic-features.mdx @@ -28,7 +28,7 @@ annotations. ## Part-of-speech tagging {#pos-tagging model="tagger, parser"} -import PosDeps101 from 'usage/101/\_pos-deps.md' +import PosDeps101 from 'usage/101/\_pos-deps.mdx' @@ -536,7 +536,7 @@ with new examples. ### Named Entity Recognition 101 {#named-entities-101} -import NER101 from 'usage/101/\_named-entities.md' +import NER101 from 'usage/101/\_named-entities.mdx' @@ -785,7 +785,7 @@ during tokenization. This is kind of a core principle of spaCy's `Doc` object: -import Tokenization101 from 'usage/101/\_tokenization.md' +import Tokenization101 from 'usage/101/\_tokenization.mdx' @@ -1868,7 +1868,7 @@ initialized before training. See the ## Word vectors and semantic similarity {#vectors-similarity} -import Vectors101 from 'usage/101/\_vectors-similarity.md' +import Vectors101 from 'usage/101/\_vectors-similarity.mdx' @@ -1998,7 +1998,7 @@ for word, vector in vector_data.items(): ## Language Data {#language-data} -import LanguageData101 from 'usage/101/\_language-data.md' +import LanguageData101 from 'usage/101/\_language-data.mdx' diff --git a/website/docs/usage/models.md b/website/docs/usage/models.mdx similarity index 100% rename from website/docs/usage/models.md rename to website/docs/usage/models.mdx diff --git a/website/docs/usage/processing-pipelines.md b/website/docs/usage/processing-pipelines.mdx similarity index 99% rename from website/docs/usage/processing-pipelines.md rename to website/docs/usage/processing-pipelines.mdx index 0b63cdcb8..c31ad0a99 100644 --- a/website/docs/usage/processing-pipelines.md +++ b/website/docs/usage/processing-pipelines.mdx @@ -12,7 +12,7 @@ menu: - ['Plugins & Wrappers', 'plugins'] --- -import Pipelines101 from 'usage/101/\_pipelines.md' +import Pipelines101 from 'usage/101/\_pipelines.mdx' diff --git a/website/docs/usage/projects.md b/website/docs/usage/projects.mdx similarity index 100% rename from website/docs/usage/projects.md rename to website/docs/usage/projects.mdx diff --git a/website/docs/usage/rule-based-matching.md b/website/docs/usage/rule-based-matching.mdx similarity index 100% rename from website/docs/usage/rule-based-matching.md rename to website/docs/usage/rule-based-matching.mdx diff --git a/website/docs/usage/saving-loading.md b/website/docs/usage/saving-loading.mdx similarity index 99% rename from website/docs/usage/saving-loading.md rename to website/docs/usage/saving-loading.mdx index 29870a2e3..0ee933177 100644 --- a/website/docs/usage/saving-loading.md +++ b/website/docs/usage/saving-loading.mdx @@ -10,7 +10,7 @@ menu: ## Basics {#basics hidden="true"} -import Serialization101 from 'usage/101/\_serialization.md' +import Serialization101 from 'usage/101/\_serialization.mdx' diff --git a/website/docs/usage/spacy-101.md b/website/docs/usage/spacy-101.mdx similarity index 98% rename from website/docs/usage/spacy-101.md rename to website/docs/usage/spacy-101.mdx index 52daf33b8..47d0954ae 100644 --- a/website/docs/usage/spacy-101.md +++ b/website/docs/usage/spacy-101.mdx @@ -191,7 +191,7 @@ text with spaCy. ### Tokenization {#annotations-token} -import Tokenization101 from 'usage/101/\_tokenization.md' +import Tokenization101 from 'usage/101/\_tokenization.mdx' @@ -207,7 +207,7 @@ language-specific data**, see the usage guides on ### Part-of-speech tags and dependencies {#annotations-pos-deps model="parser"} -import PosDeps101 from 'usage/101/\_pos-deps.md' +import PosDeps101 from 'usage/101/\_pos-deps.mdx' @@ -222,7 +222,7 @@ how to **navigate and use the parse tree** effectively, see the usage guides on ### Named Entities {#annotations-ner model="ner"} -import NER101 from 'usage/101/\_named-entities.md' +import NER101 from 'usage/101/\_named-entities.mdx' @@ -238,7 +238,7 @@ of a model, see the usage guides on ### Word vectors and similarity {#vectors-similarity model="vectors"} -import Vectors101 from 'usage/101/\_vectors-similarity.md' +import Vectors101 from 'usage/101/\_vectors-similarity.mdx' @@ -252,7 +252,7 @@ To learn more about word vectors, how to **customize them** and how to load ## Pipelines {#pipelines} -import Pipelines101 from 'usage/101/\_pipelines.md' +import Pipelines101 from 'usage/101/\_pipelines.mdx' @@ -266,7 +266,7 @@ guide on [language processing pipelines](/usage/processing-pipelines). ## Architecture {#architecture} -import Architecture101 from 'usage/101/\_architecture.md' +import Architecture101 from 'usage/101/\_architecture.mdx' @@ -384,7 +384,7 @@ it. ## Serialization {#serialization} -import Serialization101 from 'usage/101/\_serialization.md' +import Serialization101 from 'usage/101/\_serialization.mdx' @@ -397,7 +397,7 @@ guide on [saving and loading](/usage/saving-loading#models). ## Training {#training} -import Training101 from 'usage/101/\_training.md' +import Training101 from 'usage/101/\_training.mdx' @@ -476,7 +476,7 @@ for trainable components. ## Language data {#language-data} -import LanguageData101 from 'usage/101/\_language-data.md' +import LanguageData101 from 'usage/101/\_language-data.mdx' diff --git a/website/docs/usage/training.md b/website/docs/usage/training.mdx similarity index 99% rename from website/docs/usage/training.md rename to website/docs/usage/training.mdx index e40a395c4..0b471c359 100644 --- a/website/docs/usage/training.md +++ b/website/docs/usage/training.mdx @@ -17,7 +17,7 @@ menu: ## Introduction to training {#basics hidden="true"} -import Training101 from 'usage/101/\_training.md' +import Training101 from 'usage/101/\_training.mdx' diff --git a/website/docs/usage/v2-1.md b/website/docs/usage/v2-1.mdx similarity index 100% rename from website/docs/usage/v2-1.md rename to website/docs/usage/v2-1.mdx diff --git a/website/docs/usage/v2-2.md b/website/docs/usage/v2-2.mdx similarity index 100% rename from website/docs/usage/v2-2.md rename to website/docs/usage/v2-2.mdx diff --git a/website/docs/usage/v2-3.md b/website/docs/usage/v2-3.mdx similarity index 100% rename from website/docs/usage/v2-3.md rename to website/docs/usage/v2-3.mdx diff --git a/website/docs/usage/v2.md b/website/docs/usage/v2.mdx similarity index 100% rename from website/docs/usage/v2.md rename to website/docs/usage/v2.mdx diff --git a/website/docs/usage/v3-1.md b/website/docs/usage/v3-1.mdx similarity index 100% rename from website/docs/usage/v3-1.md rename to website/docs/usage/v3-1.mdx diff --git a/website/docs/usage/v3-2.md b/website/docs/usage/v3-2.mdx similarity index 100% rename from website/docs/usage/v3-2.md rename to website/docs/usage/v3-2.mdx diff --git a/website/docs/usage/v3-3.md b/website/docs/usage/v3-3.mdx similarity index 100% rename from website/docs/usage/v3-3.md rename to website/docs/usage/v3-3.mdx diff --git a/website/docs/usage/v3-4.md b/website/docs/usage/v3-4.mdx similarity index 100% rename from website/docs/usage/v3-4.md rename to website/docs/usage/v3-4.mdx diff --git a/website/docs/usage/v3.md b/website/docs/usage/v3.mdx similarity index 99% rename from website/docs/usage/v3.md rename to website/docs/usage/v3.mdx index 64f93b7c0..e8d62efe5 100644 --- a/website/docs/usage/v3.md +++ b/website/docs/usage/v3.mdx @@ -88,7 +88,7 @@ giving you access to thousands of pretrained models for your pipelines. ![Pipeline components listening to shared embedding component](../images/tok2vec-listener.svg) -import Benchmarks from 'usage/\_benchmarks-models.md' +import Benchmarks from 'usage/\_benchmarks-models.mdx' diff --git a/website/docs/usage/visualizers.md b/website/docs/usage/visualizers.mdx similarity index 100% rename from website/docs/usage/visualizers.md rename to website/docs/usage/visualizers.mdx diff --git a/website/src/components/util.js b/website/src/components/util.js index 7b73d484a..7a1412125 100644 --- a/website/src/components/util.js +++ b/website/src/components/util.js @@ -33,11 +33,11 @@ export function github(filepath, branch = DEFAULT_BRANCH) { /** * Get the source of a file in the documentation based on its slug * @param {string} slug - The slug, e.g. /api/doc. - * @param {boolean} [isIndex] - Whether the page is an index, e.g. /api/index.md + * @param {boolean} [isIndex] - Whether the page is an index, e.g. /api/index.mdx * @param {string} [branch] - Optional branch on GitHub. Defaults to master. */ export function getCurrentSource(slug, isIndex = false, branch = DEFAULT_BRANCH) { - const ext = isIndex ? '/index.md' : '.md' + const ext = isIndex ? '/index.mdx' : '.mdx' return github(`website/docs${slug}${ext}`, branch) } diff --git a/website/src/widgets/landing.js b/website/src/widgets/landing.js index b7ae35f6e..5f3e39e26 100644 --- a/website/src/widgets/landing.js +++ b/website/src/widgets/landing.js @@ -27,7 +27,7 @@ import prodigyImage from '../../docs/images/prodigy_overview.jpg' import projectsImage from '../../docs/images/projects.png' import tailoredPipelinesImage from '../../docs/images/spacy-tailored-pipelines_wide.png' -import Benchmarks from 'usage/_benchmarks-models.md' +import Benchmarks from '../../docs/usage/_benchmarks-models.mdx' function getCodeExample(nightly) { return `# pip install -U ${nightly ? 'spacy-nightly --pre' : 'spacy'}