mirror of
https://github.com/actix/actix-website
synced 2024-11-23 16:31:08 +01:00
2aacdf2f70
* chore: add VS Code extension recommendations * Update image URLs in README and documentation files * chore: disable no-inline-html rule * chore: use standard md/mdx syntax, and use .jsx for react components * chore: fix email links in Code of Conduct The commit message suggests fixing the email links in the Code of Conduct file to use the correct `mailto:` syntax. * chore: update actix-web error helper links Update the links to the `actix-web` error helper traits in the `databases.md` and `errors.md` files to use the correct URLs. * chore: restore unused actix-web error helper links * Update src/pages/community/coc.md Co-authored-by: Rob Ede <robjtede@icloud.com> * Update docs/getting-started.md Co-authored-by: Rob Ede <robjtede@icloud.com> --------- Co-authored-by: Rob Ede <robjtede@icloud.com>
40 lines
1.1 KiB
Markdown
40 lines
1.1 KiB
Markdown
# Actix Website
|
|
|
|
## Getting Started
|
|
|
|
Building the website depends on [Docusaurus][docusaurus], you must have `npm` or `yarn` installed. You can run the site locally with:
|
|
|
|
```sh
|
|
git clone https://github.com/actix/actix-website.git
|
|
cd actix-website
|
|
npm install # or yarn install
|
|
npm start # or yarn start
|
|
```
|
|
|
|
Then visit <http://localhost:3000>.
|
|
|
|
## Updating diagrams
|
|
|
|
Diagrams are located under [/static/img/diagrams/](https://github.com/actix/actix-website/tree/master/static/img/diagrams) and built with [Mermaid CLI][mermaid_cli].
|
|
|
|
For instance to edit `connection_overview` diagram:
|
|
|
|
```sh
|
|
cd static/img/diagrams
|
|
vi connection_overview.mmd
|
|
# Compile diagrams:
|
|
mmdc -i connection_overview.mmd -o connection_overview.svg
|
|
```
|
|
|
|
## License
|
|
|
|
This site is licensed under either of
|
|
|
|
- Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or <http://www.apache.org/licenses/LICENSE-2.0>)
|
|
- MIT license ([LICENSE-MIT](LICENSE-MIT) or <http://opensource.org/licenses/MIT>)
|
|
|
|
<!-- LINKS -->
|
|
|
|
[docusaurus]: https://docusaurus.io/
|
|
[mermaid_cli]: https://github.com/mermaidjs/mermaid.cli
|