Update netlify.toml [ci skip]

This commit is contained in:
Ines Montani 2020-04-16 14:45:25 +02:00
parent 663333c3b2
commit 068146d4ca

View File

@ -7,42 +7,42 @@ redirects = [
{from = "https://alpha.spacy.io/*", to = "https://spacy.io", force = true}, {from = "https://alpha.spacy.io/*", to = "https://spacy.io", force = true},
{from = "http://alpha.spacy.io/*", to = "https://spacy.io", force = true}, {from = "http://alpha.spacy.io/*", to = "https://spacy.io", force = true},
# Old demos # Old demos
{from = "/demos/*", to = "https://explosion.ai/demos/:splat"}, {from = "/demos/*", to = "https://explosion.ai/demos/:splat", force = true},
# Old blog # Old blog
{from = "/blog/*", to = "https://explosion.ai/blog/:splat"}, {from = "/blog/*", to = "https://explosion.ai/blog/:splat", force = true},
{from = "/feed", to = "https://explosion.ai/feed"}, {from = "/feed", to = "https://explosion.ai/feed", force = true},
{from = "/feed.xml", to = "https://explosion.ai/feed"}, {from = "/feed.xml", to = "https://explosion.ai/feed", force = true},
# Old documentation pages (1.x) # Old documentation pages (1.x)
{from = "/docs/usage/processing-text", to = "/usage/linguistic-features"}, {from = "/docs/usage/processing-text", to = "/usage/linguistic-features", force = true},
{from = "/docs/usage/deep-learning", to = "/usage/training"}, {from = "/docs/usage/deep-learning", to = "/usage/training", force = true},
{from = "/docs/usage/pos-tagging", to = "/usage/linguistic-features#pos-tagging"}, {from = "/docs/usage/pos-tagging", to = "/usage/linguistic-features#pos-tagging", force = true},
{from = "/docs/usage/dependency-parse", to = "/usage/linguistic-features#dependency-parse"}, {from = "/docs/usage/dependency-parse", to = "/usage/linguistic-features#dependency-parse", force = true},
{from = "/docs/usage/entity-recognition", to = "/usage/linguistic-features#named-entities"}, {from = "/docs/usage/entity-recognition", to = "/usage/linguistic-features#named-entities", force = true},
{from = "/docs/usage/word-vectors-similarities", to = "/usage/vectors-similarity"}, {from = "/docs/usage/word-vectors-similarities", to = "/usage/vectors-similarity", force = true},
{from = "/docs/usage/customizing-tokenizer", to = "/usage/linguistic-features#tokenization"}, {from = "/docs/usage/customizing-tokenizer", to = "/usage/linguistic-features#tokenization", force = true},
{from = "/docs/usage/language-processing-pipeline", to = "/usage/processing-pipelines"}, {from = "/docs/usage/language-processing-pipeline", to = "/usage/processing-pipelines", force = true},
{from = "/docs/usage/customizing-pipeline", to = "/usage/processing-pipelines"}, {from = "/docs/usage/customizing-pipeline", to = "/usage/processing-pipelines", force = true},
{from = "/docs/usage/training-ner", to = "/usage/training#ner"}, {from = "/docs/usage/training-ner", to = "/usage/training#ner", force = true},
{from = "/docs/usage/tutorials", to = "/usage/examples"}, {from = "/docs/usage/tutorials", to = "/usage/examples", force = true},
{from = "/docs/usage/data-model", to = "/api"}, {from = "/docs/usage/data-model", to = "/api", force = true},
{from = "/docs/usage/cli", to = "/api/cli"}, {from = "/docs/usage/cli", to = "/api/cli", force = true},
{from = "/docs/usage/lightning-tour", to = "/usage/spacy-101#lightning-tour"}, {from = "/docs/usage/lightning-tour", to = "/usage/spacy-101#lightning-tour", force = true},
{from = "/docs/api/language-models", to = "/usage/models#languages"}, {from = "/docs/api/language-models", to = "/usage/models#languages", force = true},
{from = "/docs/api/spacy", to = "/docs/api/top-level"}, {from = "/docs/api/spacy", to = "/docs/api/top-level", force = true},
{from = "/docs/api/displacy", to = "/api/top-level#displacy"}, {from = "/docs/api/displacy", to = "/api/top-level#displacy", force = true},
{from = "/docs/api/util", to = "/api/top-level#util"}, {from = "/docs/api/util", to = "/api/top-level#util", force = true},
{from = "/docs/api/features", to = "/models/#architecture"}, {from = "/docs/api/features", to = "/models/#architecture", force = true},
{from = "/docs/api/philosophy", to = "/usage/spacy-101"}, {from = "/docs/api/philosophy", to = "/usage/spacy-101", force = true},
{from = "/docs/usage/showcase", to = "/universe"}, {from = "/docs/usage/showcase", to = "/universe", force = true},
{from = "/tutorials/load-new-word-vectors", to = "/usage/vectors-similarity#custom"}, {from = "/tutorials/load-new-word-vectors", to = "/usage/vectors-similarity#custom", force = true},
{from = "/tutorials", to = "/usage/examples"}, {from = "/tutorials", to = "/usage/examples", force = true},
# Rewrite all other docs pages to / # Rewrite all other docs pages to /
{from = "/docs/*", to = "/:splat"}, {from = "/docs/*", to = "/:splat"},
# Updated documentation pages # Updated documentation pages
{from = "/usage/resources", to = "/universe"}, {from = "/usage/resources", to = "/universe", force = true},
{from = "/usage/lightning-tour", to = "/usage/spacy-101#lightning-tour"}, {from = "/usage/lightning-tour", to = "/usage/spacy-101#lightning-tour", force = true},
{from = "/usage/linguistic-features#rule-based-matching", to = "/usage/rule-based-matching"}, {from = "/usage/linguistic-features#rule-based-matching", to = "/usage/rule-based-matching", force = true},
{from = "/models/comparison", to = "/models"}, {from = "/models/comparison", to = "/models", force = true},
{from = "/api/#section-cython", to = "/api/cython", force = true}, {from = "/api/#section-cython", to = "/api/cython", force = true},
{from = "/api/#cython", to = "/api/cython", force = true}, {from = "/api/#cython", to = "/api/cython", force = true},
{from = "/api/sentencesegmenter", to="/api/sentencizer"}, {from = "/api/sentencesegmenter", to="/api/sentencizer"},