Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish schemas to static website for shorter URL #22

Open
JJGadgets opened this issue Feb 21, 2024 · 2 comments
Open

Publish schemas to static website for shorter URL #22

JJGadgets opened this issue Feb 21, 2024 · 2 comments

Comments

@JJGadgets
Copy link
Collaborator

Currently, in order to consume the schemas, the full raw.githubusercontent.com URL is needed.

For convenience sake, and because Neovim LSP inline errors print the URL (thus the longer URL will overflow the line), I propose that the schemas could be pulled from this repo and published via GitHub/Cloudflare Pages or similar solutions to any of the following examples:

  • fluxcd-community.github.io/schemas/
  • fluxcd.io/schemas/
  • schemas.fluxcd.io/
@JJGadgets
Copy link
Collaborator Author

I already have a fork of this repo published to https://flux.jank.ing using Cloudflare Pages, but it's currently tied to my Cloudflare account, not using a FluxCD-managed domain of choice (I own jank.ing and plan to continue owning it), and not deployed via CI (GHA).

@kevinvalk
Copy link

Wouldn't it be best if we add the raw.githubusercontent.com URL as $ref into a SchemaStore.org? Example PR is https://github.com/SchemaStore/schemastore/pull/2421/files

https://github.com/SchemaStore/schemastore/blob/master/CONTRIBUTING.md#how-to-move-a-json-schema-from-schemastore-to-somewhere-thats-self-hosted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants