1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00
unleash.unleash/website
Thomas Heartman 73ee4c9250 docs(a11y): remove role 'alert' from availability notice.
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.
2022-01-27 09:59:38 +01:00
..
docs docs(a11y): remove role 'alert' from availability notice. 2022-01-27 09:59:38 +01:00
src/css chore(format): run prettier on the custom css stylesheet 2022-01-26 11:57:52 +01:00
static Merge branch 'master' into chore/update-workflows 2022-01-18 11:16:24 +01:00
.gitignore
babel.config.js
docusaurus.config.js docs: Tweak github links (labels, text) 2022-01-26 12:22:03 +01:00
package.json Merge pull request #1249 from Unleash/docusaurusVersionBump 2022-01-11 10:53:36 +01:00
README.md
sidebars.js docs: make top-level categories open by default, re-order references 2022-01-26 11:52:03 +01:00

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.