Commit Graph

321 Commits

Author SHA1 Message Date
Marcus Blättermann
9b17299bd6
Convert file to .mjs to be used by Node process 2022-12-20 23:21:09 +01:00
Marcus Blättermann
47ce9ca870
Replace react-helmet with next/head 2022-12-20 23:21:09 +01:00
Marcus Blättermann
de902ca878
Fix internal link recognition
There is a problem with regex between Node and browser, and since Next runs the component on both, this create an error.

`Prop `rel` did not match. Server: "null" Client: "noopener nofollow noreferrer"`

This simplifies the implementation and fixes the above error.
2022-12-20 23:21:09 +01:00
Marcus Blättermann
c0fa92190c
Remove unused prop 2022-12-20 23:21:09 +01:00
Marcus Blättermann
47e4c62741
Fix code syntax highlighting 2022-12-20 23:21:08 +01:00
Marcus Blättermann
049279657a
Readd InlineCode component
MDX2 removed the `inlineCode` component

> The special component name `inlineCode` was removed, we recommend to use `pre` for the block version of code, and code for both the block and inline versions

Source: https://mdxjs.com/migrating/v2/#update-mdx-content
2022-12-20 23:21:08 +01:00
Marcus Blättermann
80144ebad0
Fix dropdowns 2022-12-20 23:21:07 +01:00
Marcus Blättermann
3c93913bb9
Fix ESLint react-hooks/exhaustive-deps 2022-12-20 23:21:07 +01:00
Marcus Blättermann
cb7880d3a6
Replace svg-loader with react-inlinesvg
`svg-loader` is no longer maintained
2022-12-20 23:21:07 +01:00
Marcus Blättermann
7dad1596f7
Fix headings with logo 2022-12-20 23:21:07 +01:00
Marcus Blättermann
92436c0663
Fix problem with image inside link in MDX 2022-12-20 23:21:06 +01:00
Marcus Blättermann
888a1f4c60
Remove ability to inline HTML content in iFrames 2022-12-20 23:21:06 +01:00
Marcus Blättermann
1bfff8390a
Replace landing page MDX with page component 2022-12-20 23:21:05 +01:00
Marcus Blättermann
aebe52efa7
Fix improper component nesting
Next doesn't allow block elements inside a `<p>`
2022-12-20 23:21:05 +01:00
Marcus Blättermann
c3e1c771ac
Fix Next problem with copy
Next complains when the server renders something different then the client, therfor we move the differing logic to `useEffect`
2022-12-20 23:21:05 +01:00
Marcus Blättermann
7dac26df38
Add Universe index page 2022-12-20 23:21:05 +01:00
Marcus Blättermann
a2fc7ecb27
Fix default value for theme 2022-12-20 23:21:05 +01:00
Marcus Blättermann
5d22487521
Fix markdown rendering inside components 2022-12-20 23:21:04 +01:00
Marcus Blättermann
13730a6567
Merge imports 2022-12-20 23:21:04 +01:00
Marcus Blättermann
94aa3629bb
Rename heading attribute
`new` was causing some weird issue, so renaming it to `version`
2022-12-20 23:21:04 +01:00
Marcus Blättermann
294d06fca0
Fix pattern image 2022-12-20 23:21:03 +01:00
Marcus Blättermann
9169b8f4b3
Fix broken images 2022-12-20 23:21:03 +01:00
Marcus Blättermann
d1c4d65590
Fix links 2022-12-20 23:21:03 +01:00
Marcus Blättermann
d3f95831aa
Implement layout 2022-12-20 23:21:03 +01:00
Marcus Blättermann
6de49b9f1a
Fix broken CSS classes 2022-12-20 23:21:03 +01:00
Marcus Blättermann
507742f763
Add missing components to MDX 2022-12-20 23:21:02 +01:00
Marcus Blättermann
0fe4f87072
Remove outdated MDX handling 2022-12-20 17:51:57 +01:00
Marcus Blättermann
b65e29595a
Move and rename plugins 2022-12-20 17:51:55 +01:00
Marcus Blättermann
fba63f5f09
Minor website fixes (#11974) [ci skip] 2022-12-20 17:41:38 +01:00
Marcus Blättermann
de2e3747cc
Apply Prettier (#11996) 2022-12-19 16:18:19 +01:00
Marcus Blättermann
0d04341d32
Merge branch 'master' into update-migration-from-master 2022-12-15 00:11:32 +01:00
vincent d warmerdam
6d2ca1ab3a
Update custom solutions links (#11903)
* Update custom solutions

Will now point to https://explosion.ai/custom-solutions

* added-sidebar

* added-analysis-to-readme

* update-landing-page
2022-12-07 16:02:09 +01:00
Marcus Blättermann
b6310d4ce9
Rename all MDX file to .mdx 2022-11-29 02:33:27 +01:00
Paul O'Leary McCann
6b78135b9e
Add warning to install widget for M1 GPUs (#11666)
* Add warning to install widget for M1 GPUs

* Use Thinc tracking issue instead

* Update website/src/widgets/quickstart-install.js

Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>

* Underline URL in warning

* Update website/src/widgets/quickstart-install.js

Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>

* Don't install cupy on m1 gpus

Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>
2022-10-27 15:08:24 +02:00
Adriane Boyd
6be6913ba5
Update cupy extras (#11279)
* Update cupy extras:

* Extend to v11
* Add `cupy-cuda11x` and `cupy-wheel`
* Update quickstart to use `cupy-wheel` for CUDA 10.2+

* Rename cuda-wheel to cuda-autodetect, remove repeated CUDA in menu
2022-09-13 09:04:53 +02:00
Paul O'Leary McCann
977dc33312
Add a way to get the URL to download a pipeline to the CLI (#11175)
* Add a dry run flag to download

* Remove --dry-run, add --url option to `spacy info` instead

* Make mypy happy

* Print only the URL, so it's easier to use in scripts

* Don't add the egg hash unless downloading an sdist

* Update spacy/cli/info.py

Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>

* Add two implementations of requirements

* Clean up requirements sample slightly

This should make mypy happy

* Update URL help string

* Remove requirements option

* Add url option to docs

* Add URL to spacy info model output, when available

* Add types-setuptools to testing reqs

* Add types-setuptools to requirements

* Add "compatible", expand docstring

* Update spacy/cli/info.py

Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>

* Run prettier on CLI docs

* Update docs

Add a sidebar about finding download URLs, with some examples of the new
command.

* Add download URLs to table on model page

* Apply suggestions from code review

Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>

* Updates from review

* download url -> download link

* Update docs

Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>
2022-09-02 11:58:21 +02:00
Adriane Boyd
04c6e5cb95
Improve floret vectors display in pipeline docs (#11343) 2022-08-22 11:28:13 +02:00
Paul O'Leary McCann
1c12812d1a
Replace link to old label (#11188) 2022-07-25 16:39:34 +09:00
Adriane Boyd
11f859c132
Docs for v3.4 (#11057)
* Add draft of v3.4 usage

* Add Croatian models

* Add Matcher min/max

* Update release notes

* Minor edits

* Add updates, tables

* Update pydantic/mypy versions

* Update version in README

* Fix sidebar
2022-07-11 15:36:31 +02:00
Adriane Boyd
3bc1fe0a78
Update cupy extras (#11055)
* Add cuda116 and cuda117 extras

* Revert "remove `cuda116` extra from install widget (#11012)"

This reverts commit e7b498fb1f.

* Add cuda117 to quickstart
2022-06-30 11:24:37 +02:00
Peter Baumgartner
3335bb9d0c
remove cuda116 extra from install widget (#11012) 2022-06-23 08:15:28 +02:00
Adriane Boyd
a82ec56aae
Remove cuda extras for non-linux arm in install widget (#10796)
* Remove cuda extras for non-linux arm platforms in install widget
* Extend cuda versions install widget
* Update GPU install docs to clarify cuda
2022-05-20 09:57:41 +02:00
Adriane Boyd
497a708c71
Docs for v3.3 (#10628)
* Temporarily disable CI tests

* Start v3.3 website updates

* Add trainable lemmatizer to pipeline design

* Fix Vectors.most_similar

* Add floret vector info to pipeline design

* Add Lower and Upper Sorbian

* Add span to sidebar

* Work on release notes

* Copy from release notes

* Update pipeline design graphic

* Upgrading note about Doc.from_docs

* Add tables and details

* Update website/docs/models/index.md

Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>

* Fix da lemma acc

* Add minimal intro, various updates

* Round lemma acc

* Add section on floret / word lists

* Add new pipelines table, minor edits

* Fix displacy spans example title

* Clarify adding non-trainable lemmatizer

* Update adding-languages URLs

* Revert "Temporarily disable CI tests"

This reverts commit 1dee505920.

* Spell out words/sec

Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
2022-04-28 14:09:35 +02:00
Adriane Boyd
03762b4b92
Add spancat, trainable_lemmatizer to quickstart (#10524)
* Add `SPACY` and `IS_SPACE` as default `tok2vec` features
2022-04-01 09:01:04 +02:00
Adriane Boyd
e8357923ec
Various install docs updates (#10487)
* Simplify quickstart source install to use only editable pip install

* Update pytorch install instructions to more recent versions
2022-03-15 11:12:50 +01:00
Ines Montani
f2c2b97e56 Add spaCy Tailored Pipelines 2022-02-08 11:46:42 +01:00
Ines Montani
34ed93ef68
Support version tags in universe and add note about reporting (#10093)
* Support version tags in universe and add note about reporting

* Apply suggestions from code review

Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>

Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
2022-01-20 23:21:26 +01:00
Adriane Boyd
7d528e607c
Update quickstart install steps (#10092)
* For conda:
  * Use conda environment rather than venv
  * Install `spacy-transformers` as a conda package
* For pip:
  * Add quotes if extras are included
2022-01-20 10:53:40 +01:00
Ines Montani
a437ca6737 Update website to use new Algolia search API 2022-01-05 13:21:06 +01:00
Ines Montani
ba0fa7a64e
Support Google Sheets embeds in docs (#9861) 2021-12-15 09:27:08 +01:00