https://github.com/eclipse-sprotty/sprotty-website
Sprotty project website
https://github.com/eclipse-sprotty/sprotty-website
diagrams documentation sprotty website
Last synced: 5 months ago
JSON representation
Sprotty project website
- Host: GitHub
- URL: https://github.com/eclipse-sprotty/sprotty-website
- Owner: eclipse-sprotty
- License: epl-2.0
- Created: 2023-01-27T17:57:59.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-12-01T07:58:59.000Z (7 months ago)
- Last Synced: 2025-12-03T18:59:28.236Z (7 months ago)
- Topics: diagrams, documentation, sprotty, website
- Language: TypeScript
- Homepage: https://sprotty.org/
- Size: 11.6 MB
- Stars: 3
- Watchers: 5
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Eclipse Sprotty Project Website
[](https://github.com/eclipse-sprotty/sprotty-website/actions/workflows/deploy.yml)
[](https://gitpod.io/#https://github.com/eclipse-sprotty/sprotty-website)
This repository contains the source for the website of Eclipse Sprotty:
[https://sprotty.org](https://sprotty.org)
The main repository is found at [eclipse-sprotty/sprotty](https://github.com/eclipse-sprotty/sprotty).
## Repository Structure
- `hugo` – [Hugo](https://gohugo.io) content including static web pages and documentation in Markdown format
- `tailwind` – [Tailwind CSS](https://tailwindcss.com) configuration
- `showcase` – Live examples of Sprotty diagrams
## How to generate reference documentation
The reference documentation is generated using [TypeDoc](https://typedoc.org/) and requires manual steps in order to be integrated into the website structure.
1. Install typedoc and typedoc-plugin-markdown globally
```bash
npm i -g typedoc typedoc-plugin-markdown
```
2. Navigate to the package you want to create the reference for (ex: sprotty-protocol)
3. Generate documentation
```bash
npx typedoc src/index --skipErrorChecking --plugin typedoc-plugin-markdown --flattenOutputFiles
```
4. This should have generated a new docs folder with many markdown files in the root of the package
5. Copy the content of this folder into the correct place in sprotty-website (hugo/content/docs/ref/[library]).
6. In sprotty-website run the `process-docs` script. This is needed to adapt the generated links to what hugo is expecting
```bash
npm run process-docs
```