Skip to content

Commit 2fcda24

Browse files
committed
Merge branch 'master' into PLAT-330_Azure_docs
2 parents 74eeaae + 1263e9b commit 2fcda24

File tree

1,657 files changed

+3942
-1503
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,657 files changed

+3942
-1503
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: "Internal link checking"
2+
3+
on: [pull_request]
4+
5+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
6+
jobs:
7+
check-internal-links:
8+
runs-on: ubuntu-latest
9+
steps:
10+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
11+
- name: Check out repo
12+
uses: actions/checkout@v2
13+
# Node is required for npm
14+
- name: Set up Node
15+
uses: actions/setup-node@v2
16+
with:
17+
node-version: "18"
18+
- name: Pull & update submodules recursively
19+
run: |
20+
git submodule update --init --recursive
21+
# Fail the build in PRs, but not for Netlify previews or production builds
22+
- name: Replace credentials
23+
run: |
24+
sed -Ei 's/onBroken([A-Za-z]+): "warn"/onBroken\1: "throw"/g' docusaurus.config.js
25+
# Install and build Docusaurus website
26+
- name: Build Docusaurus website
27+
run: |
28+
npm install
29+
npm run build

.github/workflows/links.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Links
2+
3+
# https://github.com/lycheeverse/lychee-action
4+
5+
on:
6+
repository_dispatch:
7+
workflow_dispatch:
8+
# Run on Sunday only
9+
schedule:
10+
- cron: "00 18 * * 6"
11+
12+
jobs:
13+
linkChecker:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- name: Link Checker
19+
id: lychee
20+
uses: lycheeverse/lychee-action@v1
21+
# --verbose --no-progress
22+
with:
23+
args: --base . -v -n -s https -s http './**/*.mdx'
24+
25+
- name: Create Issue From File
26+
if: env.lychee_exit_code != 0
27+
uses: peter-evans/create-issue-from-file@v4
28+
with:
29+
title: Link Checker Report
30+
content-filepath: ./lychee/out.md
31+
labels: report, automated issue

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# Generated files
88
.docusaurus
99
.cache-loader
10+
.cache
1011

1112
# Misc
1213
.env

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
[submodule "wave_docs/wave_repo"]
22
path = wave_docs/wave_repo
33
url = https://github.com/seqeralabs/wave
4+
[submodule "multiqc_docs/multiqc_repo"]
5+
path = multiqc_docs/multiqc_repo
6+
url = https://github.com/MultiQC/MultiQC

README.md

Lines changed: 16 additions & 24 deletions

docusaurus.config.js

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ export default async function createConfigAsync() {
5252
trackingID: "G-NR1CNM213G",
5353
anonymizeIP: true,
5454
},
55+
googleTagManager: {
56+
containerId: "GTM-MBCJKK4",
57+
},
5558
},
5659
],
5760
],
@@ -72,7 +75,7 @@ export default async function createConfigAsync() {
7275
editUrl: "https://github.com/seqeralabs/docs/tree/master/",
7376
sidebarPath: false,
7477
versions: {
75-
// Force path to be /platform/23.3.0 instead of /platform
78+
// Force path to be /platform/24.1 instead of /platform
7679
// (Applies to latest version only)
7780
[platform_latest_version]: {
7881
label: platform_latest_version,
@@ -82,6 +85,24 @@ export default async function createConfigAsync() {
8285
},
8386
],
8487
[
88+
"@docusaurus/plugin-content-docs",
89+
{
90+
id: "multiqc",
91+
routeBasePath: "/multiqc",
92+
path: "multiqc_docs/multiqc_repo/docs/markdown",
93+
remarkPlugins: [
94+
(await import("remark-code-import")).default,
95+
(await require("remark-math")).default,
96+
(await import("docusaurus-remark-plugin-tab-blocks")).default,
97+
(await require("remark-yaml-to-table")).default,
98+
],
99+
rehypePlugins: [(await require("rehype-katex")).default],
100+
editUrl: ({ docPath }) => {
101+
return `https://github.com/MultiQC/MultiQC/blob/main/docs${docPath.replace('multiqc_docs/multiqc_repo/docs', '')}`
102+
},
103+
sidebarPath: "./multiqc_docs/sidebar.js",
104+
},
105+
], [
85106
"@docusaurus/plugin-content-docs",
86107
{
87108
id: "fusion",
@@ -166,10 +187,9 @@ export default async function createConfigAsync() {
166187
target: "_blank",
167188
},
168189
{
169-
to: "https://multiqc.info/docs/",
170-
html: 'MultiQC <svg width="12" height="12" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU" style="margin-left:4px;opacity:0.6;"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg>',
190+
to: "/multiqc/",
191+
label: "MultiQC",
171192
position: "left",
172-
target: "_blank",
173193
},
174194
{
175195
to: "/wave/",

fusion_docs/guide.mdx

Lines changed: 6 additions & 5 deletions

fusion_docs/index.mdx

Lines changed: 4 additions & 0 deletions

lychee.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# https://lychee.cli.rs/usage/config/
2+
scheme = ["https", "http"]
3+
exclude = [
4+
'^https://portal.azure.com/',
5+
'^https://gitlab.com/profile/personal_access_tokens'
6+
]
7+
exclude_path = [
8+
"^.+/README.mdx",
9+
"^.+/_todo.mdx"
10+
]

multiqc_docs/multiqc_repo

Submodule multiqc_repo added at db2d353

0 commit comments

Comments
 (0)