tinybench icon indicating copy to clipboard operation
tinybench copied to clipboard

Create TypeDoc site?

Open jcbhmr opened this issue 2 years ago • 1 comments

This is a feature request. You can close this as "Not planned" and I won't feel bad, don't worry ❤️

I think that the current setup with an examples/ folder and a bunch of docs that feel very shallow. They're also somewhat duplicated across the hover in-IDE intellisense (the .d.ts files) and the readme would be better consolidated into a single place: a documentation website. There's enough content that I think it's worth the effort (and the effort isn't much 😊)

// package.json
{
  "scripts": {
    "build:docs": "typedoc"
  },
  "typedoc": {
    "entryPoints": ["src/index.ts"]
    "out": "sitedocsdistplacefolder/name/here",
    "skipErrorChecking": true
  }
}

And then you can use GitHub Actions to deploy it to GitHub Pages in about 5 minutes of typey-types

jcbhmr avatar Jul 08 '23 05:07 jcbhmr

Workaround for now: https://typeapi.barelyhuman.dev/pkg/tinybench

barelyhuman avatar Jul 16 '24 09:07 barelyhuman