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

FAIR checklist - Software documentation #2

Closed
9 tasks done
edvinskis opened this issue Nov 26, 2024 · 7 comments
Closed
9 tasks done

FAIR checklist - Software documentation #2

edvinskis opened this issue Nov 26, 2024 · 7 comments

Comments

@edvinskis
Copy link
Collaborator

edvinskis commented Nov 26, 2024

Essential

  • Source code documentation (docstrings)
  • Document your project dependencies
  • Installation instructions
  • User documentation

Recommended

  • Developer documentation and setup
  • Examples and tutorials (e.g. Jupyter Notebooks)

Optional

@hiddeoff hiddeoff added this to the FAIRify & package milestone Dec 3, 2024
@hiddeoff
Copy link
Owner

hiddeoff commented Dec 3, 2024

Finished docstrings in kinetics.py, continue with other modules

@hiddeoff
Copy link
Owner

hiddeoff commented Dec 9, 2024

Finished all docstrings

@hiddeoff
Copy link
Owner

hiddeoff commented Dec 9, 2024

Trying to make sphinx + autodoc2 work but it struggles with numpy-style docstrings (sphinx-extensions2/sphinx-autodoc2#33). Does someone have experience with this?

@edvinskis
Copy link
Collaborator Author

The issue of making sphinx and autodoc2 work with NumPy-style docstrings is a known problem. Have you looked into the numpydoc extension? Numpydoc inserts a hook into Sphinx's autodoc that converts NumPy/SciPy format docstrings into a form that Sphinx can process.

https://docs.xarray.dev/en/v0.2/sphinxext/numpydoc/README.html

@edvinskis
Copy link
Collaborator Author

Here's an example for user documentation:
https://github.com/tensorflow/tensorflow

@edvinskis
Copy link
Collaborator Author

Trying to make sphinx + autodoc2 work but it struggles with numpy-style docstrings (sphinx-extensions2/sphinx-autodoc2#33). Does someone have experience with this?

Resolved with spinx.ext.napoleon

@hiddeoff
Copy link
Owner

hiddeoff commented Jan 14, 2025

Almost done with writing the first (quite basic) version of the docs.

  • check docstrings for
    • crisprzip.matrix_expon
    • crisprzip.nucleic_acid
    • crisprzip.plotting
  • Add personal info to README (names, lab/BN/TU Delft/DCC support)
  • Add link to PyPi to README
  • Proofread pages
  • Set up GitHub Pages (@edvinskis)
  • Closer to release v1.0.0:
    • Update release notes
    • Get DOI, add 'how to cite'

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

2 participants