Skip to content

fix some typos and enhance 'advanced' knowledge files#2909

Merged
11 commits merged intomasterfrom
unknown repository
Jan 29, 2020
Merged

fix some typos and enhance 'advanced' knowledge files#2909
11 commits merged intomasterfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Jan 24, 2020

  1. Fixtures for some typos.
  2. Add 'console' for some console codes to enhance the formation.
  3. Add some backquotes onto some methods.

1. Fixtures for some typos.
2. Add 'bash' for some console codes to enhance the formation.
3. Add some backquotes onto some methods.
4. For Buffer, we have a outdated (obsolated) method before v8.0.0, we
refer it for historical reason with some warning messages.
@ghost ghost requested a review from XhmikosR January 24, 2020 07:53
Add missing comments
@ghost ghost changed the title fixtures some typos and enhance the knowledge files fixtures some typos and enhance 'advanced' knowledge files Jan 24, 2020
@ghost ghost self-requested a review January 24, 2020 08:35
@XhmikosR XhmikosR changed the title fixtures some typos and enhance 'advanced' knowledge files fix some typos and enhance 'advanced' knowledge files Jan 24, 2020
Comment thread locale/en/knowledge/advanced/buffers/how-to-use-buffers.md Outdated
Comment thread locale/en/knowledge/advanced/streams/how-to-use-fs-create-read-stream.md Outdated
Comment thread locale/en/knowledge/advanced/streams/how-to-use-stream-pipe.md Outdated
Comment thread locale/en/knowledge/advanced/buffers/how-to-use-buffers.md Outdated
Comment thread locale/en/knowledge/advanced/buffers/how-to-use-buffers.md Outdated
Comment thread locale/en/knowledge/advanced/buffers/how-to-use-buffers.md
Comment thread locale/en/knowledge/advanced/buffers/how-to-use-buffers.md Outdated
Comment thread locale/en/knowledge/advanced/streams/how-to-use-stream-pipe.md Outdated
Comment thread locale/en/knowledge/advanced/streams/how-to-use-fs-create-read-stream.md Outdated
Comment thread locale/en/knowledge/advanced/streams/how-to-use-stream-pipe.md
Comment thread locale/en/knowledge/advanced/streams/what-are-streams.md Outdated
Comment thread locale/en/knowledge/advanced/streams/what-are-streams.md Outdated
@Trott
Copy link
Copy Markdown
Member

Trott commented Jan 26, 2020

If this PR stalls at some point, it would be good to get a PR that just gets rid of the new Buffer() examples. That would likely be approved and merged very quickly.

@ghost
Copy link
Copy Markdown
Author

ghost commented Jan 26, 2020

If this PR stalls at some point, it would be good to get a PR that just gets rid of the new Buffer() examples. That would likely be approved and merged very quickly.

Agreed, so my change updated 'new Buffer' to 'Buffer.alloc'.

@ghost ghost requested review from Trott, XhmikosR and nschonni January 28, 2020 10:12
Copy link
Copy Markdown
Member

@nschonni nschonni left a comment

Choose a reason for hiding this comment

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

Might be good to squash and fix the commit message when landing

@ghost ghost merged commit 6407120 into nodejs:master Jan 29, 2020
@ghost ghost deleted the FixTypos branch January 29, 2020 03:29
@XhmikosR
Copy link
Copy Markdown
Contributor

This shouldn't have landed with console as a syntax highlighting language. It's unknown to prism.js thus it leads to wrong highlighting.

I'll make a PR to remove it.

@XhmikosR
Copy link
Copy Markdown
Contributor

We really need PR previews. Also this was sort of showing in the CI build, but it didn't mark it as failed: https://github.com/nodejs/nodejs.org/runs/414306542#step:8:31

We might need to fork metalsmith-prism since the package is archived.

This pull request was closed.
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

Successfully merging this pull request may close these issues.

3 participants