-
-
Notifications
You must be signed in to change notification settings - Fork 64
Cheatsheets for the most common methods #165
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
Comments
How would the cheat sheet be different from our current API reference + the step-by-step guide? |
I imagine the cheat sheet to be a short overview of the most important functions of the (python) API in a printable A4 format. This could be printed and help users to find the function they are looking for and how the parameters are supposed to look. Good would be to automatically generate this from the python bindings / doxygen. |
I understand and agree with the duplication argument and we need to find a solution for that, if we decide to implement something. Issues at the moment:
I also imagine that the cheatsheet to be a very short overview of the most basic commands, in one (A4 when printable) page, but also for other languages. We once even though of putting that on a tea cup. Regarding the target audience:
Does even a printable cheatsheet make sense in our case? Would any user need to look at the same command for more than a couple of times? |
Mmh. I think what we are really missing is an online reference of the Python API integrated into the website. Maybe let's do this first before we conclude on whether we need anything more? |
Currently, the Python API is also not searchable on the website, e.g. |
The "expected" solution for that would be to add a readthedocs rendering of the Python API, but this would probably overshadow the website and confuse users. One alternative would be that we generate markdown from Sphinx documentation and render it on our website. Other than that, such a cheatsheet for all bindings (I include Fortran, Matlab, Julia here) would be an easy workaround, which would also allow us to keep track of what is inconsistent across bindings. |
Btw, also the C++ API documentation is not findable through the search 🙈 |
We could integrate precice/doxygen into the website. @chlorenz Is is possible to filter this agolia index somehow? The Gem doesn't seem to provide this functionality. |
Regarding cheatsheets, we could also offload that to the community. This platform seems to have quite some nice cheatsheets, which are indexed by DuckDuckGo: https://cheatography.com/ |
#211 is also a partial solution |
Discussion:
I also believe that #211 is the proper solution, and we can close this issue. |
An old idea / request is to provide cheatsheets for the preCICE API. We could even make one that includes all bindings. We should then add this on the website (and find a way to remember to update it), from which we could also automatically generate a PDF file.
@fsimonis raised this again in the context of the preCICE course, but I think it would be best to implement this in the open.
The text was updated successfully, but these errors were encountered: