Sydney-Informatics-Hub / template-nf

A straightforward Nextflow workflow template generator.
https://sydney-informatics-hub.github.io/template-nf-guide/
2 stars 0 forks source link

Reorganising docs and collecting best practices #13

Open fredjaya opened 1 month ago

fredjaya commented 1 month ago

Suggestions on:

  1. Establishing a clearer reading order of existing and future template-nf documentation
  2. Separation of concerns of individual pages.
  3. Making room for a collection of central best practices/FAQs

Based on the guidelines of https://diataxis.fr/.

Suggested reading/content order:

  1. description of template-nf
  2. guided tutorial
  3. how-to use and configure template-nf for own workflows
  4. supplementary resources and explainers

Navigation

Suggested navbar and renaming pages based on: https://diataxis.fr/complex-hierarchies/

Home                                            <- landing page
    Tutorial                                <- landing page
        Demo workflow
        Hands on tutorial
    How-to guides                           <- landing page
        How to use `template-nf`
        How to customise the template
                How to develop Nextflow on remote servers (VSCode)
    Reference                               <- landing page
        Template components             <- landing page
            `main.nf`
            `nextflow.config`
            `modules/`
            `bin/`
            `config/`
            Extra bits
        Resources
    Explanation                            <- landing page
        Why `template-nf`(?)
        Best practices
            Samplesheets
            Containers per process
                        ...
        Resource configuration

Home page

Main landing page that people will see first. Mainly tidy the links that are included here, and add a Getting started section that points to the Demo Workflow.

Contents:

Explanation section

Catch-all for best practices, the "why you should do X instead of Y", and FAQs that are largely missing from existing resources and docs.

This will look something like taking out the "why" out of Tutorials/How-to guides/Reference pages to have a central collection of best practices.

Each page should be modular (i.e. explains one thing, and one thing well) so it can be linked to in external training material and docs.