Repository navigation
Add Sphinx to generate Code Documentation - #112
Conversation
|
Dear project maintainers ( @VijayanB ). Could you please set up the GH-page. Here is a screenshot how: Please make sure to set the branch to Then the action I will add will deploy the generated code. |
fc58e32 to
cd69543
Compare
|
@VijayanB shuld the |
|
@VijayanB if you want to generate the doc for review here is the howto: https://github.com/PhilipMay/opensearch-py/blob/add_sphinx/DEVELOPER_GUIDE.md#build-the-documentation-with-sphinx |
|
For the first version of documentation I did just choose a subset of all classes. IMO this is enough for the first version of the documentation but can be extended later. |
|
Hello dear project maintainers. Could you please provide feedback on this PR? See comments and questions above. Thanks |
|
@PhilipMay Sorry for responding late. I will look at this PR. |
|
Hi dear maintainers, feedback on this would be very nice. |
Shivamdhar
left a comment
There was a problem hiding this comment.
Lint check is failing, please take a look at that.
|
@Shivamdhar He already fixed the linting in PR #115. Once that is merged @PhilipMay offered to rebase |
|
CI fails now because of: #119 |
|
PR #120 fixes the CI issue... |
|
Just adding a thought over here, can we do something with readthedocs instead with gh-pages? Does gh-pages have any advantages over readthedocs? I think gh-pages is faster than readthedocs, since everything is just static content. Another benefit is no one has to take the burden of maintaining the extra readthedocs account and configurations. But, evaluating both the environments could be beneficial. |
|
I think readthedocs adds advertising to your content - which I do not like. |
|
+1 to Philips comment about not liking ad's on docs. That being said I was just looking into why people would use readthedocs and it seems like they support internationalization which could be useful in the future. @vchrombie do you know if readthedocs uses the output of sphinx or are they closed source? |
Signed-off-by: Philip May <philip@may.la>
Signed-off-by: Philip May <philip@may.la>
Signed-off-by: Philip May <philip@may.la>
Readthedocs can serve the content that Sphinx generates. |
|
Changes are made - ready for merge from my point of view. |
dtaivpp
left a comment
There was a problem hiding this comment.
Looks good to me! I will request one of the other maintainers approves and we will merge.

Description
This is still work in progress - please do not merge!
This adds Sphinx to generate the code documentation.
The PR is also related to #10 .
Issues Resolved
Check List
conf.pywith black and other tools & checkersOpenSearch.svgBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.