Commit Graph

24 Commits

Author SHA1 Message Date
Marcus Blättermann
47ce9ca870
Replace react-helmet with next/head 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
799013c4cf
Enable code blocks plugin 2022-12-20 23:21:08 +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
1925ae9683
Install necessary dependencies 2022-12-20 17:51:56 +01:00
Marcus Blättermann
66f7bd5d5c
Add plugin to fix problem with wrapped images
For more details see this issue: https://github.com/mdx-js/mdx/issues/1798
2022-12-20 17:51:56 +01:00
Marcus Blättermann
2d12e13f32
Add plugin to readd support for tables 2022-12-20 17:51:56 +01:00
Marcus Blättermann
343c0054f2
Simplify unnessary adding of id to sections
The slugified section ids are useless, because they can not be referenced anywhere anyway. The navigation only works if the section has the same id as the heading.
2022-12-20 17:51:56 +01:00
Marcus Blättermann
75bccfeec7
Add dependencies for plugin 2022-12-20 17:51:55 +01:00
Marcus Blättermann
b4fc5a5c4c
Merge branch 'prepare-next' into migrate-to-next-web-17 2022-12-20 17:50:56 +01:00
Marcus Blättermann
52f07e5316
Add SASS support 2022-12-20 17:46:32 +01:00
Marcus Blättermann
08f9d90aa3
Add basic implementation for MDXRemote 2022-12-20 17:46:31 +01:00
Marcus Blättermann
3690192dbd
Apply Prettier to all files 2022-12-20 17:46:31 +01:00
Marcus Blättermann
b473ff528a
Add prettier 2022-12-20 17:46:31 +01:00
Marcus Blättermann
f00c4f7e19
Install MDX packages
Following: 77b5f79a4d/packages/next-mdx/readme.md
2022-12-20 17:46:30 +01:00
Marcus Blättermann
0bd9be16fa
Run npx create-next-app@13 next-blog 2022-12-20 17:46:30 +01:00
Ines Montani
ff6a21cd18 Update GitHub link [ci skip] 2021-02-02 14:27:46 +11:00
Ines Montani
09cacbb7ee Fix website [ci skip] 2021-01-18 11:37:04 +11:00
Ines Montani
29c3ca7e34 Fix SVG integration [ci skip] 2021-01-14 13:33:41 +11:00
Ines Montani
33d9c64977 Fix outbound link and update package lock [ci skip] 2020-09-04 14:44:38 +02:00
Ines Montani
6f4e4aceb3 Add Plausible [ci skip] 2020-07-18 23:50:29 +02:00
Ines Montani
d842d5698e Tidy up website and add eslint config [ci skip] 2019-03-12 15:21:58 +01:00
Ines Montani
cb481aa1fe Merge branch 'spacy.io' into develop [ci skip] 2019-02-26 16:51:22 +01:00
Ines Montani
e597110d31
💫 Update website (#3285)
<!--- Provide a general summary of your changes in the title. -->

## Description

The new website is implemented using [Gatsby](https://www.gatsbyjs.org) with [Remark](https://github.com/remarkjs/remark) and [MDX](https://mdxjs.com/). This allows authoring content in **straightforward Markdown** without the usual limitations. Standard elements can be overwritten with powerful [React](http://reactjs.org/) components and wherever Markdown syntax isn't enough, JSX components can be used. Hopefully, this update will also make it much easier to contribute to the docs. Once this PR is merged, I'll implement auto-deployment via [Netlify](https://netlify.com) on a specific branch (to avoid building the website on every PR). There's a bunch of other cool stuff that the new setup will allow us to do – including writing front-end tests, service workers, offline support, implementing a search and so on.

This PR also includes various new docs pages and content.
Resolves #3270. Resolves #3222. Resolves #2947. Resolves #2837.


### Types of change
enhancement

## Checklist
<!--- Before you submit the PR, go over this checklist and make sure you can
tick off all the boxes. [] -> [x] -->
- [x] I have submitted the spaCy Contributor Agreement.
- [x] I ran the tests, and all new and existing tests passed.
- [x] My changes don't require a change to the documentation, or if they do, I've added all required information.
2019-02-17 19:31:19 +01:00