diff --git a/content/en/tutorials/apptainer/index.md b/content/en/tutorials/apptainer/index.md index cfbd5deaf3a4f254a3f58e9baa60c2aba597bdb6..1bab38c729158bd81ed1f5d1337c76984dbd2af9 100644 --- a/content/en/tutorials/apptainer/index.md +++ b/content/en/tutorials/apptainer/index.md @@ -349,8 +349,8 @@ There might be situations where you have a certain conda environment in your loc As an example, let's create a simple demo environment, `environment.yml` in our local machine, -```bash -name: __apptainer-env__ +```{.bash filename="Apptainer.def"} +name: apptainer channels: - conda-forge - defaults @@ -392,7 +392,7 @@ From: condaforge/miniforge3:latest # Now add the script to activate the Conda environment echo '. "/opt/conda/etc/profile.d/conda.sh"' >> $APPTAINER_ENVIRONMENT - echo 'conda activate __apptainer-env__' >> $APPTAINER_ENVIRONMENT + echo 'conda activate apptainer' >> $APPTAINER_ENVIRONMENT ``` This file is similar to the file in the [Building images](#building-images), with the addition of `%files` area. `%files` specifies the files in the host system (ie, your machine) that need to be copied to the container image, and optionally, where should they be available. In the previous example, the `environment.yml` file will be available in `/opt/` in the container. diff --git a/go.mod b/go.mod index 8b826856428dc1a3b405d9358ec24d14705cdff8..c267eb305f04d224ed6adc2a3759eb72040741dc 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,5 @@ module github.com/google/docsy-example go 1.12 require ( - github.com/google/docsy v0.10.0 // indirect - github.com/google/docsy/dependencies v0.5.1 // indirect - github.com/loup-brun/hugo-cite v1.0.0-beta3 // indirect + github.com/google/docsy v0.11.0 // indirect ) diff --git a/go.sum b/go.sum index 59dfcd48052dfc9b7a8218f7d362af4ed92e228e..4e58c3302b495a279138208eb02bffa5c60e25a1 100644 --- a/go.sum +++ b/go.sum @@ -1,20 +1,6 @@ -github.com/FortAwesome/Font-Awesome v0.0.0-20220831210243-d3a7818c253f h1:bvkUptSRPZBr3Kxuk+bnWCEmQ5MtEJX5fjezyV0bC3g= -github.com/FortAwesome/Font-Awesome v0.0.0-20220831210243-d3a7818c253f/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo= -github.com/FortAwesome/Font-Awesome v0.0.0-20230327165841-0698449d50f2/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo= -github.com/FortAwesome/Font-Awesome v0.0.0-20240402185447-c0f460dca7f7 h1:2aWEKCRLqQ9nPyXaz4/IYtRrDr3PzEiX0DUSUr2/EDs= -github.com/FortAwesome/Font-Awesome v0.0.0-20240402185447-c0f460dca7f7/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo= -github.com/google/docsy v0.5.1 h1:D/ZdFKiE29xM/gwPwQzmkyXhcbQGkReRS6aGrF7lnYk= -github.com/google/docsy v0.5.1/go.mod h1:maoUAQU5H/d+FrZIB4xg1EVWAx7RyFMGSDJyWghm31E= -github.com/google/docsy v0.10.0 h1:6tMDacPwAyRWNCfvsn/9qGOZDQ8b0aRzjRZvnZPY5dg= -github.com/google/docsy v0.10.0/go.mod h1:c0nIAqmRTOuJ01F85U/wJPQtc3Zj9N58Kea9bOT2AJc= -github.com/google/docsy/dependencies v0.5.1 h1:JVVLjnjC5i7GN2ZXKJ0QDa8UY71JMoqkeKK8CS6R/C4= -github.com/google/docsy/dependencies v0.5.1/go.mod h1:EDGc2znMbGUw0RW5kWwy2oGgLt0iVXBmoq4UOqstuNE= -github.com/google/docsy/dependencies v0.7.2 h1:+t5ufoADQAj4XneFphz4A+UU0ICAxmNaRHVWtMYXPSI= -github.com/google/docsy/dependencies v0.7.2/go.mod h1:gihhs5gmgeO+wuoay4FwOzob+jYJVyQbNaQOh788lD4= -github.com/loup-brun/hugo-cite v1.0.0-beta3 h1:Qh6BkoWZPt0vaVxwMvQSJguT660wImy38sq+Q234tHE= -github.com/loup-brun/hugo-cite v1.0.0-beta3/go.mod h1:iD1lSrUKaQPD+/MRLxDCpbSOW7fFq3eAIvc29G5Zbag= -github.com/twbs/bootstrap v4.6.2+incompatible h1:TDa+R51BTiy1wEHSYjmqDb8LxNl/zaEjAOpRE9Hwh/o= -github.com/twbs/bootstrap v4.6.2+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0= -github.com/twbs/bootstrap v5.2.3+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0= +github.com/FortAwesome/Font-Awesome v0.0.0-20240716171331-37eff7fa00de h1:JvHOfdSqvArF+7cffH9oWU8oLhn6YFYI60Pms8M/6tI= +github.com/FortAwesome/Font-Awesome v0.0.0-20240716171331-37eff7fa00de/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo= +github.com/google/docsy v0.11.0 h1:QnV40cc28QwS++kP9qINtrIv4hlASruhC/K3FqkHAmM= +github.com/google/docsy v0.11.0/go.mod h1:hGGW0OjNuG5ZbH5JRtALY3yvN8ybbEP/v2iaK4bwOUI= github.com/twbs/bootstrap v5.3.3+incompatible h1:goFoqinzdHfkeegpFP7pvhbd0g+A3O2hbU3XCjuNrEQ= github.com/twbs/bootstrap v5.3.3+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0= diff --git a/layouts/partials/scripts/mermaid.html b/layouts/partials/scripts/mermaid.html new file mode 100644 index 0000000000000000000000000000000000000000..973cca5e76c3510db1cb2747b5d6a6ad00143f2f --- /dev/null +++ b/layouts/partials/scripts/mermaid.html @@ -0,0 +1,19 @@ +{{ $js := resources.Get "js/mermaid.min.js" }} +{{ if $js }} + <script + src="{{ $js.RelPermalink }}" + {{ with $js.Data.Integrity }}integrity="{{ . }}"{{ end }} + crossorigin="anonymous"></script> + {{ $mermaidConfig := slice }} + {{ if .Site.Params.ui.mermaid.theme }} + {{ $mermaidConfig = $mermaidConfig | append (printf "theme: '%s'," .Site.Params.ui.mermaid.theme) }} + {{ end }} + {{ if .Site.Params.ui.mermaid.flowchart }} + {{ $mermaidConfig = $mermaidConfig | append (printf "flowchart: { %s }," .Site.Params.ui.mermaid.flowchart) }} + {{ end }} + <script> + mermaid.initialize({ + flowchart: { useMaxWidth: true } + }); + </script> +{{ end }} \ No newline at end of file diff --git a/static/img/logo_eu-horizon2020.png b/static/img/logo_eu-horizon2020.png new file mode 100644 index 0000000000000000000000000000000000000000..479e01caf84f3b3ac532616a46c1140a4ad29c8e Binary files /dev/null and b/static/img/logo_eu-horizon2020.png differ