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

Doc generation failed #2523

Closed
skoudoro opened this issue Feb 18, 2022 · 1 comment
Closed

Doc generation failed #2523

skoudoro opened this issue Feb 18, 2022 · 1 comment

Comments

@skoudoro
Copy link
Member

Description

It is currently impossible to generate the documentation (make -C . html-after-examples). It seems that some docstrings are incorrect. we need to:

  • Update all the dependency packages needed for the documentation
  • improve citation management
  • Fix quite a lot of docstring in different functions:
  • To avoid this problem in a future, Add a GitHub action to generate the documentation without the example
  • Add a GitHub action to generate the documentation of the modified/added tutorial.

All of this can be split into multiple PR.

common docstring error:

Parameters 
------------ in 
Save `dix` to `fname` as pickle.
... in the docstring of save_pickle in /Users/koudoro/Software/dipy/dipy/io/pickles.py.
  warn(msg)
/Users/koudoro/miniconda3/envs/dipy-env-38/lib/python3.8/site-packages/numpydoc/docscrape.py:434: UserWarning: potentially wrong underline length... 
Examples 
---------- 
/Users/koudoro/miniconda3/envs/dipy-env-38/lib/python3.8/site-packages/numpydoc/docscrape.py:434: UserWarning: potentially wrong underline length... 
See also 
---------- in 
Save `dix` to `fname` as pickle.
... in the docstring of save_pickle in /Users/koudoro/Software/dipy/dipy/io/pickles.py.
  warn(msg)
/Users/koudoro/miniconda3/envs/dipy-env-38/lib/python3.8/site-packages/numpydoc/docscrape.py:434: 
- WARNING: Literal block expected; none found.
- Bullet list ends without a blank line; unexpected unindent.
- ERROR: [numpydoc] While processing docstring for 'dipy.reconst.dki.DiffusionKurtosisFit.kfa'
@skoudoro
Copy link
Member Author

This issue is too general. Furthermore it is possible to do make -C . html-no-examples. So closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant