Skip to content

Commit 01d6d95

Browse files
authored
Merge pull request #53 from traP-jp/develop
v0.0
2 parents 1cac629 + c4bac9d commit 01d6d95

File tree

137 files changed

+4560
-3332
lines changed

Some content is hidden

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

137 files changed

+4560
-3332
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- main
7+
- develop
78

89
jobs:
910
textlint:
@@ -29,7 +30,7 @@ jobs:
2930
cache: npm
3031
- run: npm ci
3132
- name: Build
32-
run: npm run docs:build
33+
run: npm run build
3334
format:
3435
runs-on: ubuntu-latest
3536
permissions:

.github/workflows/pages.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
cache: npm
2424
- run: npm ci
2525
- name: Build
26-
run: npm run docs:build
26+
run: npm run build
2727
- uses: actions/configure-pages@v2
2828
- uses: actions/upload-pages-artifact@v1
2929
with:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ dist-ssr
2424
*.sw?
2525

2626
.textlintcache
27+
/.vitepress/cache

docs/.vitepress/config.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@ import { webBasicSidebarItems } from './sidebarConfigs/chapters/webBasic/webBasi
66

77
// https://vitepress.dev/reference/site-config
88
export default defineConfig({
9-
base: '/naro-text/',
10-
title: 'なろう講習会',
11-
description: 'Webエンジニアになろう講習会のテキスト',
12-
head: [['link', { rel: 'icon', href: '/naro-text/favicon.ico' }]],
9+
title: 'なろう講習会 in Rust',
10+
description: 'Webエンジニアになろう講習会のテキスト in Rust',
11+
head: [['link', { rel: 'icon', href: '/naro-text-rs/favicon.ico' }]],
1312
markdown: {
1413
theme: {
1514
light: 'github-dark',
@@ -26,7 +25,7 @@ export default defineConfig({
2625
'/chapter2/': chapter2SidebarItems,
2726
'/chapter4/': chapter4SidebarItems
2827
},
29-
socialLinks: [{ icon: 'github', link: 'https://github.com/traPtitech/naro-text' }],
28+
socialLinks: [{ icon: 'github', link: 'https://github.com/traP-jp/naro-text-rs' }],
3029
search: {
3130
provider: 'local',
3231
options: {

docs/.vitepress/sidebarConfigs/chapters/chapter1/dicts/clean-code.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { DefaultTheme } from 'vitepress'
22

33
export const cleanCodeSidebarItems: DefaultTheme.SidebarItem[] = [
44
{
5-
text: 'きれいなコードを書くために',
5+
text: 'きれいなコードを書くために*',
66
link: '/chapter1/dicts/clean-code/0_index'
77
}
88
]
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import type { DefaultTheme } from 'vitepress'
22

33
export const section1SidebarItems: DefaultTheme.SidebarItem[] = [
4-
{ text: '環境構築 (windows)', link: '/chapter1/section1/0_setup-windows' },
5-
{ text: '環境構築 (macOS)', link: '/chapter1/section1/1_setup-unix' },
4+
{ text: '環境構築 (windows)*', link: '/chapter1/section1/0_setup-windows' },
5+
{ text: '環境構築 (macOS)*', link: '/chapter1/section1/1_setup-unix' },
66
{
7-
text: 'Go で Hello World',
7+
text: 'Rust で Hello World*',
88
link: '/chapter1/section1/2_hello-world'
99
}
1010
]

docs/.vitepress/sidebarConfigs/chapters/chapter1/sections/section3.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ import type { DefaultTheme } from 'vitepress'
22

33
export const section3SidebarItems: DefaultTheme.SidebarItem[] = [
44
{
5-
text: 'サーバーアプリケーションを作る',
5+
text: 'サーバーアプリケーションを作る*',
66
link: '/chapter1/section3/0_hello-server'
77
},
88
{
9-
text: 'JSONレスポンスを返す',
9+
text: 'JSONレスポンスを返す*',
1010
link: '/chapter1/section3/1_json-response'
1111
},
1212
{
13-
text: 'ルーティング',
13+
text: 'ルーティング*',
1414
link: '/chapter1/section3/2_rooting'
1515
},
1616
{
17-
text: 'サーバー演習問題',
17+
text: 'サーバー演習問題*',
1818
link: '/chapter1/section3/3_server-exercise'
1919
}
2020
]

docs/.vitepress/sidebarConfigs/chapters/chapter1/sections/section4.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { DefaultTheme } from 'vitepress'
22

33
export const section4SidebarItems: DefaultTheme.SidebarItem[] = [
44
{
5-
text: 'データベースを扱う準備',
5+
text: 'データベースを扱う準備*',
66
link: '/chapter1/section4/0_prepare'
77
},
88
{
@@ -14,11 +14,11 @@ export const section4SidebarItems: DefaultTheme.SidebarItem[] = [
1414
link: '/chapter1/section4/2_sql_exercise'
1515
},
1616
{
17-
text: 'Goでデータベースを扱う',
18-
link: '/chapter1/section4/3_go_and_db'
17+
text: 'Rustでデータベースを扱う*',
18+
link: '/chapter1/section4/3_rust_and_db'
1919
},
2020
{
21-
text: 'サーバーからデータベースを扱う',
21+
text: 'サーバーからデータベースを扱う*',
2222
link: '/chapter1/section4/4_server_and_db'
2323
}
2424
]

docs/.vitepress/sidebarConfigs/chapters/chapter2/sections/section1.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import type { DefaultTheme } from 'vitepress'
77
// ]
88

99
export const section1SidebarItems: DefaultTheme.SidebarItem[] = [
10-
{ text: 'プロジェクトのセットアップ', link: '/chapter2/section1/0_setup' },
11-
{ text: 'アカウント機能の実装', link: '/chapter2/section1/1_account' },
12-
{ text: 'セッションの実装', link: '/chapter2/section1/2_session' },
13-
{ text: '検証', link: '/chapter2/section1/3_verify' },
10+
{ text: 'プロジェクトのセットアップ*', link: '/chapter2/section1/0_setup' },
11+
{ text: 'アカウント機能の実装*', link: '/chapter2/section1/1_account' },
12+
{ text: 'セッションの実装*', link: '/chapter2/section1/2_session' },
13+
{ text: '検証*', link: '/chapter2/section1/3_verify' },
1414
{ text: 'おまけ演習問題', link: '/chapter2/section1/4_extra' }
1515
]

docs/.vitepress/sidebarConfigs/chapters/chapter2/sections/section2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ import type { DefaultTheme } from 'vitepress'
33
export const section2SidebarItems: DefaultTheme.SidebarItem[] = [
44
{ text: 'vue-routerの設定', link: '/chapter2/section2/0_router-setup' },
55
{ text: 'プロキシの設定', link: '/chapter2/section2/1_proxy' },
6-
{ text: 'サーバーとの通信', link: '/chapter2/section2/2_fetch' }
6+
{ text: 'サーバーとの通信*', link: '/chapter2/section2/2_fetch' }
77
]

0 commit comments

Comments
 (0)