- For tutorials and exercises please see this Markdown syntax guide
- For Slides, see this syntax guide and this Markdown example slide set
- When in doubt, check how other pages are formatted
- Try to make standalone articles with a good name
- The content should be as concise as possible, but as lengthy as needed.
- Link generously to main guide (docs.csc.fi) for additional information
- Some details can be introduced via tutorials/exercises
- General guidelines
- Docs specifics TBA
- Make accessible content! In short:
[Read more here](link-to-some-page)
is not accessible.[Read more about free use cases](link-to-some-page)
is better.- Avoid long walls of text and long sentences
- Lists and clear titles: good
- Use descriptive alt texts for images and videos
- Avoid presenting something ONLY as a video, and use captions/subtitles in video. Also, do present important or difficult to follow things also with videos.
- Avoid using loadable pdfs
- Avoid using only color to signal some meaning
- Put all slides images in
slides/img
folder (tutorials/exercise folders can have their own img/) - Put large files in Allas (write access with project 2001659) bucket docs-files,
e.g. https://a3s.fi/csc-env-files/README.md
- new files easy to share with
a-publish your-file.tgz -b csc-env-files
- new files easy to share with
- Write SLURM flags in long format (
--nodes
instead of-N
, etc.) - All examples should use minimum viable reserved resources. I.e don't write examples with --t=72:00:00 / --gres=gpu:v100:4 / --cpus-per-task=40, if it not needed. Users tend to use these as default values.
- FIXME anchors not tested
- Internal links as
[cool page](page.md)
,[stuff in page](page.md#anchor)
,[stuff in other section](../other_section/page.md)
,[stuff elsewhere](../other_section/page.md#anchor)
(no internal links with https://...) - For code sections (marked with three backticks,```) Mkdocs will by default try to auto-guess the language for syntax highlighting. It's probably best to specify the language explicitly, e.g. ```bash or ```python
- If you don't want any syntax highlighting, just use ```text
- For a list of all supported languages see: http://pygments.org/docs/lexers/
- Give commands, environment variables, command options, as well as partition names between two backticks, i.e. `srun`, `$LOCAL_SCRATCH`, `--gres`, `small`
- When referring collectively to compute servers, use term "CSC supercomputers". Puhti and Mahti should be used explicitly only when needed.