-
Notifications
You must be signed in to change notification settings - Fork 347
修改部分难以理解的语法、冗长的语法、警告信息 #269
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
Minor changes
Update index.zh_CN.md
Hi @jimcat8 Thanks for your recent update. I had a look at it, just need to share that at the moment the Contributions home page is being considered for a revamp and the page will very likely change so at this time it is best not to put any work into it. We are actually looking to extend/enhance the technical parts of the Contribution Guide (Git, GitHub, workflow) part of the docs website to share expanded information with everyone. It's great that you did a translation of it, having translations for the contribution section is very helpful. I previously posted a lot of information about localised versions of documents which obviously does not relate to your recent document because it is outside of the main website. It actually might be a good idea to have the Contribution Guide content (given that translations are a good thing) as part of the main website so it can use the multiple language support of MkDocs. |
Hi @jimcat8 Found a couple of problems with the home page, basically they come down to the point that MkDocs requires Markdown directives to be in English. Menu titleThis is because the meta tag is this
But should be this
Or, if translation of the top level menu text is desired, this:
But the meta tag AdmonitionThe admonition in the page currently looks like this: but should be this, the admonition element shown: The tag for admonitions must not be translated, and the So not this:
but this :
Cross ref. the original:
UPDATE that a custom title is possible, so this:
Should work. UPDATE 2 It works fine, I just tested it on a test MkDocs installation: as the admonition is of type |
Thanks, @jimcat8 for the time and effort you have put into this. I wanted to let you know that I'm going to merge the Installation Guide and the Index changes. We are going to be making some changes to the Contribution section that will involve the README.md files. Because of the language selector at the top of the documentation website, you should not need to link to the two version within each README, but rather than changing that, based on the changes that are coming, I'm going to delete those two files in the PR for now. Keep watch on the site for upcoming changes and I will welcome your edits to those pages when the time comes. Thanks again for your work! Keep it up! We need more translators! |
Deleting from the PR, because of changes coming to the Contribute section.
Author checklist (to be completed by original Author)
Rocky Documentation checklist (to be completed by Rocky team)