APS-USAXS / livedata

live data from the APS USAXS instrument
https://usaxslive.xray.aps.anl.gov/
0 stars 0 forks source link

all directories of specplots must have `index.html` files #39

Open prjemian opened 4 years ago

prjemian commented 4 years ago

it appears that all of the directories with plots have an index.html file, can we add index.html files in the upper-level directories, so that directory indexing can be turned off?

prjemian commented 4 years ago

example:

<html>
  <head>
    <title>USAXS: plots 2020</title>
  </head>
  <body>
    <h1>USAXS: plots 2020 (by month)</h1>
    <ul>
      <li><a href="07/">2020-07</a></li>
      <li><a href="06/">2020-06</a></li>
      <li><a href="05/">2020-05</a></li>
      <li><a href="02/">2020-02</a></li>
      <li><a href="01/">2020-01</a></li>
    </ul>
  </body>
</html>
prjemian commented 4 years ago

Note this comment in the code: https://github.com/APS-USAXS/livedata/blob/3d37fe2d21818d4fca8d46183355c97ce31555c2/specplotsAllScans.py#L196

prjemian commented 4 years ago

While this is critical, correction and testing will likely interrupt ongoing data collection. Deciding to wait on resolving this until the current run cycle ends (in a few weeks).