cadl/packages/website
Timothee Guerin a336c93709
Update prettier config to format trailing commas to `all` (Default) (#4457)
fix #2159 
Long standing backlog issue that was split from an upgrade of prettier
as it created too much diff. Finally doing it
2024-09-16 20:20:57 +00:00
..
.scripts Update prettier config to format trailing commas to `all` (Default) (#4457) 2024-09-16 20:20:57 +00:00
definitions Website public beta (#2418) 2024-01-19 09:42:25 -08:00
mermaid-pre-renderer Update prettier config to format trailing commas to `all` (Default) (#4457) 2024-09-16 20:20:57 +00:00
src Update prettier config to format trailing commas to `all` (Default) (#4457) 2024-09-16 20:20:57 +00:00
static Fix 1ds banner (#4451) 2024-09-16 16:20:27 +00:00
themes Fix up some syntax highlighting with prismjs and monarch (#3587) 2024-06-14 20:16:04 +00:00
versioned_docs/version-latest Update prettier config to format trailing commas to `all` (Default) (#4457) 2024-09-16 20:20:57 +00:00
versioned_sidebars TypeSpec 0.59 - August 2024 Release branch (#4120) 2024-08-08 04:54:25 +00:00
.gitignore Migrate website to use docusaurus (#1266) 2022-11-14 12:44:38 -08:00
README.md 1/3 TypeSpec: Find/Replace Content 2023-02-16 13:07:22 -08:00
babel.config.js Migrate website to use docusaurus (#1266) 2022-11-14 12:44:38 -08:00
docusaurus.config.ts Update prettier config to format trailing commas to `all` (Default) (#4457) 2024-09-16 20:20:57 +00:00
package.json Bump dependencies - Sep 2024 (#4424) 2024-09-13 15:50:22 +00:00
playground-versions.json TypeSpec 0.59 - September Release branch (#4386) 2024-09-10 22:45:59 +00:00
sidebars.ts Update prettier config to format trailing commas to `all` (Default) (#4457) 2024-09-16 20:20:57 +00:00
tsconfig.config.json Vitest improvements: vitest-ui, watch mode for deps, debug config (#2791) 2024-01-22 09:56:55 -08:00
tsconfig.json Website public beta (#2418) 2024-01-19 09:42:25 -08:00
versions.json Versioned docs (Latest and Next) (#1469) 2023-01-03 19:02:22 +00:00

README.md

TypeSpec Website

This repo contains the code for static web generator for TypeSpec project using docusaurus.io

Support libraries that enable the demo features are in the packages/ directory. The demo code itself is in the website/ directory.

Instructions for editing or contributing to this website

Running the website

To get started with the website, run the following npm commands

To build for production:

> npm run build

To run the site on the local server

> npm start

(Be careful, after starting the server, do not close it while building on the existing code. The server will help you while debugging as it shows any changes that is causing trouble in the code.)

Adding an item on the navigation bar.

Items on the navigation bar are stored and maintained from the navbar.json file. To add or remove an item from the navigation bar, change the json from navbar.json. Check out where to find navbar.json file.

./sidebars.js