-
Notifications
You must be signed in to change notification settings - Fork 6
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
[fix] dead links in documentation #131
Comments
Thank you for making the ticket! There are three sets of bugs: python documentation, tutorials for c++ and python, and contribution guide link in c++ documentation. I will address each of them in separate comments to delink the discussion of the three. I do not have a ton of experience with software development, please feel free to challenge my assumptions. Additionally, if the bugs are resolved for Core, then similar patches can be applied for other repos. |
Python documentation: I believe there is currently no robust documentation mechanism in place that represents the mapping between c++ functions and their python coutnerparts, which in most cases have different names. Will it suffice to leverage "@relates" command to showcase the mapping in the doxygen generated documentation, or is there a need to create an independent and more involved documentation for python counterparts? |
Tutorials: Q1. Is it of interest to create tutorials for the core functionalities, or is it reasonable to route to the OTSK notebooks? |
Hey Dhruv, for this one, I'm not sure if the Doxygen "@relates" command would do the trick. The Python versions of functions are generated on-the-fly at compile-time. From what I understand (although I'm not too familiar with Doxygen, so could be wrong) the name of the related function is needed when writing the doc-string as in the example here. A known solution, although a pain in the butt, is this one. Pybind has a built-in mechanism for creating Python documentation which uses Sphinx in the backend. Another example here. The downside is that it requires putting the Python doc-string directly into the declaration for the Python bindings, which just means someone has to go on a heroic copy-paste mission in the OSTk repos. Not exceptionally difficult, we just haven't quite gotten to it yet. |
For this one: A2:
^there's totally some overlap, especially for Core, but this is how we tend to think about it. A more complicated example of a tutorial here might be something like: Create a table of data using the Table class, create an output file using the FileSystem tools, then dumping the table data as CSV. |
I believe Vishwas has implemented, something similar, so I will be happy to use that template for core and other repos. |
Thanks for the suggestions! I am trying to fix the contribution link and it seems to be tied to the difference between how GitHub and doxygen processes relative links. |
Describe the bug
From a list compiled by Dhruv Jain
The text was updated successfully, but these errors were encountered: