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

Comments on documentation #36

Open
ml-evs opened this issue Feb 21, 2022 · 8 comments
Open

Comments on documentation #36

ml-evs opened this issue Feb 21, 2022 · 8 comments

Comments

@ml-evs
Copy link

ml-evs commented Feb 21, 2022

Final issue of the day!

  1. The auto-generated side of the docs on readthedocs are not that useful in places, e.g., https://pygetpapers.readthedocs.io/en/latest/crossref.html. It might just be that the docstring format needs to be tweaked.
  2. It also seems that the docs for the rxiv submodule are missing from readthedocs, presumably because of an issue with the sphinx build.
  3. The "hand-written" documentation (based on your README, I think?) looks great! You might consider turning some sections into subsections, e.g. Installation -> Way one/way 2 to make it easier to navigate.
  4. For the JOSS paper itself, the reviewers are asked to run through the tutorials, so it's probably worth checking that these work with the latest code (maybe even added as test cases, if possible). Again, it might be worth reorganizing this slightly to make it easier to navigate. For example, I can't find the "Tutorials" section on readthedocs, but I see that it is present in your README -- in fact I now see that they are two separate files (and also a second rst version of the README). You might consider unifying this into one file, or as is commonly done, importing the README in your docs build.
@ayush4921
Copy link
Collaborator

Hi @ml-evs , I fixed the readme being there in two versions (rst and md). The readthedocs now is automatically updated with every push. I have also added tutorials there.

@ml-evs
Copy link
Author

ml-evs commented Mar 30, 2022

Great job! The docs look much better -- really like the addition of "Developer docs" too (I don't remember seeing them before).

From the above, I think my point 3. still stands as the sidebar is a bit messy. Perhaps just demoting some of your section headings in the README/index would work? e.g.

# What is pygetpapers
## History
## Supported Formats
## Repository Structure
## ...
# Installation
# Usage
## What is CProject?
# Tutorials

It also looks like the API docs appear twice in the sidebar. I think all you have to do is move them to a subfolder and then adjust your links from index.rst.

@kjappelbaum
Copy link
Contributor

kjappelbaum commented Jun 5, 2022

Some minor comments I'd like to add on top of Matthew's:

  • I like to keep the README file minimal and then provide examples/more details in dedicated documentation sections. I feel that putting all the information into one file can be overwhelming (and a nice sphinx site can be easier to search)
  • you can consider making some of the examples easier to run without installation - e.g. providing a Colab or Binder link
  • I would consider putting the contribution guidelines into their own file

But, overall, the documentation looks good and useful!

@petermr
Copy link
Owner

petermr commented Jun 5, 2022 via email

@khinsen
Copy link

khinsen commented Jun 7, 2022

Something I noted in the README:

"A CProject is a directory structure that the AMI toolset uses to gather and process data. Each paper gets its folder. "

What is "the AMI toolset"? Are there other tools than pygetpapers that work with the same directory structure? If so, links to those tools would be more than welcome.

@petermr
Copy link
Owner

petermr commented Jun 7, 2022 via email

@ayush4921
Copy link
Collaborator

Done sir

@ayush4921
Copy link
Collaborator

ayush4921 commented Jun 8, 2022

Some minor comments I'd like to add on top of Matthew's:

  • I like to keep the README file minimal and then provide examples/more details in dedicated documentation sections. I feel that putting all the information into one file can be overwhelming (and a nice sphinx site can be easier to search)
  • you can consider making some of the examples easier to run without installation - e.g. providing a Colab or Binder link
  • I would consider putting the contribution guidelines into their own file

But, overall, the documentation looks good and useful!

Thanks a lot for the recommendations. I have added contributions file separately and have added the link to the file in the readme.

I have also added a colab to make installation easier to understand

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

No branches or pull requests

5 participants