diff --git a/website/_includes/_mixins.jade b/website/_includes/_mixins.jade index 9de43b092..16514bcda 100644 --- a/website/_includes/_mixins.jade +++ b/website/_includes/_mixins.jade @@ -383,3 +383,14 @@ mixin annotation-row(annots, style) else +cell=cell block + + +//- Table of contents, to be used with +item mixins for links + col - [string] width of column (see +grid-col) + +mixin table-of-contents(col) + +grid-col(col || "half") + +infobox + +label.o-block-small Table of contents + +list("numbers").u-text-small.o-no-block + block diff --git a/website/docs/usage/spacy-101.jade b/website/docs/usage/spacy-101.jade index 55e7a030a..03897600d 100644 --- a/website/docs/usage/spacy-101.jade +++ b/website/docs/usage/spacy-101.jade @@ -38,22 +38,19 @@ p | #[strong natural language understanding] systems, or to | pre-process text for #[strong deep learning]. - +grid-col("half") - +infobox - +label.o-block-small Table of contents - +list("numbers").u-text-small.o-no-block - +item #[+a("#features") Features] - +item #[+a("#annotations") Linguistic annotations] - +item #[+a("#annotations-token") Tokenization] - +item #[+a("#annotations-pos-deps") POS tags and dependencies] - +item #[+a("#annotations-ner") Named entities] - +item #[+a("#vectors-similarity") Word vectos and similarity] - +item #[+a("#pipelines") Pipelines] - +item #[+a("#vocab") Vocab, hashes and lexemes] - +item #[+a("#serialization") Serialization] - +item #[+a("#training") Training] - +item #[+a("#architecture") Architecture] - +item #[+a("#community") Community & FAQ] + +table-of-contents + +item #[+a("#features") Features] + +item #[+a("#annotations") Linguistic annotations] + +item #[+a("#annotations-token") Tokenization] + +item #[+a("#annotations-pos-deps") POS tags and dependencies] + +item #[+a("#annotations-ner") Named entities] + +item #[+a("#vectors-similarity") Word vectos and similarity] + +item #[+a("#pipelines") Pipelines] + +item #[+a("#vocab") Vocab, hashes and lexemes] + +item #[+a("#serialization") Serialization] + +item #[+a("#training") Training] + +item #[+a("#architecture") Architecture] + +item #[+a("#community") Community & FAQ] +h(3, "what-spacy-isnt") What spaCy isn't