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

Improve user documentation (feedback from students) #697

Open
Carltoffel opened this issue Mar 2, 2023 · 13 comments
Open

Improve user documentation (feedback from students) #697

Carltoffel opened this issue Mar 2, 2023 · 13 comments
Labels
documentation Improvements or additions to documentation

Comments

@Carltoffel
Copy link
Member

I'm currently giving a Fortran lecture with twelve students, and today I introduced modules, fpm dependencies and finally the stdlib.

I didn't tell them much about the stdlib, instead I asked them to try it out by themselves. Most of them directly found the documentation, but they seemed to be a bit underwhelmed by it.

I'm not up-to-date with the progress of stdlib... sorry if I mention duplicate/obvious things.
Problems that occurred:

  • missing or incomplete documentation
  • not clear enough what public functions a module has (one student tried to use xoshiro256ss). I think it would be best to have a toggle for private functions
  • navigating the docu: when searching in the documentation, it's easier to find the source file, which might be .fypp instead of the actual documentation which is a bit scary for students

After the initial frustration and confusion, they found many useful modules, e.g.:

  • error_stop and check
  • string type
  • ascii
  • bitsets
  • io (npy)
  • arange
  • optval
  • sorting
  • stats

I think overall the routines convinced them, but the documentation definitely needs some improvement. That shouldn't be surprising.

@milancurcic
Copy link
Member

Indeed. I don't think we have an actual user doc with explanations and examples, only the spec docs. Definitely much needed.

@milancurcic milancurcic added the documentation Improvements or additions to documentation label Mar 2, 2023
@milancurcic milancurcic changed the title Feedback from my students Improve user documentation (feedback from students) Mar 2, 2023
@jvdp1
Copy link
Member

jvdp1 commented Mar 2, 2023

Thank you @Carltoffel for the feedback! Really nice that you tried stdlib!

Re: the documentation, @awvwgk set up a project a while ago for generating something like fpm, with tutorials, how-tos's, ....
Here is the generated site, with an example for stats and I/O with npy files.

Would such a website have helped your students? Or would you expect something different?

@milancurcic
Copy link
Member

Re: the documentation, @awvwgk set up a project a while ago for generating something like fpm, with tutorials, how-tos's, ....
Here is the generated site, with an example for stats and I/O with npy files.

This is excellent, I either haven't seen it or have completely forgotten about it. I think that would be a great solution to build on.

@jvdp1
Copy link
Member

jvdp1 commented Mar 3, 2023

Yes, maybe we should put first our effort in this documentation to attrack users for stdlib.

@awvwgk
Copy link
Member

awvwgk commented Mar 3, 2023

I started this after we made the fpm docs (#599), but as so often, other things came up and I never got far enough that we could transfer it to fortran-lang.

@jalvesz
Copy link
Contributor

jalvesz commented Jan 2, 2024

Hi, I think this idea is excellent and a must! Good documentation is paramount for making the library really attractive. @awvwgk I just saw your draft for the site, it looks brilliant, is it based on Sphinx?

@awvwgk
Copy link
Member

awvwgk commented Jan 2, 2024

The website is based on sphinx, happy to give it a push to revive it again if there is interest from people to help with finishing the draft.

@jalvesz
Copy link
Contributor

jalvesz commented Jan 2, 2024

Yes, looking forward to give a hand with this project! Let me know how could I help.

@jvdp1
Copy link
Member

jvdp1 commented Jan 14, 2024

@awvwgk what should be done to revive this? I guess that we should first update the section related to fpm, and probably add new contents in the section how to.

@jalvesz
Copy link
Contributor

jalvesz commented Jan 14, 2024

An "easy" win I think would be to move the specs under this project. At least to try out and see how it renders

@jvdp1
Copy link
Member

jvdp1 commented Jan 14, 2024

An "easy" win I think would be to move the specs under this project. At least to try out and see how it renders

The specs as they are currently are not really useful for the users, at least as an introduction.

See this comment for some aims.

The curreny website contains 2 examples (npy and stats) to illustrate how to use stdlib. I think additional examples similar to those should be added.
Specs as they are now can be found in the Reference page (but I agree that it could be easier to find them).

See also here from more details on how to build the different sections (and their aims)

@jalvesz
Copy link
Contributor

jalvesz commented Jan 14, 2024

Yes, that's why I mentioned that, when I say "move" the specs I also mean to use the occasion and reshape them under the umbrella of this project. And probably make them more appealing and easier to use/discover (?)

@jvdp1
Copy link
Member

jvdp1 commented Jan 14, 2024 via email

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

5 participants