diff --git a/README.md b/README.md index 1f4007fdf4..5c4e42b2d6 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ *"Dataflow variables are spectacularly expressive in concurrent programming"* diff --git a/docs/images/dag.mmd b/docs/_static/dag.mmd similarity index 100% rename from docs/images/dag.mmd rename to docs/_static/dag.mmd diff --git a/docs/_static/degular/Degular-Bold.woff b/docs/_static/degular/Degular-Bold.woff new file mode 100644 index 0000000000..189e5c40ef Binary files /dev/null and b/docs/_static/degular/Degular-Bold.woff differ diff --git a/docs/_static/degular/Degular-Bold.woff2 b/docs/_static/degular/Degular-Bold.woff2 new file mode 100644 index 0000000000..5f49fd7355 Binary files /dev/null and b/docs/_static/degular/Degular-Bold.woff2 differ diff --git a/docs/_static/degular/Degular-BoldItalic.woff b/docs/_static/degular/Degular-BoldItalic.woff new file mode 100644 index 0000000000..164d8a58ce Binary files /dev/null and b/docs/_static/degular/Degular-BoldItalic.woff differ diff --git a/docs/_static/degular/Degular-BoldItalic.woff2 b/docs/_static/degular/Degular-BoldItalic.woff2 new file mode 100644 index 0000000000..803beafde3 Binary files /dev/null and b/docs/_static/degular/Degular-BoldItalic.woff2 differ diff --git a/docs/_static/degular/Degular-Italic.woff b/docs/_static/degular/Degular-Italic.woff new file mode 100644 index 0000000000..201357edbc Binary files /dev/null and b/docs/_static/degular/Degular-Italic.woff differ diff --git a/docs/_static/degular/Degular-Italic.woff2 b/docs/_static/degular/Degular-Italic.woff2 new file mode 100644 index 0000000000..7455e42dc5 Binary files /dev/null and b/docs/_static/degular/Degular-Italic.woff2 differ diff --git a/docs/_static/degular/Degular-Regular.woff b/docs/_static/degular/Degular-Regular.woff new file mode 100644 index 0000000000..18f88acff7 Binary files /dev/null and b/docs/_static/degular/Degular-Regular.woff differ diff --git a/docs/_static/degular/Degular-Regular.woff2 b/docs/_static/degular/Degular-Regular.woff2 new file mode 100644 index 0000000000..1fb959582c Binary files /dev/null and b/docs/_static/degular/Degular-Regular.woff2 differ diff --git a/docs/_static/favicon.ico b/docs/_static/favicon.ico new file mode 100644 index 0000000000..4b1d11608e Binary files /dev/null and b/docs/_static/favicon.ico differ diff --git a/docs/images/nextflow-k8s-min.png b/docs/_static/nextflow-k8s-min.png similarity index 100% rename from docs/images/nextflow-k8s-min.png rename to docs/_static/nextflow-k8s-min.png diff --git a/docs/_static/nextflow-logo-bg-dark.png b/docs/_static/nextflow-logo-bg-dark.png new file mode 100644 index 0000000000..172969ef46 Binary files /dev/null and b/docs/_static/nextflow-logo-bg-dark.png differ diff --git a/docs/_static/nextflow-logo-bg-light.png b/docs/_static/nextflow-logo-bg-light.png new file mode 100644 index 0000000000..ece1912ef0 Binary files /dev/null and b/docs/_static/nextflow-logo-bg-light.png differ diff --git a/docs/_static/nextflow-logo.png b/docs/_static/nextflow-logo.png new file mode 100644 index 0000000000..1097ba0f19 Binary files /dev/null and b/docs/_static/nextflow-logo.png differ diff --git a/docs/images/report-resource-cpu.png b/docs/_static/report-resource-cpu.png similarity index 100% rename from docs/images/report-resource-cpu.png rename to docs/_static/report-resource-cpu.png diff --git a/docs/images/report-resource-io-read.png b/docs/_static/report-resource-io-read.png similarity index 100% rename from docs/images/report-resource-io-read.png rename to docs/_static/report-resource-io-read.png diff --git a/docs/images/report-resource-io-write.png b/docs/_static/report-resource-io-write.png similarity index 100% rename from docs/images/report-resource-io-write.png rename to docs/_static/report-resource-io-write.png diff --git a/docs/images/report-resource-job-duration.png b/docs/_static/report-resource-job-duration.png similarity index 100% rename from docs/images/report-resource-job-duration.png rename to docs/_static/report-resource-job-duration.png diff --git a/docs/images/report-resource-memory-pctram.png b/docs/_static/report-resource-memory-pctram.png similarity index 100% rename from docs/images/report-resource-memory-pctram.png rename to docs/_static/report-resource-memory-pctram.png diff --git a/docs/images/report-resource-memory-ram.png b/docs/_static/report-resource-memory-ram.png similarity index 100% rename from docs/images/report-resource-memory-ram.png rename to docs/_static/report-resource-memory-ram.png diff --git a/docs/images/report-resource-memory-vmem.png b/docs/_static/report-resource-memory-vmem.png similarity index 100% rename from docs/images/report-resource-memory-vmem.png rename to docs/_static/report-resource-memory-vmem.png diff --git a/docs/images/report-resource-memory.png b/docs/_static/report-resource-memory.png similarity index 100% rename from docs/images/report-resource-memory.png rename to docs/_static/report-resource-memory.png diff --git a/docs/images/report-resources-min.png b/docs/_static/report-resources-min.png similarity index 100% rename from docs/images/report-resources-min.png rename to docs/_static/report-resources-min.png diff --git a/docs/images/report-summary-min.png b/docs/_static/report-summary-min.png similarity index 100% rename from docs/images/report-summary-min.png rename to docs/_static/report-summary-min.png diff --git a/docs/images/report-tasks-min.png b/docs/_static/report-tasks-min.png similarity index 100% rename from docs/images/report-tasks-min.png rename to docs/_static/report-tasks-min.png diff --git a/docs/_static/seqera-logo.png b/docs/_static/seqera-logo.png deleted file mode 100644 index 7854bd3f7a..0000000000 Binary files a/docs/_static/seqera-logo.png and /dev/null differ diff --git a/docs/_static/seqera-logo.svg b/docs/_static/seqera-logo.svg new file mode 100644 index 0000000000..99a758d21a --- /dev/null +++ b/docs/_static/seqera-logo.svg @@ -0,0 +1,19 @@ + diff --git a/docs/_static/theme.css b/docs/_static/theme.css index 27d788d7e8..f4fc4528b3 100644 --- a/docs/_static/theme.css +++ b/docs/_static/theme.css @@ -1,22 +1,172 @@ +/* Inter font */ +@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap'); -/* navbar -- Seqera logo */ +/* Degular font */ +@font-face { + font-family: "Degular"; + src: url('degular/Degular-Regular.woff2'); + src: url('degular/Degular-Regular.woff2') format('woff2'), + url('degular/Degular-Regular.woff') format('woff'); + font-weight: normal; + font-style: normal; +} +@font-face { + font-family: "Degular"; + src: url('degular/Degular-Italic.woff2'); + src: url('degular/Degular-Italic.woff2') format('woff2'), + url('degular/Degular-Italic.woff') format('woff'); + font-weight: normal; + font-style: italic; +} +@font-face { + font-family: "Degular"; + src: url('degular/Degular-Bold.woff2'); + src: url('degular/Degular-Bold.woff2') format('woff2'), + url('degular/Degular-Bold.woff') format('woff'); + font-weight: bold; + font-style: normal; +} +@font-face { + font-family: "Degular"; + src: url('degular/Degular-BoldItalic.woff2'); + src: url('degular/Degular-BoldItalic.woff2') format('woff2'), + url('degular/Degular-BoldItalic.woff') format('woff'); + font-weight: bold; + font-style: italic; +} -.wy-side-nav-search { - background-color: #27ae60; +/* fonts */ +body { + font-family: 'Inter', sans-serif; +} + +.btn { + font-family: 'Inter', sans-serif; +} + +.rst-content .toctree-wrapper>p.caption, +h1, +h2, +h3, +h4, +h5, +h6, +legend { + font-family: 'Degular', sans-serif; +} + +/* colors */ +.rst-content .danger { + background: #FEEDEC; +} + +.rst-content .danger .admonition-title { + background: #C3514D; +} + +.rst-content .warning { + background: #FDF0E9; +} + +.rst-content .warning .admonition-title { + background: #BC6437; +} + +.rst-content .note { + background: #E8F2FF; +} + +.rst-content .note .admonition-title { + background: #3787E5; +} + +.rst-content .tip { + background: #E2F7F3; +} + +.rst-content .tip .admonition-title { + background: #0CAE8E; +} + +a, a:visited { + color: #3787E5; } +a:hover { + color: #77B5FE; +} + +.rst-content code, +.rst-content tt, +code { + color: #C3514D; +} + +.wy-menu-vertical header, .wy-menu-vertical p.caption { - color: #27ae60; + color: #0DC09D; +} + +.wy-menu-vertical a { + color: #EAEBEB; +} + +.wy-menu-vertical a:hover { + background-color: #7B7B7B; } .wy-menu-vertical a:active { - background-color: #27ae60; + background-color: #0DC09D; +} + +.wy-side-nav-search { + background-color: #0DC09D; +} + +.wy-side-nav-search input[type=text] { + border-color: #0DC09D; +} + +.wy-side-nav-search img { + background-color: #0DC09D; +} + +.wy-nav-side { + background: #160F26; +} + +.wy-nav-top { + background: #0DC09D; +} + +.wy-nav-top a { + color: #fff; +} + +.wy-nav-top img { + width: auto; + background-color: inherit; + border-radius: unset; +} + +footer { + color: #7B7B7B; +} + +#search-results .context { + color: #7B7B7B; +} + +.rst-content code.literal, +.rst-content tt.literal { + color: #C3514D; } +/* Custom footer with logo */ .nav-footer-logo { width: 300px; margin-top: 2rem; - border-top: 1px solid #666666; + border-top: 1px solid #7B7B7B; text-align: center; font-size: 80%; } @@ -24,7 +174,7 @@ .nav-footer-logo a { display: block; padding: 2rem 0 0.5rem; - color: #666666; + color: #7B7B7B; } .nav-footer-logo a img { @@ -33,7 +183,9 @@ } /* Version change admonitions */ -div.deprecated, div.versionadded, div.versionchanged { +div.deprecated, +div.versionadded, +div.versionchanged { border-left: 0.2rem solid; border-radius: 0.25rem; box-shadow: 0 0.2rem 0.5rem var(--pst-color-shadow),0 0 0.0625rem var(--pst-color-shadow)!important; @@ -45,11 +197,15 @@ div.deprecated, div.versionadded, div.versionchanged { transition: color .25s,background-color .25s,border-color .25s; vertical-align: middle; } -div.deprecated>p, div.versionadded>p, div.versionchanged>p { +div.deprecated>p, +div.versionadded>p, +div.versionchanged>p { margin-top: 0.5rem; margin-bottom: 0.5rem; } -div.deprecated>p:first-child::before, div.versionadded>p:first-child::before, div.versionchanged>p:first-child::before { +div.deprecated>p:first-child::before, +div.versionadded>p:first-child::before, +div.versionchanged>p:first-child::before { font-family: FontAwesome; display: inline-block; font-style: normal; @@ -62,9 +218,9 @@ div.deprecated>p:first-child::before, div.versionadded>p:first-child::before, di padding: 0.4rem 0.6rem; margin: -0.2rem 0rem -0.2rem -0.6rem; } -div.versionadded { border-color: #1abc9c; background-color: #dbfaf4; } -div.versionadded p:first-child::before { color: #1abc9c; } -div.versionchanged { border-color: #f0b37e; background-color: #ffedcc; } -div.versionchanged p:first-child::before { color: #f0b37e; } -div.deprecated { border-color: #f29f97; background-color: #fdf3f2; } -div.deprecated p:first-child::before { color: #f29f97; } +div.versionadded { border-color: #0CAE8E; background-color: #E2F7F3; } +div.versionadded p:first-child::before { color: #0CAE8E; } +div.versionchanged { border-color: #BC6437; background-color: #FDF0E9; } +div.versionchanged p:first-child::before { color: #BC6437; } +div.deprecated { border-color: #C3514D; background-color: #FEEDEC; } +div.deprecated p:first-child::before { color: #C3514D; } diff --git a/docs/images/timeline-min.png b/docs/_static/timeline-min.png similarity index 100% rename from docs/images/timeline-min.png rename to docs/_static/timeline-min.png diff --git a/docs/images/workflow-notification-min.png b/docs/_static/workflow-notification-min.png similarity index 100% rename from docs/images/workflow-notification-min.png rename to docs/_static/workflow-notification-min.png diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html index b08dd9ff4e..af1d87ad40 100644 --- a/docs/_templates/layout.html +++ b/docs/_templates/layout.html @@ -5,7 +5,7 @@
{% endblock %} diff --git a/docs/conf.py b/docs/conf.py index 142e2f76ba..4591e86d00 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -92,7 +92,7 @@ #show_authors = False # The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'sphinx' +pygments_style = 'default' # A list of ignored prefixes for module index sorting. #modindex_common_prefix = [] @@ -136,12 +136,12 @@ # The name of an image file (relative to this directory) to place at the top # of the sidebar. -html_logo = 'images/nextflow-logo.png' +html_logo = '_static/nextflow-logo.png' # The name of an image file (within the static path) to use as favicon of the # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 # pixels large. -html_favicon = 'images/favicon.ico' +html_favicon = '_static/favicon.ico' # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, @@ -217,7 +217,7 @@ # The name of an image file (relative to this directory) to place at the top of # the title page. -latex_logo = 'images/nextflow-logo.png' +latex_logo = '_static/nextflow-logo.png' # For "manual" documents, if this is true, then toplevel headings are parts, # not chapters. diff --git a/docs/images/favicon.ico b/docs/images/favicon.ico deleted file mode 100644 index ed7fa1ee70..0000000000 Binary files a/docs/images/favicon.ico and /dev/null differ diff --git a/docs/images/nextflow-logo.png b/docs/images/nextflow-logo.png deleted file mode 100644 index 3eb4d8c0c0..0000000000 Binary files a/docs/images/nextflow-logo.png and /dev/null differ diff --git a/docs/images/yourkit.png b/docs/images/yourkit.png deleted file mode 100644 index b973fb1518..0000000000 Binary files a/docs/images/yourkit.png and /dev/null differ diff --git a/docs/kubernetes.md b/docs/kubernetes.md index 06c954d55f..e6f38a9542 100644 --- a/docs/kubernetes.md +++ b/docs/kubernetes.md @@ -16,7 +16,7 @@ Kubernetes abstracts also the storage provisioning through the definition of one When using the `k8s` executor Nextflow deploys the workflow execution as a Kubernetes pod. This pod orchestrates the workflow execution and submits a separate pod execution for each job that need to be carried out by the workflow application. -```{image} /images/nextflow-k8s-min.png +```{image} _static/nextflow-k8s-min.png ``` ## Requirements diff --git a/docs/mail.md b/docs/mail.md index 4ada1916f5..59ce19890a 100644 --- a/docs/mail.md +++ b/docs/mail.md @@ -183,7 +183,7 @@ nextflow run