yew/website
Matt 90b4e55ebc
Docusaurus Overhaul (#2275)
* change suffixes from md to mdx
fix broken links for English locale
tree shake and update docusaurus
add docusaurus ideal image plugin
use svg and themed image
delete unused static asset

* move localized landing page

* change GitLocalize project page

* nit pick

* remove ignore to have the block checked
2021-12-20 12:10:45 +02:00
..
2021-12-20 12:10:45 +02:00
2021-12-20 12:10:45 +02:00
2021-12-01 22:03:51 +05:00
2021-12-20 12:10:45 +02:00
2021-05-26 22:32:07 +02:00
2021-05-26 22:32:07 +02:00
2021-12-20 12:10:45 +02:00
2021-12-20 12:10:45 +02:00
2021-12-20 12:10:45 +02:00
2021-05-26 22:32:07 +02:00

Website

This website is built using Docusaurus 2, a modern static website generator.

Installation

npm install

Local Development

npm start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server. Note this only builds for English locale unlike a production build.

Documentation is written in mdx, markdown empowered with jsx. JetBrains and VSCode both provide MDX plugins.

Production Build

npm run build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

GIT_USER=<Your GitHub username> USE_SSH=true yarn deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.