-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
docs: fix gramatical and typographical errors #2098
Conversation
Theme name validation passed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you for your patient work.
I have made some suggested changes, please check if they are correct
source/docs/contributing.md
Outdated
|
||
## Reporting Issues | ||
|
||
When you encounter some problems when using Hexo, you can find the solutions in [Troubleshooting](troubleshooting.html) or ask me on [GitHub](https://github.com/hexojs/hexo/issues) or [Google Group](https://groups.google.com/group/hexo). If you can't find the answer, please report it on GitHub. | ||
|
||
1. Represent the problem in [debug mode](commands.html#Debug_mode). | ||
2. Follow the steps from issue template to provide debug message and version when submitting a new issue at GitHub. | ||
2. Follow the steps from issue the template to provide a debug message and version when submitting a new issue at GitHub. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2. Follow the steps from issue the template to provide a debug message and version when submitting a new issue at GitHub. | |
2. Follow the steps from the issue template to provide a debug message and version when submitting a new issue at GitHub. |
@@ -122,11 +122,11 @@ Setting | Description | Default | |||
{% note info updated_option %} | |||
`updated_option` controls the `updated` value when not provided in the front-matter: | |||
|
|||
- `mtime`: Use file modification date as `updated`. It is the default behavior of Hexo since 3.0.0 | |||
- `mtime`: Use file modification date as `updated`. It has been the default behaviour of Hexo since 3.0.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
behavior
not bad
source/docs/syntax-highlight.md
Outdated
@@ -22,7 +22,7 @@ code snippet | |||
``` | |||
```` | |||
|
|||
The third syntax is a Markdown's fenced code block syntax and Hexo extends it to support more features. Check out [Tag Plugin Docs](tag-plugins#Code-Block) to find out options available. | |||
The third syntax is Markdown's fenced code block syntax and Hexo extends it to support more features. Check out [Tag Plugin Docs](tag-plugins#Code-Block) to find out the options available. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The third syntax is Markdown's fenced code block syntax and Hexo extends it to support more features. Check out [Tag Plugin Docs](tag-plugins#Code-Block) to find out the options available. | |
The third syntax is Markdown's fenced code block syntax, and Hexo extends it to support more features. Check out [Tag Plugin Docs](tag-plugins#Code-Block) to find out the options available. |
source/docs/tag-plugins.md
Outdated
@@ -3,7 +3,7 @@ title: Tag Plugins | |||
--- | |||
Tag plugins are different from post tags. They are ported from Octopress and provide a useful way for you to quickly add specific content to your posts. | |||
|
|||
Although you can write your posts in any formats, but the tag plugins will always be available and syntax remains the same. | |||
Although you can write your posts in any format, but the tag plugins will always be available and syntax remains the same. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Although you can write your posts in any format, but the tag plugins will always be available and syntax remains the same. | |
Although you can write your posts in any format, the tag plugins will always be available and syntax remains the same. |
source/docs/troubleshooting.md
Outdated
@@ -98,7 +98,7 @@ Make sure you have [set up git](https://help.github.com/articles/set-up-git) on | |||
|
|||
### Error: ENOENT: no such file or directory | |||
|
|||
If you get an error like `Error: ENOENT: no such file or directory` it's probably due to to mixing uppercase and lowercase letters in your tags, categories, or filenames. Git cannot automatically merge this change so it breaks the automatic branching. | |||
If you get an error like `Error: ENOENT: no such file or directory` it's probably due to mixing uppercase and lowercase letters in your tags, categories, or filenames. Git cannot automatically merge this change so it breaks the automatic branching. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you get an error like `Error: ENOENT: no such file or directory` it's probably due to mixing uppercase and lowercase letters in your tags, categories, or filenames. Git cannot automatically merge this change so it breaks the automatic branching. | |
If you get an error like `Error: ENOENT: no such file or directory` it's probably due to mixing uppercase and lowercase letters in your tags, categories, or filenames. Git cannot automatically merge this change, so it breaks the automatic branching. |
source/docs/troubleshooting.md
Outdated
@@ -178,7 +178,7 @@ When you can't get any command except `help`, `init` and `version` to work and y | |||
|
|||
## Escape Contents | |||
|
|||
Hexo uses [Nunjucks] to render posts ([Swig] was used in older version, which share a similar syntax). Content wrapped with `{{ }}` or `{% %}` will get parsed and may cause problems. You can skip the parsing by wrapping it with the [`raw`](/docs/tag-plugins#Raw) tag plugin, single backtick ```` `{{ }}` ```` or triple backtick. | |||
Hexo uses [Nunjucks] to render posts ([Swig] was used in older version, which shares a similar syntax). Content wrapped with `{{ }}` or `{% %}` will get parsed and may cause problems. You can skip the parsing by wrapping it with the [`raw`](/docs/tag-plugins#Raw) tag plugin, single backtick ```` `{{ }}` ```` or triple backtick. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hexo uses [Nunjucks] to render posts ([Swig] was used in older version, which shares a similar syntax). Content wrapped with `{{ }}` or `{% %}` will get parsed and may cause problems. You can skip the parsing by wrapping it with the [`raw`](/docs/tag-plugins#Raw) tag plugin, single backtick ```` `{{ }}` ```` or triple backtick. | |
Hexo uses [Nunjucks] to render posts ([Swig] was used in the older version, which shares a similar syntax). Content wrapped with `{{ }}` or `{% %}` will get parsed and may cause problems. You can skip the parsing by wrapping it with the [`raw`](/docs/tag-plugins#Raw) tag plugin, a single backtick ```` `{{ }}` ```` or a triple backtick. |
source/docs/writing.md
Outdated
|
||
For example, Hexo has `hexo-renderer-marked` and `hexo-renderer-ejs` installed by default, so you can write your posts in `markdown` or in `ejs`. If you have `hexo-renderer-pug` installed, then you can even write your post in pug template language. | ||
|
||
You can rename your posts and change to file extension from `.md` to `.ejs`, then Hexo will use `hexo-renderer-ejs` to render that file, so do the other formats. | ||
You can rename your posts and change to file extension from `.md` to `.ejs`, then Hexo will use `hexo-renderer-ejs` to render that file, and so do the other formats. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can rename your posts and change to file extension from `.md` to `.ejs`, then Hexo will use `hexo-renderer-ejs` to render that file, and so do the other formats. | |
You can rename your posts and change the file extension from `.md` to `.ejs`, then Hexo will use `hexo-renderer-ejs` to render that file, and so do the other formats. |
hi @uiolee , the changes are done according to your suggestions please check and merge it |
Check List
Please read and check followings before submitting a PR.
name
is unique.link
URL is correct.preview
URL is correct.preview
URL web site is rendered correctly.source/themes/screenshots
.name
.800 * 500
.png
.name
is unique.link
URL is correct.en
Englishru
Russianzh-cn
simplified Chinesezh-tw
traditional ChineseMinor improvements in files under docs/ directory