mirror of
https://github.com/actix/actix-website
synced 2025-01-22 08:05:56 +01:00
Hichem Fantar
a04f1bb6ff
chore: update docusaurus.config.js and package.json (#377)
Update docusaurus.config.js to add the "docusaurus-lunr-search" plugin and update package.json to use the latest versions of "@docusaurus/core" and "@docusaurus/preset-classic".
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
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
Description
Languages
HTML
47.6%
JavaScript
36.3%
SCSS
10.2%
CSS
5.9%