mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
Doc changes for local website setup (#3651)
This commit is contained in:
parent
fa94f83697
commit
6fcafcc564
|
@ -447,17 +447,7 @@ use the `get_doc()` utility function to construct it manually.
|
||||||
|
|
||||||
## Updating the website
|
## Updating the website
|
||||||
|
|
||||||
Our [website and docs](https://spacy.io) are implemented in
|
For instructions on how to build and run the [website](https://spacy.io) locally see **[Setup and installation](https://github.com/explosion/spaCy/blob/master/website/README.md#setup-and-installation-setup)** in the *website* directory's README.
|
||||||
[Jade/Pug](https://www.jade-lang.org), and built or served by
|
|
||||||
[Harp](https://harpjs.com). Jade/Pug is an extensible templating language with a
|
|
||||||
readable syntax, that compiles to HTML. Here's how to view the site locally:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
sudo npm install --global harp
|
|
||||||
git clone https://github.com/explosion/spaCy
|
|
||||||
cd spaCy/website
|
|
||||||
harp server
|
|
||||||
```
|
|
||||||
|
|
||||||
The docs can always use another example or more detail, and they should always
|
The docs can always use another example or more detail, and they should always
|
||||||
be up to date and not misleading. To quickly find the correct file to edit,
|
be up to date and not misleading. To quickly find the correct file to edit,
|
||||||
|
|
|
@ -457,7 +457,7 @@ sit amet dignissim justo congue.
|
||||||
## Setup and installation {#setup}
|
## Setup and installation {#setup}
|
||||||
|
|
||||||
Before running the setup, make sure your versions of
|
Before running the setup, make sure your versions of
|
||||||
[Node](https://nodejs.org/en/) and [npm](https://www.npmjs.com/) are up to date.
|
[Node](https://nodejs.org/en/) and [npm](https://www.npmjs.com/) are up to date. Node v10.15 or later is required.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Clone the repository
|
# Clone the repository
|
||||||
|
|
Loading…
Reference in New Issue
Block a user