1
0
mirror of https://github.com/actix/actix-website synced 2024-11-23 16:31:08 +01:00
The Actix website. https://actix.rs
Go to file
Hichem Fantar ad4aeac34f
TypeScript compatibility (#379)
* Update file extensions and exports for TypeScript compatibility

* docs: fix typo in getting-started.md

* chore: add no-trailing-punctuation rule to VS Code settings

* feat: add @docusaurus/theme-mermaid for mermaid diagram support

* Update import paths for MermaidDiagram component

* remove redudndant check, use effect only runs after the component is mounted

* Update docusaurus.config.ts to fix syntax error

* bring back check because it's not possible to properly cancel a dynamic import

* feat: optimize dynamic import in CodeBlock component

* chore: update VS Code extensions.json with eslint recommendation

* Update docusaurus.config.ts to add GitHub repository link in header
2024-05-28 19:23:34 +00:00
.github Bump actions/setup-node from 4.0.1 to 4.0.2 (#363) 2024-02-12 08:47:16 +00:00
.vscode TypeScript compatibility (#379) 2024-05-28 19:23:34 +00:00
docs TypeScript compatibility (#379) 2024-05-28 19:23:34 +00:00
examples TypeScript compatibility (#379) 2024-05-28 19:23:34 +00:00
src TypeScript compatibility (#379) 2024-05-28 19:23:34 +00:00
static Make the logo a little bigger to fix regression (#326) 2023-05-09 16:36:48 +01:00
.gitignore TypeScript compatibility (#379) 2024-05-28 19:23:34 +00:00
.nvmrc chore: update .nvmrc to 18 2023-11-06 13:42:26 +00:00
.prettierrc.yaml prettier js/html 2023-11-01 15:32:44 +00:00
babel.config.js prettier js/html 2023-11-01 15:32:44 +00:00
CNAME Update website 2018-05-22 23:15:08 +02:00
docusaurus.config.ts TypeScript compatibility (#379) 2024-05-28 19:23:34 +00:00
LICENSE-APACHE update examples to v4 (#258) 2022-02-26 03:56:24 +00:00
LICENSE-MIT update examples to v4 (#258) 2022-02-26 03:56:24 +00:00
package-lock.json TypeScript compatibility (#379) 2024-05-28 19:23:34 +00:00
package.json TypeScript compatibility (#379) 2024-05-28 19:23:34 +00:00
README.md Add extension recommendations, fix linting warnings, improve accessibility (#378) 2024-05-27 20:55:31 +00:00
sidebars.ts TypeScript compatibility (#379) 2024-05-28 19:23:34 +00:00
tsconfig.json TypeScript compatibility (#379) 2024-05-28 19:23:34 +00:00
vars.ts TypeScript compatibility (#379) 2024-05-28 19:23:34 +00:00

Actix Website

Getting Started

Building the website depends on Docusaurus, you must have npm or yarn installed. You can run the site locally with:

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/ and built with Mermaid CLI.

For instance to edit connection_overview diagram:

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