Skip to content

Add newline to prevent sphinx compilation warning#21

Open
meliache wants to merge 1 commit into
b2-hive:masterfrom
meliache:feature/fix-sphinx-compilation-warning
Open

Add newline to prevent sphinx compilation warning#21
meliache wants to merge 1 commit into
b2-hive:masterfrom
meliache:feature/fix-sphinx-compilation-warning

Conversation

@meliache

@meliache meliache commented Jun 1, 2021

Copy link
Copy Markdown

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