-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
dependenciesPull requests that update a dependency filePull requests that update a dependency file
Description
Currently, the scalar API reference JS library is included statically (in src/static/standalone-scale-api-reference.js). This file comes from https://cdn.jsdelivr.net/npm/@scalar/api-reference@latest/dist/browser/standalone.js and has to manually be updated (see #422 for example).
Ideally, we'd want to include this as a NPM dependency such that we can get automatic updates, but this is currently not possible because the docs are just static HTML/JS files without its own build system.
We could maybe:
- Add it to the front-end dependencies and somehow have vite store the file somewhere?
- Make
build.rsdownload the newest version?
Metadata
Metadata
Assignees
Labels
dependenciesPull requests that update a dependency filePull requests that update a dependency file