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

node js api document should link to LTS release from each page #10726

Closed
toddself opened this issue Jan 10, 2017 · 6 comments
Closed

node js api document should link to LTS release from each page #10726

toddself opened this issue Jan 10, 2017 · 6 comments
Labels
doc Issues and PRs related to the documentations. feature request Issues that request new features to be added to Node.js.

Comments

@toddself
Copy link
Contributor

The API documentation for the LTS stuff is a little hidden on the site -- you have to either know the LTS doc URL or always enter it from the front door, whereas nodejs.org/api is quite easy to remember.

It would be really nice if the documentation for the "live" release had a link on that page to the relevant documentation for the LTS version (if it exists).

The postgres documentation is actually an excellent example of this:
image

Each page has a link to various other supported (and even non-supported!) versions which makes it very easy to hop to the correct version that you're using.

@mscdex mscdex added doc Issues and PRs related to the documentations. feature request Issues that request new features to be added to Node.js. labels Jan 10, 2017
@MylesBorins MylesBorins added the good first issue Issues that are suitable for first-time contributors. label Jan 10, 2017
@MylesBorins
Copy link
Contributor

This is a great idea! I've added the good first contribution tag

/cc @nodejs/documentation

@benjamingr
Copy link
Member

Sounds good to me +1

Let's give new contributors a chance to write this and do this ourselves if no one steps up.

@sam-github
Copy link
Contributor

/cc @nodejs/website

@chris--young
Copy link

I'll take a stab at this if that's alright. It'd probably be best to build it into doc/template.html right?

@Trott
Copy link
Member

Trott commented Jan 31, 2017

This has an open PR for it, so I'm going to remove the "good first contribution" label to keep it from showing up for people who are looking for something that is available. Feel free to re-add the label if you think that's misguided of me.

@Trott Trott removed the good first issue Issues that are suitable for first-time contributors. label Jan 31, 2017
@Trott
Copy link
Member

Trott commented Jul 16, 2017

PR for this is at #10958.

chris--young pushed a commit to chris--young/node that referenced this issue Jul 16, 2017
Each page of the api documentation should have links to other versions
of the same page. This will make it easier to switch between the current
"live" release at nodejs.org and LTS versions.

Fixes: nodejs#10726
chris--young pushed a commit to chris--young/node that referenced this issue Jul 16, 2017
v0.12.x is no longer LTS, and v7.x should not be labeled as
"unsupported"

Fixes: nodejs#10726
chris--young pushed a commit to chris--young/node that referenced this issue Jul 16, 2017
chris--young pushed a commit to chris--young/node that referenced this issue Jul 16, 2017
chris--young pushed a commit to chris--young/node that referenced this issue Jul 16, 2017
chris--young pushed a commit to chris--young/node that referenced this issue Jul 17, 2017
chris--young pushed a commit to chris--young/node that referenced this issue Jul 23, 2017
chris--young pushed a commit to chris--young/node that referenced this issue Aug 26, 2017
chris--young pushed a commit to chris--young/node that referenced this issue Aug 26, 2017
chris--young pushed a commit to chris--young/node that referenced this issue Aug 28, 2017
ghost pushed a commit to ayojs/ayo that referenced this issue Aug 30, 2017
Each page of the API documentation should have links to other versions
of the same page. This will make it easier to switch between the current
"live" release at nodejs.org and LTS versions.

PR-URL: nodejs/node#10958
Fixes: nodejs/node#10726
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
ghost pushed a commit to ayojs/ayo that referenced this issue Aug 30, 2017
Each page of the API documentation should have links to other versions
of the same page. This will make it easier to switch between the current
"live" release at nodejs.org and LTS versions.

PR-URL: nodejs/node#10958
Fixes: nodejs/node#10726
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
cjihrig pushed a commit to cjihrig/node that referenced this issue Aug 31, 2017
Each page of the API documentation should have links to other versions
of the same page. This will make it easier to switch between the current
"live" release at nodejs.org and LTS versions.

PR-URL: nodejs#10958
Fixes: nodejs#10726
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
MylesBorins pushed a commit that referenced this issue Sep 10, 2017
Each page of the API documentation should have links to other versions
of the same page. This will make it easier to switch between the current
"live" release at nodejs.org and LTS versions.

PR-URL: #10958
Fixes: #10726
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
MylesBorins pushed a commit that referenced this issue Sep 12, 2017
Each page of the API documentation should have links to other versions
of the same page. This will make it easier to switch between the current
"live" release at nodejs.org and LTS versions.

PR-URL: #10958
Fixes: #10726
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
chris--young pushed a commit to chris--young/node that referenced this issue Sep 29, 2017
Each page of the API documentation should have links to other versions
of the same page. This will make it easier to switch between the current
"live" release at nodejs.org and LTS versions.

PR-URL: nodejs#10958
Fixes: nodejs#10726
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
MylesBorins pushed a commit that referenced this issue Sep 29, 2017
Each page of the API documentation should have links to other versions
of the same page. This will make it easier to switch between the current
"live" release at nodejs.org and LTS versions.

Backport-PR-URL: #15670
PR-URL: #10958
Fixes: #10726
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Issues and PRs related to the documentations. feature request Issues that request new features to be added to Node.js.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants