Skip to content

Commit fa5ae6c

Browse files
committed
fix: Rename .nf files to _main.nf to eliminate Astro warnings
Rename all main.nf files to _main.nf and update corresponding import statements to prevent Astro from treating pipeline files as pages. - Rename: main.nf → _main.nf in all pipeline subdirectories - Update imports: './main.nf?raw' → './_main.nf?raw' in all .mdx files - Eliminates console warnings about unsupported file types - Maintains functionality while following Astro conventions
1 parent 32d1aa2 commit fa5ae6c

File tree

10 files changed

+5
-5
lines changed

10 files changed

+5
-5
lines changed

src/pages/examples/basic-pipeline/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ layout: "@layouts/ExampleLayout.astro"
44
---
55

66
import { Code } from "astro-expressive-code/components";
7-
import pipelineCode from "./main.nf?raw";
7+
import pipelineCode from "./_main.nf?raw";
88

99
<div class="blg-summary example">
1010
<h2>Basic pipeline</h2>

src/pages/examples/blast-pipeline/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ layout: "@layouts/ExampleLayout.astro"
44
---
55

66
import { Code } from "astro-expressive-code/components";
7-
import pipelineCode from "./main.nf?raw";
7+
import pipelineCode from "./_main.nf?raw";
88

99
<div class="blg-summary example">
1010
<h2>BLAST pipeline</h2>

src/pages/examples/machine-learning-pipeline/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ layout: "@layouts/ExampleLayout.astro"
44
---
55

66
import { Code } from "astro-expressive-code/components";
7-
import pipelineCode from "./main.nf?raw";
7+
import pipelineCode from "./_main.nf?raw";
88

99
<div class="blg-summary example">
1010
<h2>Machine Learning pipeline</h2>

src/pages/examples/mixing-scripting-languages/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ layout: "@layouts/ExampleLayout.astro"
44
---
55

66
import { Code } from "astro-expressive-code/components";
7-
import pipelineCode from "./main.nf?raw";
7+
import pipelineCode from "./_main.nf?raw";
88

99
<div class="blg-summary example">
1010
<h2>Mixing scripting languages</h2>

src/pages/examples/rna-seq-pipeline/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ layout: "@layouts/ExampleLayout.astro"
44
---
55

66
import { Code } from "astro-expressive-code/components";
7-
import pipelineCode from "./main.nf?raw";
7+
import pipelineCode from "./_main.nf?raw";
88

99
<div class="blg-summary example">
1010
<h2>RNA-Seq pipeline</h2>

0 commit comments

Comments
 (0)