-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Add Sphinx Documentation #2113
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 Sphinx Documentation #2113
Conversation
- Initial draft of Sphinx documentation using rst
- update docstrings
- add deploy_doc.yml for automated deployment through GitHub Actions
|
The action claims success: What is your source set to? yfinance might be the opposite. This is my menu from yfinance-cache: |
|
My setting is the same and set to Deploy from a branch. I think I found the problem: Apparently the publishing branch has to be created by GitHub Actions, not manually created. Tested and confirmed as below:
Can I submit another PR to this branch and try to publish to a non-existing branch via GitHub Actions? |
|
Understood. I've reverted |
|
Thank you. Are you able to re-run https://github.com/ranaroussi/yfinance/actions/runs/11690726258? If not, I can submit a trivial PR targetting |
|
I triggered your action again But this didn't then trigger a new deployment |
|
Only @ranaroussi can access settings page. Is an option just dumping the html files into |
|
Yeah that works. I worked out an example in my fork: Upon push to So based on that, I expect the PR #2115 to do the same for I think this is a pretty good alternative since we can push changes to |
|
For continuity, I'll leave the comment here. Following the PR #2115 to This is odd as a new commit to the renamed publishing branch (i.e. @ranaroussi are you able to give us a peek at the settings/pages configuration like below?
|
|
While we wait for Ran, for a plan B are you OK with README linking to your fork? Maybe you just need to click |
|
Done. Thank you all for the great work 🙏 |
|
@ranaroussi Can you post a screenshot of the current settings in |



Changes
yfinance/doccontains/sourcewith the configuration and the template rsts.Current Workflow
dev-documentedbranch will triggeryfinance/.github/workflows/deploy_doc.ymldeploy_doc.ymlconfigured to build the documentation fromyfinance/docand publish the htmls todocumentationbranch'sdocsdirectory.Relates to #1330