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

Add newline to prevent sphinx compilation warning #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

meliache
Copy link

@meliache meliache commented Jun 1, 2021

Otherwise, when I run make clean && make html in the docs directory, I get the warning:

eFFORT/eFFORT/hybrid/hybrid_model.py:docstring of eFFORT.hybrid.hybrid_model.Hybrid.generate_hybrid_weights:10: WARNING: Definition list ends without a blank line; unexpected unindent.

I compared the generated html and it seems this doesn't change anything, so despite the warning sphinx was able to handle the missing blank line. Still, nicer to be warning free.

Otherwise, when I run `make clean && make html` in the docs directory, I get the
warning:

    eFFORT/eFFORT/hybrid/hybrid_model.py:docstring of eFFORT.hybrid.hybrid_model.Hybrid.generate_hybrid_weights:10: WARNING: Definition list ends without a blank line; unexpected unindent.

I compared the generated html and it seems this doesn't change anything, so
despite the warning sphinx was able to handle the missing blank line. Still,
nicer to be warning free.
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

Successfully merging this pull request may close these issues.

1 participant