Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Best practices

Content creation

The SWUMP criteria

All training material destined for CDS/ADS/CADS portals must satisfy the SWUMP criteria:

Filenames

Filenames should use human-readable slugs that capture the notebook’s key themes, particularly those that distinguish it from other notebooks in the repository.

Scope

Focus on one topic / visualisation / processing routine. Consider separate notebooks if multiple parts or topics are included.

Titles

When selecting titles for your notebooks, consider the needs of a broad and diverse audience.

Training notebooks serve as entry points to the subject matter and should therefore be titled in a way that is clear, accurate, and accessible. Titles must be:

Section headings

TOC

Keep the table of contents (TOC) clear and intuitive, that is, avoid long lists that clutter the view. See the official MyST Markdown documentation for details on how to structure the table of contents.

Images

Data files

Data files should not be stored in the Github repository, but hosted externally and linked to, or downloaded from original source (e.g. CDS/ADS).

Tools

MyST markdown

Use enhanced markdown features (e.g. colored cells, icons) provided by MyST markdown to enhance your notebooks.

Avoid HTML <a> tags without href and notebook cross-references built with plain HTML; they render poorly and flood the build with warnings.

Metadata

Apply metadata at the notebook level and at the cell level according to a metadata-schema described here: https://github.com/ecmwf-training/jn-metadata-schema.