mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
73ee4c9250
According to [MDN's article on the `alert` role](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Alert_Role), `alert` should only be used for "information that requires the user's immediate attention", such as the user's login session being about to expire or the connection to the server being lost so that local changes will not be saved. They also add that: > Warning: Because of its intrusive nature, the alert role must be used sparingly and only in situations where the user's immediate attention is required. While availability may be an important (or at least relevant) piece of information, I do not think it classifies as urgent or requiring immediate attention. |
||
---|---|---|
.. | ||
docs | ||
src/css | ||
static | ||
.gitignore | ||
babel.config.js | ||
docusaurus.config.js | ||
package.json | ||
README.md | ||
sidebars.js |
Website
This website is built using Docusaurus 2, a modern static website generator.
Installation
yarn install
Local Development
yarn 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.
Build
yarn 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.