From 739fe8d9c6bd079af8f90d1f90d78edb7630f655 Mon Sep 17 00:00:00 2001 From: Balthasar Reuter Date: Mon, 12 Feb 2024 11:28:53 +0100 Subject: [PATCH 1/4] Static landing page --- index.html | 502 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 502 insertions(+) create mode 100644 index.html diff --git a/index.html b/index.html new file mode 100644 index 0000000..d0e1a12 --- /dev/null +++ b/index.html @@ -0,0 +1,502 @@ + + + + + + + + + ECMWF | IFS/Arpège coding standard + + + + +
+
+

Official IFS-Arpège coding standards +

+
+ + +
+
+
Official coding standard for IFS / Arpège
+
+ + +
+
+
+

These websites contain the HTML rendering of the shared IFS-Arpège coding standards jointly developed by ECMWF and Météo-France.

+

The content is auto-generated and deployed from the corresponding Github repository.

+

Follow the links below for each standard and note their applicability:

+
    +
  1. Fortran - applicable to both IFS and Arpège
  2. +
  3. Python - applicable to IFS only
  4. +
  5. Shell - applicable to IFS only
  6. +
+
+
+
+ + From 1f64f98093d747e354d4093b1c91e122fd1a7768 Mon Sep 17 00:00:00 2001 From: Balthasar Reuter Date: Mon, 12 Feb 2024 11:29:39 +0100 Subject: [PATCH 2/4] Remove non-existent _static from html_static_path --- fortran/conf.py | 5 +++-- python/conf.py | 3 ++- shell/conf.py | 5 +++-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/fortran/conf.py b/fortran/conf.py index 0f31222..2737167 100644 --- a/fortran/conf.py +++ b/fortran/conf.py @@ -20,7 +20,7 @@ # -- Project information ----------------------------------------------------- project = 'IFS Fortran standard' -copyright = '2024-, ECMWF, Meteo-France' +copyright = '2024-, ECMWF, Météo-France' author = 'ECMWF' # The short X.Y version @@ -88,7 +88,8 @@ # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ['_static'] +# html_static_path = ['_static'] +html_static_path = [] # Custom sidebar templates, must be a dictionary that maps document names # to template names. diff --git a/python/conf.py b/python/conf.py index 418bda7..d1e159c 100644 --- a/python/conf.py +++ b/python/conf.py @@ -88,7 +88,8 @@ # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ['_static'] +# html_static_path = ['_static'] +html_static_path = [] # Custom sidebar templates, must be a dictionary that maps document names # to template names. diff --git a/shell/conf.py b/shell/conf.py index 15acda6..4ce9bdd 100644 --- a/shell/conf.py +++ b/shell/conf.py @@ -20,7 +20,7 @@ # -- Project information ----------------------------------------------------- project = 'IFS_shell_guidelines' -copyright = '2023, ECMWF' +copyright = '2023-, ECMWF' author = 'ECMWF' # The short X.Y version @@ -88,7 +88,8 @@ # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ['_static'] +# html_static_path = ['_static'] +html_static_path = [] # Custom sidebar templates, must be a dictionary that maps document names # to template names. From 6ce3d6205e63d883194b92a6055d9657e275b2f5 Mon Sep 17 00:00:00 2001 From: Balthasar Reuter Date: Mon, 12 Feb 2024 11:33:20 +0100 Subject: [PATCH 3/4] Add custom footer with ToU, Contact & co --- fortran/_templates/footer.html | 10 ++++++++++ python/_templates/footer.html | 10 ++++++++++ shell/_templates/footer.html | 10 ++++++++++ 3 files changed, 30 insertions(+) create mode 100644 fortran/_templates/footer.html create mode 100644 python/_templates/footer.html create mode 100644 shell/_templates/footer.html diff --git a/fortran/_templates/footer.html b/fortran/_templates/footer.html new file mode 100644 index 0000000..53c68ee --- /dev/null +++ b/fortran/_templates/footer.html @@ -0,0 +1,10 @@ +{%- extends '!footer.html' %} + +{% block extrafooter %} +

+ Accessibility - + Privacy - + Terms of use - + Contact us +

+{% endblock %} diff --git a/python/_templates/footer.html b/python/_templates/footer.html new file mode 100644 index 0000000..53c68ee --- /dev/null +++ b/python/_templates/footer.html @@ -0,0 +1,10 @@ +{%- extends '!footer.html' %} + +{% block extrafooter %} +

+ Accessibility - + Privacy - + Terms of use - + Contact us +

+{% endblock %} diff --git a/shell/_templates/footer.html b/shell/_templates/footer.html new file mode 100644 index 0000000..53c68ee --- /dev/null +++ b/shell/_templates/footer.html @@ -0,0 +1,10 @@ +{%- extends '!footer.html' %} + +{% block extrafooter %} +

+ Accessibility - + Privacy - + Terms of use - + Contact us +

+{% endblock %} From ab777a3280f6add8a8b855ad71db6a6cd80b6eb9 Mon Sep 17 00:00:00 2001 From: Balthasar Reuter Date: Tue, 20 Feb 2024 11:44:29 +0100 Subject: [PATCH 4/4] Comment out link to Python standard --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index d0e1a12..15e899a 100644 --- a/index.html +++ b/index.html @@ -483,7 +483,7 @@

- applicable to both IFS and Arpège -
  • Python - applicable to IFS only
  • +
  • Shell - applicable to IFS only