Stream: wasmtime

Topic: "component-model" Docs


view this post on Zulip Robin Brown (Jan 10 2023 at 21:07):

Can someone host a copy of the wasmtime docs that were compiled with the "component-model" feature turned on? It's really annoying to have to download and generate docs to even browse the component-model apis.

view this post on Zulip Jamey Sharp (Jan 10 2023 at 21:37):

I don't know exactly how this works but we should be able to configure docs.rs to build with extra features, or perhaps all features: https://docs.rs/about/metadata

view this post on Zulip Robin Brown (Jan 10 2023 at 21:47):

That would work too, I wasn't sure if it not including "component-model" feature was intentional for now. If that's the case, we'd need a second docs site.

view this post on Zulip Robin Brown (Jan 10 2023 at 21:50):

@Alex Crichton are you ok with adding more features to the docs.rs?
That would be a pretty simple change, and if you know what we'd want in the package.metadata.docs.rs features field I can toss a quick PR together.

view this post on Zulip Jamey Sharp (Jan 10 2023 at 21:54):

I suppose it would be nice to have docs for whatever's currently on main anyway, given how quickly the component model stuff changes. So I could imagine dumping the docs that we already build in CI to somewhere like GitHub Pages would be a useful alternative, if you wanted to put a PR together for that. Either way I'll defer to Alex.

view this post on Zulip Alex Crichton (Jan 11 2023 at 14:48):

Yes turning on these docs is fine, no reason to not do so

view this post on Zulip Robin Brown (Jan 11 2023 at 16:50):

I've submitted and Alex has merged a PR to add "component-model" flag to docs gen and I've filed an issue for adding a docs site in sync with the main branch here.
https://github.com/bytecodealliance/wasmtime/issues/5559

Feature A docs site that is up-to-date with the main branch. Benefit Things move quickly, and people may benefit from being able to see the current API before its released. Implementation Use GitHu...

view this post on Zulip Ralph (Jan 12 2023 at 15:40):

I would LOOOOOOOV to have component docs published.....


Last updated: Dec 23 2024 at 13:07 UTC