From bcfcc73b74e7ebb2858ca98e5e56e4fa48d8ba1f Mon Sep 17 00:00:00 2001 From: John Helly Date: Thu, 14 May 2026 14:08:18 +0100 Subject: [PATCH 1/3] Add notes about Cosma down time --- source/conf.py | 4 ++++ source/support/at_risk.rst | 12 ++++++++++++ source/support/index.rst | 1 + 3 files changed, 17 insertions(+) create mode 100644 source/support/at_risk.rst diff --git a/source/conf.py b/source/conf.py index 8c305e1..e79d464 100644 --- a/source/conf.py +++ b/source/conf.py @@ -51,6 +51,10 @@ # "globaltoc_collapse": False #} +html_theme_options = { + "banner_text": "This service will be at risk from 1st to 5th June due to COSMA scheduled down time", +} + # Immaterial #extensions = ["sphinx_immaterial"] #html_theme = 'sphinx_immaterial' diff --git a/source/support/at_risk.rst b/source/support/at_risk.rst new file mode 100644 index 0000000..9b586d1 --- /dev/null +++ b/source/support/at_risk.rst @@ -0,0 +1,12 @@ +Scheduled down time +=================== + +This service is hosted at the `DiRAC `__ Memory +Intensive HPC facility in Durham, UK. This facility has regular +scheduled down time in the first full week of February, June and +October each year. + +We do not expect the FLAMINGO data access service to be unavailable +for the full duration of these periods, but there may be some down +time and it is likely that the service will at least be restarted, +which would interrupt any ongoing downloads. diff --git a/source/support/index.rst b/source/support/index.rst index f77465d..379a951 100644 --- a/source/support/index.rst +++ b/source/support/index.rst @@ -11,6 +11,7 @@ The following pages contain resources that might be useful to solve issues Frequently asked questions List of known issues + Scheduled down time If these do not resolve your problem, you can contact us in one of two ways. From c8c1398ffd3e9301e9772cb5706a507b1b4b44fa Mon Sep 17 00:00:00 2001 From: John Helly Date: Thu, 14 May 2026 14:47:56 +0100 Subject: [PATCH 2/3] Add Cosma down time dates in conf.py --- source/conf.py | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/source/conf.py b/source/conf.py index e79d464..3adc08b 100644 --- a/source/conf.py +++ b/source/conf.py @@ -51,8 +51,28 @@ # "globaltoc_collapse": False #} +# Scheduled Cosma down times +import datetime as dt +downtimes = ( + dt.date(2026, 6, 1), + dt.date(2026, 10, 5), + dt.date(2027, 2, 1), +) +next_downtime = None +for downtime in downtimes: + nr_days = (downtime - dt.date.today()).days + if nr_days < 21 and nr_days > -4: + next_downtime = downtime + break +if next_downtime: + start_date = downtime.strftime("%d %B") + end_date = (downtime+dt.timedelta(days=4)).strftime("%d %B %Y") + banner = "This service will be at risk from "+start_date+" to "+end_date+" due to COSMA scheduled down time" +else: + banner = None + html_theme_options = { - "banner_text": "This service will be at risk from 1st to 5th June due to COSMA scheduled down time", + "banner_text": banner, } # Immaterial From 2ade24d6cf2ece1f9452b62cbc129d276d9dd501 Mon Sep 17 00:00:00 2001 From: John Helly Date: Thu, 14 May 2026 14:57:13 +0100 Subject: [PATCH 3/3] Change the colour of the down time banner --- source/_static/custom.css | 1 + 1 file changed, 1 insertion(+) diff --git a/source/_static/custom.css b/source/_static/custom.css index d01f1e6..07cd728 100644 --- a/source/_static/custom.css +++ b/source/_static/custom.css @@ -116,6 +116,7 @@ img.screenshot { */ :root { --mainNavColor: #986196; + --notificationBannerColor: #986196; } /*