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

Errors due to make html #4362

Closed
HeetVekariya opened this issue Dec 14, 2023 · 6 comments · Fixed by #4365
Closed

Errors due to make html #4362

HeetVekariya opened this issue Dec 14, 2023 · 6 comments · Fixed by #4365

Comments

@HeetVekariya
Copy link
Contributor

HeetVekariya commented Dec 14, 2023

Expected behavior

  • When make html command executed in side mdanalysis/package/doc/sphinx directory then it must create html for the docs

Actual behavior

Currently it gives two errors:

  1. Due to html_static_path
Warning, treated as error:
html_static_path entry '_static' does not exist
make: *** [Makefile:42: html] Error 2
  1. Due to indentation:
sphinx.errors.SphinxWarning: /home/heet/Work/Development/mdanalysis/package/MDAnalysis/coordinates/FHIAIMS.py:docstring of MDAnalysis.coordinates.base.ProtoReader.timeseries:8:Explicit markup ends without a blank line; unexpected unindent.

Code to reproduce the behavior

cd mdanalysis/package/doc/sphinx && make html

Current version of MDAnalysis

  • Which version are you using? (run python -c "import MDAnalysis as mda; print(mda.__version__)")
    • 2.7.0-dev0
  • Which version of Python (python -V)?
    • Python 3.10.13
  • Which operating system?
    • Ubuntu
@HeetVekariya
Copy link
Contributor Author

@lilyminium

  • After doing html_static_path = [] it still gives error like
Warning, treated as error:
/home/heet/Work/Development/mdanalysis/package/MDAnalysis/coordinates/FHIAIMS.py:docstring of MDAnalysis.coordinates.base.ProtoReader.timeseries:8:Explicit markup ends without a blank line; unexpected unindent.
make: *** [Makefile:42: html] Error 2

should be fixed in the same PR ?

  • If yes then please guide me how can i tackle it.

@lilyminium
Copy link
Member

Ah sure, they're unrelated errors but a fix would be welcome there too, and both of them are likely small fixes.

If yes then please guide me how can i tackle it.

To start off with I would google the error and have a look at the specified docstring -- looks like there's something wrong with the docstring of the MDAnalysis.coordinates.base.ProtoReader.timeseries method, near-ish the 8th line (as indicated by MDAnalysis.coordinates.base.ProtoReader.timeseries:8 -- although I usually find that the error is not actually in that line but around it somewhere)

@HeetVekariya
Copy link
Contributor Author

Ah sure, they're unrelated errors but a fix would be welcome there too, and both of them are likely small fixes.

If yes then please guide me how can i tackle it.

To start off with I would google the error and have a look at the specified docstring -- looks like there's something wrong with the docstring of the MDAnalysis.coordinates.base.ProtoReader.timeseries method, near-ish the 8th line (as indicated by MDAnalysis.coordinates.base.ProtoReader.timeseries:8 -- although I usually find that the error is not actually in that line but around it somewhere)

Update me when you find the solution, i will include it in this PR only with a separate commit.

@lilyminium
Copy link
Member

lilyminium commented Dec 14, 2023 via email

@HeetVekariya HeetVekariya changed the title _static directory does not exist error encountered during make html Errors due to make html Dec 14, 2023
@HeetVekariya
Copy link
Contributor Author

HeetVekariya commented Dec 14, 2023

  • Sorry @lilyminium for directly asking the solution, it was my mistake.

  • You are correct, it is the contributor who have to find the solution for the issue, though he/she can take help from maintainers but should not ask the solution to find for them.

  • I have find the code which causes the indentation error and solved it.

  • To tackle both the bugs in one issue, i have updated the issue description.

@lilyminium
Copy link
Member

Hi @HeetVekariya, no worries at all, our conventions aren't always obvious! Thank you very much for finding the errors and opening the PR!

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 a pull request may close this issue.

2 participants