Skip to content

Commit dcc45e0

Browse files
committed
🚚 環境構築ガイド集
1 parent 3db33e7 commit dcc45e0

13 files changed

Lines changed: 51 additions & 25 deletions

astro.config.mjs

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import compress from "astro-compress";
99
import metaTags from "astro-meta-tags";
1010
import { defineConfig } from "astro/config";
1111
import rehypeExternalLinks from "rehype-external-links";
12+
import { remarkSandpack } from "remark-sandpack";
1213
// @ts-ignore
1314
import wikiLinkPlugin from "remark-wiki-link-plus";
1415
import starlightScrollToTop from "starlight-scroll-to-top";
@@ -75,19 +76,23 @@ export default defineConfig({
7576
label: "執筆者向け",
7677
autogenerate: { directory: "for-writers/" },
7778
},
78-
],
79-
},
80-
{
81-
label: "C言語",
82-
link: "/textbook/c-lang/beginner/setup",
83-
icon: "document",
84-
items: [
8579
{
86-
label: "基礎コース",
87-
autogenerate: { directory: "textbook/c-lang/beginner" },
80+
label: "環境構築ガイド集",
81+
autogenerate: { directory: "setups/" },
8882
},
8983
],
9084
},
85+
// {
86+
// label: "C言語",
87+
// link: "/textbook/c-lang/beginner/setup",
88+
// icon: "document",
89+
// items: [
90+
// {
91+
// label: "基礎コース",
92+
// autogenerate: { directory: "textbook/c-lang/beginner" },
93+
// },
94+
// ],
95+
// },
9196
{
9297
label: "Web",
9398
link: "/textbook/web/for-classes",
@@ -129,6 +134,7 @@ export default defineConfig({
129134
remarkPlugins: [
130135
[remarkMermaid, { themes: ["dark", "neutral"] }],
131136
[wikiLinkPlugin, { markdownFolder: "src/content/docs" }],
137+
remarkSandpack,
132138
],
133139
rehypePlugins: [
134140
[

src/content/docs/textbook/c-lang/beginner/_images/202504050150.drawio.png renamed to src/content/docs/setups/_images/202504050150.drawio.png

File renamed without changes.

src/content/docs/textbook/c-lang/beginner/_images/202504050205.drawio.png renamed to src/content/docs/setups/_images/202504050205.drawio.png

File renamed without changes.

src/content/docs/textbook/c-lang/beginner/_images/202504050211.png renamed to src/content/docs/setups/_images/202504050211.png

File renamed without changes.

src/content/docs/textbook/c-lang/beginner/_images/202504050344.drawio.png renamed to src/content/docs/setups/_images/202504050344.drawio.png

File renamed without changes.

src/content/docs/textbook/c-lang/beginner/_images/202504050355.drawio.png renamed to src/content/docs/setups/_images/202504050355.drawio.png

File renamed without changes.

src/content/docs/textbook/c-lang/beginner/_images/202504050402.drawio.png renamed to src/content/docs/setups/_images/202504050402.drawio.png

File renamed without changes.

src/content/docs/textbook/c-lang/beginner/_images/202504050540.drawio.png renamed to src/content/docs/setups/_images/202504050540.drawio.png

File renamed without changes.

src/content/docs/textbook/c-lang/beginner/_images/202504050549.drawio.png renamed to src/content/docs/setups/_images/202504050549.drawio.png

File renamed without changes.

src/content/docs/textbook/c-lang/beginner/_images/202504170340.drawio.png renamed to src/content/docs/setups/_images/202504170340.drawio.png

File renamed without changes.

0 commit comments

Comments
 (0)