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

Add ability to view Deno runtime docs for prior versions #215

Closed
jsejcksn opened this issue Nov 30, 2021 · 5 comments
Closed

Add ability to view Deno runtime docs for prior versions #215

jsejcksn opened this issue Nov 30, 2021 · 5 comments
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed question Further information is requested

Comments

@jsejcksn
Copy link

At https://doc.deno.land/builtin/stable, I can see the runtime type docs for Deno's builtin APIs. This is great if I'm working with the latest stable version of Deno. However, if I need to reference a prior release version's docs, I don't see a way to do that in a web browser.

Is there a URL pattern I can use to generate docs for a prior release (e.g. v1.6.3)? If so, I wasn't able to discover it, and I think it would help to include this information in the docs website (or even better: include a <select> element with all of the release versions like on deno.land/std). If not, please consider this a feature request.

@sno2
Copy link

sno2 commented Dec 1, 2021

You can go to https://doc.deno.land/builtin/VERSION to get version data for specific deno versions.

@kitsonk kitsonk added question Further information is requested documentation Improvements or additions to documentation help wanted Extra attention is needed labels Dec 1, 2021
@jsejcksn
Copy link
Author

jsejcksn commented Dec 1, 2021

You can go to https://doc.deno.land/builtin/VERSION to get version data for specific deno versions.

Thanks @sno2. How did you discover that URL pattern, and how would I form a companion URL for the unstable APIs?

@bartlomieju
Copy link
Member

@jsejcksn doc website is currently undergoing major rework by @kitsonk and we should provide a version selector there. Expect announcement in the coming weeks.

@jsejcksn
Copy link
Author

Now that the rework is live, it seems like the patterns that @sno2 listed are no longer valid. I can see

Version
latest

on the left sidebar, but there doesn't appear to be any interaction available. Is there a new pattern I can use with the updated site?

@kitsonk
Copy link
Contributor

kitsonk commented Dec 18, 2021

As mentioned in denoland/docland#47, the ability is there, just not documented. (E.g. https://doc.deno.land/deno/stable@v1.16.0) it just isn't documented and the other issue will track that.

@kitsonk kitsonk closed this as completed Dec 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants