pcdshub / whatrecord

EPICS IOC meta information tool
https://pcdshub.github.io/whatrecord/
Other
8 stars 6 forks source link

Add backend server-less mode (for CI pipelines, static documentation, etc) #160

Closed klauer closed 1 year ago

klauer commented 1 year ago

Expected Behavior

Main goal: I want to be able to add whatrecord to an IOC CI pipeline and generate a static webpage that serves something similar to the current frontend. Of course, the generated pages would be limited to whichever IOCs that have been analyzed in that pipeline.

Current Behavior

whatrecord requires a backend server (aiohttp-based) and a frontend server (vite/vue.js-based) to be running.

I thought this was the best way to use the information that whatrecord could scrape ("parse all the IOCs and make a big database of records that could be easily queried!"), however this has proven to not be something people really want.

Possible Solution

Context

This will be nice for having whatrecord in CI pipelines for startup script linting and then documentation page generation.

Once we move all of our IOCs to GitHub, some form of auto-generated documentation will be desirable. I'm not aware of any alternative tools, so this concept is first in the list of options.

Aiming for ICALEPCS '23 for this functionality.