-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
docs: about the translation of deployment.md in the github pages section #3133
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
Conversation
This is my first time to participate in document translation, and it is not good, please advise, thank you.
docs/zh/guide/deployment.md
Outdated
|
||
If you are deploying to `https://<USERNAME>.github.io/<REPO>/`, (i.e. your repository is at `https://github.com/<USERNAME>/<REPO>`), set `baseUrl` to `"/<REPO>/"`. For example, if your repo name is "my-project", your `vue.config.js` should look like this: | ||
如果你的部署路径为 `https://<USERNAME>.github.io/<REPO>/`,(即:你的GitHub仓库地址为 `https://github.com/<USERNAME>/<REPO>`), 此时,你需要将 `baseUrl` 设置为 `"/<REPO>/"`。例如:你的Github仓库名字为"my-project",那么,你的`vue.config.js`应该为下面所示的代码: |
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.
有点别扭
"那么,你的 vue.config.js
应该是这样:"(or "应该写成这样")
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.
好的 谢谢 我修改并重新提交一下
docs/zh/guide/deployment.md
Outdated
@@ -53,7 +53,7 @@ serve -s dist | |||
} | |||
``` | |||
|
|||
2. Inside your project, create `deploy.sh` with the following content (with highlighted lines uncommented appropriately) and run it to deploy: | |||
2. 在你的项目中,新建 `deploy.sh` 并填充下述内容 (突出显示的行未适当注释),然后运行它来进行部署: |
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.
"突出显示的行未适当注释",没读懂
"根据情况取消高亮行的注释" 这样?
docs/zh/guide/deployment.md
Outdated
You can also run the above script in your CI setup to enable automatic deployment on each push. | ||
::: | ||
|
||
你还可以选择在你的CI设置中运行上述脚本,便于在每次推送时启用自动部署。 |
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.
::: tip
:::
This indicates a tip section in vuepress
, which should not not be omited.
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.
ok, thank you
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.
Nice work!
Remember to keep the paragraph formatting consistence.
FYI chinese-copywriting-guidelines
docs: modify some translations
This is my first time to participate in document translation, and it is not good, please advise, thank you.