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

Automatic core module docstring description #435

Closed
bhausleitner opened this issue Oct 14, 2021 · 0 comments · Fixed by #457
Closed

Automatic core module docstring description #435

bhausleitner opened this issue Oct 14, 2021 · 0 comments · Fixed by #457

Comments

@bhausleitner
Copy link
Collaborator

Prerequisites

Summary

The current version of the Sphinx documentation framework also allows for documentation via the use docstrings. We want the core modules of the neural prophet library to be documented on our documentation page (neuralprophet.com) respectively. Thereby, changes of the core modules should be automatically reflected in the documentation of the core modules.
Currently, Sphinx does only allow for "downward referencing", i.e. references to files that are located in a folder with higher hierachy is not possible:
https://stackoverflow.com/questions/10199233/can-sphinx-link-to-documents-that-are-not-located-in-directories-below-the-root
sphinx-doc/sphinx#701

Example Project

https://pytorch.org/docs/stable/futures.html
http://docs.pyinvoke.org/en/stable/api/__init__.html

What is the current behavior?

Core modules are not documented at neuralprophet.com

What is the expected correct behavior?

Changes of the core modules should be automatically reflected in the documentation of the core modules.

Relevant logs and/or screenshots

Possible fixes

Check how other repositories are dealing with this issue.

@ourownstory ourownstory transferred this issue from ourownstory/neural_prophet Oct 14, 2021
@ourownstory ourownstory transferred this issue from another repository Oct 15, 2021
@ourownstory ourownstory linked a pull request Oct 25, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant