5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 03:01:45 +08:00
wails/website
dependabot[bot] 839e42edde
Bump the npm_and_yarn group across 2 directories with 2 updates (#3319)
Bumps the npm_and_yarn group with 1 update in the /v2/internal/frontend/runtime directory: [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite).
Bumps the npm_and_yarn group with 1 update in the /website directory: [follow-redirects](https://github.com/follow-redirects/follow-redirects).


Updates `vite` from 3.1.8 to 3.2.8
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v3.2.8/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v3.2.8/packages/vite)

Updates `follow-redirects` from 1.15.4 to 1.15.6
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.4...v1.15.6)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: indirect
  dependency-group: npm_and_yarn-security-group
- dependency-name: follow-redirects
  dependency-type: indirect
  dependency-group: npm_and_yarn-security-group
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-17 11:37:14 +11:00
..
.vscode feat(website): repair document content (#1775) 2022-08-22 19:59:28 +10:00
blog Add github issue link 2023-01-18 17:41:33 +11:00
docs docs: added mchat to showcases (#3294) 2024-03-05 19:56:54 +11:00
i18n v2.8.0 2024-02-08 21:28:28 +11:00
src Add disable zoom on mac (#3289) 2024-03-02 15:47:59 +11:00
static chore: update sponsors.svg (#3318) 2024-03-16 19:36:21 +11:00
versioned_docs Add disable zoom on mac (#3289) 2024-03-02 15:47:59 +11:00
versioned_sidebars v2.8.0 2024-02-08 21:28:28 +11:00
.gitattributes [Github] Exclude /website from language stats (#2927) 2023-09-21 05:48:19 +10:00
.gitignore fix: fix website build and add taskfile (#2577) 2023-04-12 21:36:01 +10:00
.nvmrc chore: optimize website building process (#2601) 2023-04-17 20:54:06 +10:00
.prettierignore chore: add Prettier as format tool (#2689) 2023-05-30 07:40:54 +10:00
babel.config.js v2.0.0 2022-09-22 11:00:57 +10:00
crowdin.yml feat(website): update the Crowdin branch (#2688) 2023-05-27 12:51:43 +10:00
docusaurus.config.js fix: json5 code highlighting (#3278) 2024-02-29 08:46:33 +11:00
package.json feat(website): update the Crowdin branch (#2688) 2023-05-27 12:51:43 +10:00
pnpm-lock.yaml Bump the npm_and_yarn group across 2 directories with 2 updates (#3319) 2024-03-17 11:37:14 +11:00
prettier.config.js chore: add Prettier as format tool (#2689) 2023-05-30 07:40:54 +10:00
README.md v2.0.0 2022-09-22 11:00:57 +10:00
sidebars.js fix(website): fix link (#1785) 2022-08-24 06:22:48 +10:00
Taskfile.yml chore: add Prettier as format tool (#2689) 2023-05-30 07:40:54 +10:00
versions.json v2.8.0 2024-02-08 21:28:28 +11:00

Website

This website is built using Docusaurus 2, a modern static website generator.

Installation

$ npm

Local Development

$ npm run start

Other languages:

npm run start -- --locale <language>

language - The language code configured in the i18n field in the docusaurus.config.js file.

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Translate

After the English source file is updated, run the following command to submit the source file to Crowdin:

npm run crowdin push -- -b <branch>

branch - Branch name in crowdin project

Run the following command to pull the translated files in crowdin to the local:

npm run crowdin pull -- -b <branch> -l <languageCode>

languageCode - Note that this refers to the language code in the crowdin project.

The recommended practice is to update the English source file locally, then translate the file in crowdin, and finally pull the translated file to the local.

Build

$ yarn build

This command generates static content into the build directory and can be served using any static contents hosting service.