Skip to content

winglang/docsite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8223f24 · Apr 9, 2025
Aug 5, 2024
Feb 3, 2025
Jul 8, 2024
Aug 26, 2022
Apr 9, 2025
Feb 3, 2025
Jun 27, 2023
Nov 5, 2024
Sep 11, 2024
Oct 8, 2024
Aug 30, 2022
Jul 30, 2024
Nov 20, 2024
Nov 27, 2024
Sep 30, 2024
Nov 27, 2024
Nov 20, 2024
Jan 15, 2025
Nov 21, 2022
Jan 7, 2025
Sep 30, 2024
Jun 14, 2023
Apr 28, 2024
Jan 16, 2023
Nov 22, 2022
Jan 29, 2024
Jul 8, 2024
Aug 26, 2022
Dec 3, 2023
Jun 26, 2023
Nov 27, 2024
Sep 11, 2024
Dec 3, 2023
Aug 27, 2024
Aug 27, 2024
May 2, 2024
Nov 20, 2024
Nov 15, 2022
Dec 3, 2023
Dec 3, 2023
Dec 3, 2023
Dec 3, 2023
Jul 30, 2024
Aug 26, 2022
Aug 26, 2022
Nov 20, 2024
Jan 15, 2025
Nov 21, 2022
Sep 30, 2024

Repository files navigation

Wing Documentation Website

This repository hosts the documentation website for Wing (docs.winglang.io).

Development Environment

It is built using Docusaurus 2, a modern and awesome static website generator.

Installation

$ npm install

Local Development

Copy the .env.example to .env:

$ cp .env.example .env

And fill it with the proper values. Then:

$ npm run 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

$ npm run build

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

Index new content

We have an automated crawler (by Algolia) every day at 15:00 UTC that indexes the documentation website.

Every merge to the main branch triggers a new crawler indexing.

If for some reason there is a need to trigger the crawler manually, follow these steps:

  1. update the local .env file with the proper values (see in 1Password "Algolia Crawler").
  2. run the following command:
npm run reindex

License

This repository is licensed under the MIT License.