XENONnT / fuse

XENON Framework for Unified Simulations of Events
BSD 3-Clause "New" or "Revised" License
6 stars 1 forks source link

Fix bug when building docs locally #217

Closed dachengx closed 4 months ago

dachengx commented 4 months ago

Before you submit this PR: make sure to put all XENONnT specific information in a wiki-note as the repo is publicly accessible

What does the code in this PR do / what does it improve?

Before this PR, when running

make html

in folder fuse/docs, error shows:

Exception occurred:
  File "/opt/miniconda3/envs/XENONnT_2024.03.1/lib/python3.9/shutil.py", line 722, in rmtree
    orig_st = os.lstat(path)
FileNotFoundError: [Errno 2] No such file or directory: '/home/xudc/fuse/docs/source/graphs'

this is because the "graphs" folder is not defined correctly in shutil.rmtree

Can you briefly describe how it works?

Define a unified path of graphs.

Can you give a minimal working example (or illustrate with a figure)?

Please include the following if applicable:

coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9088401751

Details


Totals Coverage Status
Change from base Build 8936992735: 0.0%
Covered Lines: 2108
Relevant Lines: 2948

💛 - Coveralls