mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
Update legacy docs
This commit is contained in:
parent
025c820976
commit
91594fe671
|
@ -25,10 +25,6 @@
|
|||
]
|
||||
},
|
||||
|
||||
"robots.txt": {
|
||||
"layout": false
|
||||
},
|
||||
|
||||
"404": {
|
||||
"title": "404 Error",
|
||||
"landing": true
|
||||
|
|
|
@ -12,10 +12,10 @@
|
|||
"COMPANY_URL": "https://explosion.ai",
|
||||
"DEMOS_URL": "https://demos.explosion.ai",
|
||||
|
||||
"SPACY_VERSION": "1.9",
|
||||
"SPACY_VERSION": "2.0",
|
||||
"LATEST_NEWS": {
|
||||
"url": "/docs/usage/models",
|
||||
"title": "The first official Spanish model is here!"
|
||||
"url": "https://alpha.spacy.io",
|
||||
"title": "Try spaCy v2.0!"
|
||||
},
|
||||
|
||||
"SOCIAL": {
|
||||
|
|
|
@ -19,5 +19,6 @@
|
|||
//- Generate GitHub links
|
||||
|
||||
- function gh(repo, filepath, branch) {
|
||||
- if (repo == "spacy") branch = 'v1.x';
|
||||
- return 'https://github.com/' + SOCIAL.github + '/' + repo + (filepath ? '/blob/' + (branch || 'master') + '/' + filepath : '' );
|
||||
- }
|
||||
|
|
|
@ -5,8 +5,7 @@ include _mixins
|
|||
nav.c-nav.u-text.js-nav(class=landing ? "c-nav--theme" : null)
|
||||
a(href='/') #[+logo]
|
||||
|
||||
if SUBSECTION != "index"
|
||||
.u-text-label.u-padding-small.u-hidden-xs=SUBSECTION
|
||||
.u-text-label.u-padding-small.u-hidden-xs Legacy
|
||||
|
||||
ul.c-nav__menu
|
||||
each url, item in NAVIGATION
|
||||
|
|
|
@ -10,6 +10,16 @@ main.o-main.o-main--sidebar.o-main--aside
|
|||
if tag
|
||||
+tag=tag
|
||||
|
||||
+infobox("⚠️ Important note")
|
||||
| You are viewing the #[strong v1.x legacy documentation].
|
||||
| #[+a("https://spacy.io", true) Go here] for the latest
|
||||
| documentation of the new version. spaCy v2.0 comes with a lot
|
||||
| of improvements around training, serialization and processing
|
||||
| pipeline management, as well as new convolutional neural network
|
||||
| models for several languages. See
|
||||
| #[+a("https://spacy.io/usage/v2") this page] for more details and
|
||||
| a migration guide.
|
||||
|
||||
!=yield
|
||||
|
||||
+grid.o-content.u-text
|
||||
|
@ -21,7 +31,7 @@ main.o-main.o-main--sidebar.o-main--aside
|
|||
span #[strong.u-text-label Read next:] #[+a(next).u-link=data.title]
|
||||
|
||||
+grid-col("half").u-text-right
|
||||
.o-inline-list
|
||||
//-.o-inline-list
|
||||
+button(gh("spacy", "website/" + current.path.join('/') + ".jade"), false, "secondary").u-text-tag Suggest edits #[+icon("code", 14)]
|
||||
|
||||
+gitter("spaCy chat")
|
||||
|
|
|
@ -11,8 +11,6 @@ include _includes/_mixins
|
|||
h2.c-landing__title.o-block.u-heading-1
|
||||
| in Python
|
||||
|
||||
+landing-badge(gh("spaCy") + "/releases/tag/v2.0.0-alpha", "v2alpha", "Try spaCy v2.0.0 alpha!")
|
||||
|
||||
+grid.o-content
|
||||
+grid-col("third").o-card
|
||||
+h(2) Fastest in the world
|
||||
|
|
2
website/robots.txt
Normal file
2
website/robots.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
User-agent: *
|
||||
Disallow: /
|
|
@ -1,5 +0,0 @@
|
|||
//- 💫 ROBOTS.TXT
|
||||
|
||||
if environment != "deploy"
|
||||
| User-agent: *
|
||||
| Disallow: /
|
Loading…
Reference in New Issue
Block a user