Skip to content

doc: spelling and formatting #6681

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

Merged
merged 1 commit into from
Sep 25, 2017
Merged

doc: spelling and formatting #6681

merged 1 commit into from
Sep 25, 2017

Conversation

SheetJSDev
Copy link
Contributor

What kind of change does this PR introduce? (check at least one)

  • Bugfix

Does this PR introduce a breaking change? (check one)

  • No

The PR fulfills these requirements:

Other information:

When mentioning certain library names like vueify and vue-loader, the documentation uses backticks in some places but not in others. Of the cases I noticed, most were in links. GitHub permits backticks within links and they are rendered with the fixed-width fontQ

The main README.md omits them for vue-loader. To show the difference, I took the specific line from the table and included both forms:

Project Status Description
vue-loader vue-loader-status Single File Component (*.vue file) loader for webpack
vue-loader vue-loader-status Single File Component (*.vue file) loader for webpack

This PR does not include the aforementioned change, but if that is desirable I can add it in.

@@ -2,9 +2,9 @@

This benchmark renders a table of 1000 rows with 10 columns (10k components), with around 30k normal elements on the page. Note this is not something likely to be seen in a typical app. This benchmark is mostly for stress/regression testing and comparing between `renderToString` and `renderToStream`.

To view the results follow the run section. Note that the overall completion time for the results are variable, this is due to other system related variants at run time (available memory, processing ect). In ideal circumstances both should finish within similar results.
Copy link
Member

Choose a reason for hiding this comment

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

Was it you @blake-newman 😛 ?

Copy link
Member

Choose a reason for hiding this comment

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

@posva maybe

@@ -2,7 +2,7 @@

> This package is auto-generated. For pull requests please see [src/platforms/web/entry-compiler.js](https://github.com/vuejs/vue/tree/dev/src/platforms/web/entry-compiler.js).

This package can be used to pre-compile Vue 2.0 templates into render functions to avoid runtime-compilation overhead and CSP restrictions. You will only need it if you are writing build tools with very specific needs. In most cases you should be using [vue-loader](https://github.com/vuejs/vue-loader) or [vueify](https://github.com/vuejs/vueify) instead, both of which use this package internally.
This package can be used to pre-compile Vue 2.0 templates into render functions to avoid runtime-compilation overhead and CSP restrictions. You will only need it if you are writing build tools with very specific needs. In most cases you should be using [`vue-loader`](https://github.com/vuejs/vue-loader) or [`vueify`](https://github.com/vuejs/vueify) instead, both of which use this package internally.
Copy link
Member

Choose a reason for hiding this comment

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

I don't think those should be wrapped with backticks, they're just package names after all

Copy link
Contributor Author

Choose a reason for hiding this comment

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

To reference the current HEAD version https://raw.githubusercontent.com/vuejs/vue/master/packages/vue-template-compiler/README.md the string vue-loader shows up 4 times. In 3 of those cases the name is wrapped in backticks:

In most cases you should be using [vue-loader](https://github.com/vuejs/vue-loader) ...
... e.g `vue-loader` and `vueify`.**
This is used by default in `vue-loader@>=12` ...
This is used in SFC build tools like `vue-loader` and `vueify`.

Copy link
Member

Choose a reason for hiding this comment

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

oh snap

@yyx990803 yyx990803 merged commit 924bfec into vuejs:dev Sep 25, 2017
ztlevi pushed a commit to ztlevi/vue that referenced this pull request Feb 14, 2018
f2009 pushed a commit to f2009/vue that referenced this pull request Jan 25, 2019
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.

4 participants