From 6b780bf2f60e84c7a8228805ad90cabcfe365f92 Mon Sep 17 00:00:00 2001 From: mashehu Date: Tue, 8 Aug 2023 15:07:28 +0200 Subject: [PATCH 1/2] update template blockquotes to new admonition styles --- README.md | 12 ++++++++---- nf_core/pipeline-template/README.md | 18 ++++++++++-------- nf_core/pipeline-template/docs/output.md | 4 +++- nf_core/pipeline-template/docs/usage.md | 4 +++- 4 files changed, 24 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 94e452823..6e85fc0f3 100644 --- a/README.md +++ b/README.md @@ -227,10 +227,14 @@ Auto-completion for the `nf-core` command is available for bash, zsh and fish. T After a restart of the shell session you should have auto-completion for the `nf-core` command and all its sub-commands and options. -> **NB:** The added line will run the command `nf-core` (which will also slow down startup time of your shell). You should therefore either have the nf-core/tools installed globally. -> You can also wrap it inside `if type nf-core > /dev/null; then ` \ `fi` for bash and zsh or `if command -v nf-core &> /dev/null eval (env _NF_CORE_COMPLETE=fish_source nf-core) end` for fish. You need to then source the config in your environment for the completions to be activated. - -> **NB:** If you see the error `command not found compdef` , be sure that your config file contains the line `autoload -Uz compinit && compinit` before the eval line. +:::note +The added line will run the command `nf-core` (which will also slow down startup time of your shell). You should therefore either have the nf-core/tools installed globally. +You can also wrap it inside `if type nf-core > /dev/null; then ` \ `fi` for bash and zsh or `if command -v nf-core &> /dev/null eval (env _NF_CORE_COMPLETE=fish_source nf-core) end` for fish. You need to then source the config in your environment for the completions to be activated. +::: + +:::info +If you see the error `command not found compdef` , be sure that your config file contains the line `autoload -Uz compinit && compinit` before the eval line. +::: ## Listing pipelines diff --git a/nf_core/pipeline-template/README.md b/nf_core/pipeline-template/README.md index e66746dcd..27e96de7f 100644 --- a/nf_core/pipeline-template/README.md +++ b/nf_core/pipeline-template/README.md @@ -43,10 +43,11 @@ ## Usage -> **Note** -> If you are new to Nextflow and nf-core, please refer to [this page](https://nf-co.re/docs/usage/installation) on how -> to set-up Nextflow. Make sure to [test your setup](https://nf-co.re/docs/usage/introduction#how-to-run-a-pipeline) -> with `-profile test` before running the workflow on actual data. +:::note +If you are new to Nextflow and nf-core, please refer to [this page](https://nf-co.re/docs/usage/installation) on how +to set-up Nextflow. Make sure to [test your setup](https://nf-co.re/docs/usage/introduction#how-to-run-a-pipeline) +with `-profile test` before running the workflow on actual data. +:::