Skip to content
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

Create initial documentation website #144

Open
shaido987 opened this issue Jan 2, 2024 · 5 comments
Open

Create initial documentation website #144

shaido987 opened this issue Jan 2, 2024 · 5 comments
Labels
documentation Improvements or additions to documentation

Comments

@shaido987
Copy link
Collaborator

shaido987 commented Jan 2, 2024

There is no website with documentation available for gCastle so we want to add one.

For similar open-source projects, using "read the docs" to host and sphinx to generate the documentation itself seems to be the most common approach. Something similar to https://github.com/median-research-group/LibMTL or https://github.com/LongxingTan/Time-series-prediction/tree/master would be a great start.

@shaido987 shaido987 added the documentation Improvements or additions to documentation label Jan 2, 2024
@AlxndrMlk
Copy link
Contributor

@shaido987 - so you'd like to use Sphinx to auto-generate the docs?

@shaido987
Copy link
Collaborator Author

@AlxndrMlk Yes. Not sure if it's doable with out current docstrings or not as none of us have any experience with sphinx. But should be worth a try to get a working foundation for a documentation website.

@AlxndrMlk
Copy link
Contributor

AlxndrMlk commented Jan 4, 2024

@shaido987 - I'd require making the docstrings sphinx-compatible. Seems doable.

Happy to help adapting them within my capacity.

@shaido987
Copy link
Collaborator Author

@AlxndrMlk Do you know if there are any larger changes required? The overall format should be ok using either the numpydoc or the sphinxcontrib.napoleon extension (not sure about the trade-offs here but both should provide support for numpy style docstrings). I just noticed that the dodiscover package has something similar (and uses numpydoc): https://github.com/py-why/dodiscover/blob/main/doc/conf.py

@AlxndrMlk
Copy link
Contributor

It's pretty straightforward, @shaido987

You can check this tutorial for more details, it's really good: https://sphinx-rtd-tutorial.readthedocs.io/en/latest/index.html

PS: I didn't know about numpydoc - thanks for sharing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants