-
Notifications
You must be signed in to change notification settings - Fork 146
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
Add CONTRIBUTING.md #44
Conversation
39c1944
to
3ba106b
Compare
CONTRIBUTING.md
Outdated
|
||
* reStructureText syntax | ||
|
||
Make sure `sphinx-build` run without warnings. |
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.
现在我已经在 Makefile 里强制把 warning 当成 error, 我觉得可以提及一下构建方式: make html
CONTRIBUTING.md
Outdated
|
||
* reStructureText syntax | ||
|
||
Make sure `sphinx-build` run without warnings. |
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.
另外, 关于一些规定, 比方说要在 index.rst
中加入新增文档的文件名, 我觉得也有必要提及一下
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.
没有在 index.rst 中加文件名的话,sphinx-build 会有 warning。。
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.
唔.. 我觉得之前没接触过的话, 以下错误可能不太直观, 比方说刚刚的 pr #43
pickling environment... done
checking consistency...
Warning, treated as error:
/home/travis/build/ustclug/mirrorhelp/source/docker-ce.rst:: WARNING: document isn't included in any toctree
make: *** [html] Error 1
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.
其实确实没必要放到 index.rst,万一以后 index.rst 里文件列表太长了,我们把它拆成了几个文件呢。。
只要文件能被索引进 toctree 里就可以了。
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.
我觉得可以加一段常见 sphinx 错误的解释。。。
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.
但现在只有加进 index.rst
才能被索引吧... 未来情况有变的话, 再更新就是了.
是否考虑使用中文撰写CONTRIBUTING.md? @zhsj |
b27fbc5
to
6550300
Compare
address #40
6550300
to
dc2385b
Compare
@zhsj 还需要做其他改动吗? 如果没有的话我就 merge 了. |
address #40