spaCy/website/_includes/_page-docs.jade

40 lines
1.4 KiB
Plaintext
Raw Normal View History

2016-10-31 21:04:15 +03:00
//- 💫 INCLUDES > DOCS PAGE TEMPLATE
- sidebar_content = (SUBSECTION != "index") ? public.docs[SUBSECTION]._data.sidebar : public.docs._data.sidebar || FOOTER
include _sidebar
main.o-main.o-main--sidebar.o-main--aside
article.o-content
+h(1)=title
if tag
+tag=tag
2017-11-07 14:56:36 +03:00
+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.
2016-10-31 21:04:15 +03:00
!=yield
+grid.o-content.u-text
+grid-col("half")
if next && public.docs[SUBSECTION]._data[next]
- data = public.docs[SUBSECTION]._data[next]
.o-inline-list
span #[strong.u-text-label Read next:] #[+a(next).u-link=data.title]
2016-10-31 21:04:15 +03:00
+grid-col("half").u-text-right
2017-11-07 14:56:36 +03:00
//-.o-inline-list
2016-10-31 21:04:15 +03:00
+button(gh("spacy", "website/" + current.path.join('/') + ".jade"), false, "secondary").u-text-tag Suggest edits #[+icon("code", 14)]
+gitter("spaCy chat")
2016-10-31 21:04:15 +03:00
include _footer