Commit graph

17 commits

Author SHA1 Message Date
Julian Stirling
7bc4c514a6 Autofix import order 2025-12-02 16:26:15 +00:00
Julian Stirling
4c46330959 Add ANN20X rules to ruff 2025-08-27 18:56:08 +01:00
Julian Stirling
3289221c6b Add unit tests for all of serving static files. Update docs in src to clarify behaviour 2025-08-15 11:01:43 +01:00
Julian Stirling
44e24f42a6 Check webapp is available or give useful error 2025-08-15 09:21:38 +01:00
Julian Stirling
98c023032c Allow fonts to cache 2025-08-14 14:45:20 +01:00
jaknapper
025e6b1fba Request no caching for static files like webapp 2025-08-12 18:47:02 +01:00
Julian Stirling
2cb4003835 Add module level docstrings. 2025-07-10 09:24:50 +01:00
Julian Stirling
80beeea07b Add punctuation to docstrings 2025-07-10 09:24:50 +01:00
Julian Stirling
4dc41bb008 Single line summaries of docstrings 2025-07-10 09:24:49 +01:00
Julian Stirling
a84a916719 Restructured text fixes so that pydoctor would return without an error 2025-07-09 23:59:08 +01:00
Julian Stirling
b45f5651ab Add scan directory to json config 2025-06-06 12:21:51 +01:00
jaknapper
efe2127afb Mount scans to app on startup 2025-05-23 16:28:21 +01:00
Joe Knapper
a563c634a3 Update serve static files to serve correct directory and to add docstrings 2025-05-15 16:30:37 +00:00
jaknapper
d4b3508b77 Clean up of serve_static_files 2025-05-15 14:10:15 +01:00
Richard Bowman
9fd8fc37f1 Formatted with Ruff 2024-12-03 06:46:08 +00:00
Richard Bowman
aa49cfcba3 Search the package for static files
This isn't foolproof: a zipped package will break it.
If that's something we want to support, we might
need to extract the folder to a temp location.
2024-08-09 02:39:04 +01:00
Richard Bowman
c32b44d1a6 Refactor server into submodule 2024-08-09 00:49:24 +01:00
Renamed from src/openflexure_microscope_server/serve_static_files.py (Browse further)