From 7a66c9f039cddaca9eeb3204dea0291f570c71ef Mon Sep 17 00:00:00 2001 From: ines Date: Sun, 4 Jun 2017 13:14:00 +0200 Subject: [PATCH] Fix formatting --- .../docs/usage/_spacy-101/_language-data.jade | 2 +- website/docs/usage/adding-languages.jade | 20 +++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/website/docs/usage/_spacy-101/_language-data.jade b/website/docs/usage/_spacy-101/_language-data.jade index 977a9e2f8..c70bb5c7a 100644 --- a/website/docs/usage/_spacy-101/_language-data.jade +++ b/website/docs/usage/_spacy-101/_language-data.jade @@ -5,7 +5,7 @@ p | #[strong exceptions and special cases], especially amongst the most | common words. Some of these exceptions are shared across languages, while | others are #[strong entirely specific] – usually so specific that they need - | to be hard-coded. The #[+src(gh("spaCy", "spacy/lang")) /lang] module + | to be hard-coded. The #[+src(gh("spaCy", "spacy/lang")) lang] module | contains all language-specific data, organised in simple Python files. | This makes the data easy to update and extend. diff --git a/website/docs/usage/adding-languages.jade b/website/docs/usage/adding-languages.jade index 90d5668d2..cbde248cc 100644 --- a/website/docs/usage/adding-languages.jade +++ b/website/docs/usage/adding-languages.jade @@ -7,6 +7,16 @@ p | spaCy library. This guide explains how to fit everything together, and | points you to the specific workflows for each component. ++aside("Working on spaCy's source") + | To add a new language to spaCy, you'll need to + | #[strong modify the library's code]. The easiest way to do this is to + | clone the #[+src(gh("spaCy")) repository] and #[strong build spaCy from source]. + | For more information on this, see the #[+a("/docs/usage") installation guide]. + | Unlike spaCy's core, which is mostly written in Cython, all language + | data is stored in regular Python files. This means that you won't have to + | rebuild anything in between – you can simply make edits and reload spaCy + | to test them. + +grid.o-no-block +grid-col("half") p @@ -39,16 +49,6 @@ p +item #[+a("#vocabulary") Building the vocabulary] +item #[+a("#training") Training] -+aside("Working on spaCy's source") - | To add a new language to spaCy, you'll need to - | #[strong modify the library's code]. The easiest way to do this is to - | clone the #[+src(gh("spaCy")) repository] and #[strong build spaCy from source]. - | For more information on this, see the #[+a("/docs/usage") installation guide]. - | Unlike spaCy's core, which is mostly written in Cython, all language - | data is stored in regular Python files. This means that you won't have to - | rebuild anything in between – you can simply make edits and reload spaCy - | to test them. - +h(2, "101") Language data 101 include _spacy-101/_language-data