Skip to content

doc: link and style parameter types - #4741

Closed
claudiorodriguez wants to merge 2 commits into
nodejs:masterfrom
claudiorodriguez:doc-generate-type-links-2
Closed

doc: link and style parameter types#4741
claudiorodriguez wants to merge 2 commits into
nodejs:masterfrom
claudiorodriguez:doc-generate-type-links-2

Conversation

@claudiorodriguez

Copy link
Copy Markdown
Contributor

Changes the parsing of parameter types, links to MDN or
nodejs docs. See #4350

Replaces PR #4378

@claudiorodriguez

Copy link
Copy Markdown
ContributorAuthor

@jasnell Remade the PR fresh off master to make sure everything is clean, since this touches a bunch of docs the merging may produce some conflicts for other open PRs, but they should be minor

@r-52r-52 added the doc Issues and PRs related to the documentations. label Jan 18, 2016
@jasnell

Copy link
Copy Markdown
Member

LGTM
@nodejs/documentation

@jasnell

Copy link
Copy Markdown
Member

Thank you @fansworld-claudio!

@cjihrig

Copy link
Copy Markdown
Contributor

LGTM, but I'll defer to the docs team.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other places didn't have colons.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, it would be better if the type and description seperator is consistent in all the files.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@thefourtheye I agree, but unfortunately everything was already inconsistent. I think refactoring that belongs to another PR IMHO

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair enough.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, there are quite a few areas here where incremental improvements need to be made. We'll get there but breaking it up into smaller incremental changes is likely best

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jasnell Yup, I completely agree. That would be much easier to review as well :)

@thefourtheye

Copy link
Copy Markdown
Contributor

LGTM and Thanks a lot @fansworld-claudio :-)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This link does not appear to work.

@Fishrock123

Copy link
Copy Markdown
Contributor

I like this. In any case it's a step forward.

Comment threadtools/doc/type-parser.js Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Handle probably needs to be more specific, there are many types of handles, although they all inherit from AsyncWrap afaik.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Fishrock123 I'm a bit out of my depth there. I'm fixing the link, but no idea where to link to exactly other than that.

@chrisdickinson

Copy link
Copy Markdown
Contributor

This is excellent work! LGTM.

@thefourtheye

Copy link
Copy Markdown
Contributor

I think it would be better if the tools part and the doc part are in different commits.

@claudiorodriguez

Copy link
Copy Markdown
ContributorAuthor

Corrected a couple of things noted, thanks everyone. @thefourtheye you mean two commits in a single PR, or two separate PRs? I could do any of the two, if the current contents of the PR are okay

@thefourtheye

Copy link
Copy Markdown
Contributor

@fansworld-claudio Given the fact that it has been reviewed by quite a few collaborators and owners, I would say splitting into two commits in this PR itself would be better.

@claudiorodriguez

Copy link
Copy Markdown
ContributorAuthor

@thefourtheye is something like this alright?

@thefourtheye

Copy link
Copy Markdown
Contributor

@fansworld-claudio Yup! :-)

@chrisdickinsonchrisdickinson mentioned this pull request Jan 20, 2016
15 tasks
@silverwind

Copy link
Copy Markdown
Contributor

The buffer part of this was landed recently in 6ad1f7b. @fansworld-claudio could you update this PR?

@claudiorodriguez

Copy link
Copy Markdown
ContributorAuthor

@silverwind That should do it, I think

@jasnell

Copy link
Copy Markdown
Member

LGTM

@silverwind

Copy link
Copy Markdown
Contributor

LGTM. @fansworld-claudio can you rebase once more?

@claudiorodriguez

Copy link
Copy Markdown
ContributorAuthor

@silverwind Done

Changes the parsing of parameter types in the doc html gen
Links to either MDN or nodejs docs depending on type
See nodejs#4350
Fixes several type references in the docs so that the
doc html gen tool that parses them can put the correct
links in.
Changes css styling for the generated type links.
silverwind pushed a commit that referenced this pull request Feb 9, 2016
Changes the parsing of parameter types in the doc html gen
Links to either MDN or nodejs docs depending on type
See #4350
PR-URL: #4741
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Chris Dickinson <chris@neversaw.us>
Reviewed-By: Roman Reiss <me@silverwind.io>
silverwind pushed a commit that referenced this pull request Feb 9, 2016
Fixes several type references in the docs so that the
doc html gen tool that parses them can put the correct
links in.
Changes css styling for the generated type links.
PR-URL: #4741
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Chris Dickinson <chris@neversaw.us>
Reviewed-By: Roman Reiss <me@silverwind.io>
@silverwind

Copy link
Copy Markdown
Contributor

Thanks! Landed in e517efa and 47e926a.

@Trott

Trott commented Feb 9, 2016

Copy link
Copy Markdown
Member

This change does not lint cleanly with the current linting rules. I'll submit a PR to fix.

Trott added a commit to Trott/io.js that referenced this pull request Feb 9, 2016
@silverwind

Copy link
Copy Markdown
Contributor

Whoops, thanks for picking up the slack @Trott.

silverwind pushed a commit that referenced this pull request Feb 9, 2016
Refs: #4741 (comment)
PR-URL: #5161
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
rvagg pushed a commit that referenced this pull request Feb 10, 2016
Changes the parsing of parameter types in the doc html gen
Links to either MDN or nodejs docs depending on type
See #4350
PR-URL: #4741
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Chris Dickinson <chris@neversaw.us>
Reviewed-By: Roman Reiss <me@silverwind.io>
rvagg pushed a commit that referenced this pull request Feb 10, 2016
Fixes several type references in the docs so that the
doc html gen tool that parses them can put the correct
links in.
Changes css styling for the generated type links.
PR-URL: #4741
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Chris Dickinson <chris@neversaw.us>
Reviewed-By: Roman Reiss <me@silverwind.io>
rvagg pushed a commit that referenced this pull request Feb 10, 2016
Refs: #4741 (comment)
PR-URL: #5161
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
@MylesBorins

Copy link
Copy Markdown
Contributor

This change is not landing nicely into LTS. We need to get a backlog of commits updated for this to work

MylesBorins pushed a commit that referenced this pull request Feb 22, 2016
Changes the parsing of parameter types in the doc html gen
Links to either MDN or nodejs docs depending on type
See #4350
PR-URL: #4741
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Chris Dickinson <chris@neversaw.us>
Reviewed-By: Roman Reiss <me@silverwind.io>
MylesBorins pushed a commit that referenced this pull request Feb 22, 2016
Fixes several type references in the docs so that the
doc html gen tool that parses them can put the correct
links in.
Changes css styling for the generated type links.
PR-URL: #4741
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Chris Dickinson <chris@neversaw.us>
Reviewed-By: Roman Reiss <me@silverwind.io>
MylesBorins pushed a commit that referenced this pull request Feb 22, 2016
Refs: #4741 (comment)
PR-URL: #5161
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
MylesBorins pushed a commit that referenced this pull request Feb 22, 2016
Changes the parsing of parameter types in the doc html gen
Links to either MDN or nodejs docs depending on type
See #4350
PR-URL: #4741
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Chris Dickinson <chris@neversaw.us>
Reviewed-By: Roman Reiss <me@silverwind.io>
MylesBorins pushed a commit that referenced this pull request Feb 22, 2016
Fixes several type references in the docs so that the
doc html gen tool that parses them can put the correct
links in.
Changes css styling for the generated type links.
PR-URL: #4741
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Chris Dickinson <chris@neversaw.us>
Reviewed-By: Roman Reiss <me@silverwind.io>
MylesBorins pushed a commit that referenced this pull request Feb 22, 2016
Refs: #4741 (comment)
PR-URL: #5161
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
MylesBorins pushed a commit that referenced this pull request Mar 2, 2016
Changes the parsing of parameter types in the doc html gen
Links to either MDN or nodejs docs depending on type
See #4350
PR-URL: #4741
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Chris Dickinson <chris@neversaw.us>
Reviewed-By: Roman Reiss <me@silverwind.io>
MylesBorins pushed a commit that referenced this pull request Mar 2, 2016
Fixes several type references in the docs so that the
doc html gen tool that parses them can put the correct
links in.
Changes css styling for the generated type links.
PR-URL: #4741
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Chris Dickinson <chris@neversaw.us>
Reviewed-By: Roman Reiss <me@silverwind.io>
MylesBorins pushed a commit that referenced this pull request Mar 2, 2016
Refs: #4741 (comment)
PR-URL: #5161
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docIssues and PRs related to the documentations.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants

@claudiorodriguez@jasnell@cjihrig@thefourtheye@Fishrock123@chrisdickinson@silverwind@Trott@MylesBorins@r-52