diff --git a/docs/api-examples.md b/docs/api-examples.md deleted file mode 100644 index 6bd8bb5c..00000000 --- a/docs/api-examples.md +++ /dev/null @@ -1,49 +0,0 @@ ---- -outline: deep ---- - -# Runtime API Examples - -This page demonstrates usage of some of the runtime APIs provided by VitePress. - -The main `useData()` API can be used to access site, theme, and page data for the current page. It works in both `.md` and `.vue` files: - -```md - - -## Results - -### Theme Data -
{{ theme }}
- -### Page Data -
{{ page }}
- -### Page Frontmatter -
{{ frontmatter }}
-``` - - - -## Results - -### Theme Data -
{{ theme }}
- -### Page Data -
{{ page }}
- -### Page Frontmatter -
{{ frontmatter }}
- -## More - -Check out the documentation for the [full list of runtime APIs](https://vitepress.dev/reference/runtime-api#usedata). diff --git a/docs/cpp/chapter-1/1-A.md b/docs/cpp/chapter-1/1-A.md new file mode 100644 index 00000000..28aba6c8 --- /dev/null +++ b/docs/cpp/chapter-1/1-A.md @@ -0,0 +1 @@ +# 1.1-A Macの環境構築 diff --git a/docs/cpp/chapter-1/1-B.md b/docs/cpp/chapter-1/1-B.md new file mode 100644 index 00000000..3ab66f75 --- /dev/null +++ b/docs/cpp/chapter-1/1-B.md @@ -0,0 +1 @@ +# 1.1-B Windowsの環境構築 diff --git a/docs/cpp/chapter-1/index.md b/docs/cpp/chapter-1/index.md new file mode 100644 index 00000000..555e13fb --- /dev/null +++ b/docs/cpp/chapter-1/index.md @@ -0,0 +1 @@ +# 1. 環境構築 diff --git a/docs/cpp/chapter-2/1.md b/docs/cpp/chapter-2/1.md new file mode 100644 index 00000000..35095081 --- /dev/null +++ b/docs/cpp/chapter-2/1.md @@ -0,0 +1,7 @@ +# 2.1 プログラミングの基礎知識 + +## 2.1.1 プログラミングとは + +## 2.1.2 OSとは + +## 2.1.3 コンパイルとは diff --git a/docs/cpp/chapter-2/2.md b/docs/cpp/chapter-2/2.md new file mode 100644 index 00000000..a4a80524 --- /dev/null +++ b/docs/cpp/chapter-2/2.md @@ -0,0 +1,7 @@ +# 2.2 作業環境の構築 + +## 2.2.1 はじめてのターミナル + +## 2.2.2 ディレクトリとは + +## 2.2.3 作業環境の構築(仮) diff --git a/docs/cpp/chapter-2/3.md b/docs/cpp/chapter-2/3.md new file mode 100644 index 00000000..4f129d5b --- /dev/null +++ b/docs/cpp/chapter-2/3.md @@ -0,0 +1,5 @@ +# 2.3 はじめてのプログラミング + +## 2.3.1 Hello, traP! + +## 2.3.2 [発展] nanoを使ったプログラミング(仮) diff --git a/docs/cpp/chapter-2/index.md b/docs/cpp/chapter-2/index.md new file mode 100644 index 00000000..e9779b21 --- /dev/null +++ b/docs/cpp/chapter-2/index.md @@ -0,0 +1 @@ +# 2. はじめてのプログラミング diff --git a/docs/cpp/chapter-2/problems/index.md b/docs/cpp/chapter-2/problems/index.md new file mode 100644 index 00000000..c62e2659 --- /dev/null +++ b/docs/cpp/chapter-2/problems/index.md @@ -0,0 +1 @@ +# 練習問題 diff --git a/docs/cpp/chapter-3/1.md b/docs/cpp/chapter-3/1.md new file mode 100644 index 00000000..56363c69 --- /dev/null +++ b/docs/cpp/chapter-3/1.md @@ -0,0 +1,25 @@ +# 3.1 Hello, traP! の解説 + +## 3.1.1 コメント + +## 3.1.2 cout + + + +## 3.1.3 セミコロン + +## 3.1.4 include命令 + +## 3.1.5 using namespace std + +## 3.1.6 main関数 + +## 3.1.7 プログラムの雛形 + +``` +#include +using namespace std; +int main() { + // この下にプログラムを書く +} +``` diff --git a/docs/cpp/chapter-3/2.md b/docs/cpp/chapter-3/2.md new file mode 100644 index 00000000..6a004b37 --- /dev/null +++ b/docs/cpp/chapter-3/2.md @@ -0,0 +1,7 @@ +# 3.2 int型変数 + +## 3.2.1 int型変数とは + +## 3.2.2 int型変数の計算 + +## 3.2.3 オーバーフロー diff --git a/docs/cpp/chapter-3/3.md b/docs/cpp/chapter-3/3.md new file mode 100644 index 00000000..3228d868 --- /dev/null +++ b/docs/cpp/chapter-3/3.md @@ -0,0 +1,5 @@ +# 3.3 標準入出力 + +## 3.3.1 標準入力 + +## 3.3.2 標準出力 diff --git a/docs/cpp/chapter-3/index.md b/docs/cpp/chapter-3/index.md new file mode 100644 index 00000000..5010b2f2 --- /dev/null +++ b/docs/cpp/chapter-3/index.md @@ -0,0 +1 @@ +# 3. 変数と入出力 diff --git a/docs/cpp/chapter-3/problems/index.md b/docs/cpp/chapter-3/problems/index.md new file mode 100644 index 00000000..c62e2659 --- /dev/null +++ b/docs/cpp/chapter-3/problems/index.md @@ -0,0 +1 @@ +# 練習問題 diff --git a/docs/cpp/chapter-4/1.md b/docs/cpp/chapter-4/1.md new file mode 100644 index 00000000..75376886 --- /dev/null +++ b/docs/cpp/chapter-4/1.md @@ -0,0 +1,9 @@ +# 4.1 if文 + +## 4.1.1 if + +## 4.1.2 else + +## 4.1.3 else if + +## 4.1.4 変数のスコープ diff --git a/docs/cpp/chapter-4/2.md b/docs/cpp/chapter-4/2.md new file mode 100644 index 00000000..bc2ccdc8 --- /dev/null +++ b/docs/cpp/chapter-4/2.md @@ -0,0 +1,7 @@ +# 4.2 演算子 + +## 4.2.1 比較演算子 + +## 4.2.2 論理演算子 + +## 4.2.3 演算子の優先順位 diff --git a/docs/cpp/chapter-4/index.md b/docs/cpp/chapter-4/index.md new file mode 100644 index 00000000..8e84ac2d --- /dev/null +++ b/docs/cpp/chapter-4/index.md @@ -0,0 +1 @@ +# 4. 条件分岐 diff --git a/docs/cpp/chapter-4/problems/index.md b/docs/cpp/chapter-4/problems/index.md new file mode 100644 index 00000000..c62e2659 --- /dev/null +++ b/docs/cpp/chapter-4/problems/index.md @@ -0,0 +1 @@ +# 練習問題 diff --git a/docs/cpp/chapter-5/1.md b/docs/cpp/chapter-5/1.md new file mode 100644 index 00000000..eef14147 --- /dev/null +++ b/docs/cpp/chapter-5/1.md @@ -0,0 +1 @@ +# 5.1 bool型 diff --git a/docs/cpp/chapter-5/2.md b/docs/cpp/chapter-5/2.md new file mode 100644 index 00000000..8e81ae28 --- /dev/null +++ b/docs/cpp/chapter-5/2.md @@ -0,0 +1 @@ +# 5.2 double型 diff --git a/docs/cpp/chapter-5/3.md b/docs/cpp/chapter-5/3.md new file mode 100644 index 00000000..f1a6c475 --- /dev/null +++ b/docs/cpp/chapter-5/3.md @@ -0,0 +1 @@ +# 5.3 string型① diff --git a/docs/cpp/chapter-5/index.md b/docs/cpp/chapter-5/index.md new file mode 100644 index 00000000..6a674653 --- /dev/null +++ b/docs/cpp/chapter-5/index.md @@ -0,0 +1 @@ +# 5. 型 diff --git a/docs/cpp/chapter-5/problems/index.md b/docs/cpp/chapter-5/problems/index.md new file mode 100644 index 00000000..c62e2659 --- /dev/null +++ b/docs/cpp/chapter-5/problems/index.md @@ -0,0 +1 @@ +# 練習問題 diff --git a/docs/cpp/chapter-6/1.md b/docs/cpp/chapter-6/1.md new file mode 100644 index 00000000..df9a3cd5 --- /dev/null +++ b/docs/cpp/chapter-6/1.md @@ -0,0 +1 @@ +# 6.1 for文 diff --git a/docs/cpp/chapter-6/2.md b/docs/cpp/chapter-6/2.md new file mode 100644 index 00000000..98eb6633 --- /dev/null +++ b/docs/cpp/chapter-6/2.md @@ -0,0 +1 @@ +# 6.2 while文 diff --git a/docs/cpp/chapter-6/3.md b/docs/cpp/chapter-6/3.md new file mode 100644 index 00000000..c9353205 --- /dev/null +++ b/docs/cpp/chapter-6/3.md @@ -0,0 +1 @@ +# 6.3 配列 diff --git a/docs/cpp/chapter-6/4.md b/docs/cpp/chapter-6/4.md new file mode 100644 index 00000000..afd0d7f6 --- /dev/null +++ b/docs/cpp/chapter-6/4.md @@ -0,0 +1 @@ +# 6.4 string型②とchar型 diff --git a/docs/cpp/chapter-6/5.md b/docs/cpp/chapter-6/5.md new file mode 100644 index 00000000..e8f02c1b --- /dev/null +++ b/docs/cpp/chapter-6/5.md @@ -0,0 +1 @@ +# 6.5 continueとbreak diff --git a/docs/cpp/chapter-6/index.md b/docs/cpp/chapter-6/index.md new file mode 100644 index 00000000..dc493e5a --- /dev/null +++ b/docs/cpp/chapter-6/index.md @@ -0,0 +1 @@ +# 6. 繰り返し処理 diff --git a/docs/cpp/chapter-6/problems/index.md b/docs/cpp/chapter-6/problems/index.md new file mode 100644 index 00000000..c62e2659 --- /dev/null +++ b/docs/cpp/chapter-6/problems/index.md @@ -0,0 +1 @@ +# 練習問題 diff --git a/docs/cpp/chapter-7/1.md b/docs/cpp/chapter-7/1.md new file mode 100644 index 00000000..64e8c36c --- /dev/null +++ b/docs/cpp/chapter-7/1.md @@ -0,0 +1 @@ +# 7.1 関数とは diff --git a/docs/cpp/chapter-7/2.md b/docs/cpp/chapter-7/2.md new file mode 100644 index 00000000..769b7206 --- /dev/null +++ b/docs/cpp/chapter-7/2.md @@ -0,0 +1 @@ +# 7.2 引数 diff --git a/docs/cpp/chapter-7/3.md b/docs/cpp/chapter-7/3.md new file mode 100644 index 00000000..91f26fd6 --- /dev/null +++ b/docs/cpp/chapter-7/3.md @@ -0,0 +1 @@ +# 7.3 返り値 diff --git a/docs/cpp/chapter-7/4.md b/docs/cpp/chapter-7/4.md new file mode 100644 index 00000000..083e4b0e --- /dev/null +++ b/docs/cpp/chapter-7/4.md @@ -0,0 +1 @@ +# 7.4 [発展] 参照渡し diff --git a/docs/cpp/chapter-7/index.md b/docs/cpp/chapter-7/index.md new file mode 100644 index 00000000..a5731a78 --- /dev/null +++ b/docs/cpp/chapter-7/index.md @@ -0,0 +1 @@ +# 7. 関数 diff --git a/docs/cpp/chapter-7/problems/index.md b/docs/cpp/chapter-7/problems/index.md new file mode 100644 index 00000000..c62e2659 --- /dev/null +++ b/docs/cpp/chapter-7/problems/index.md @@ -0,0 +1 @@ +# 練習問題 diff --git a/docs/cpp/chapter-8/1.md b/docs/cpp/chapter-8/1.md new file mode 100644 index 00000000..02deb48c --- /dev/null +++ b/docs/cpp/chapter-8/1.md @@ -0,0 +1 @@ +# 8.1 構造体とは diff --git a/docs/cpp/chapter-8/2.md b/docs/cpp/chapter-8/2.md new file mode 100644 index 00000000..915dc758 --- /dev/null +++ b/docs/cpp/chapter-8/2.md @@ -0,0 +1 @@ +# 8.2 メソッド diff --git a/docs/cpp/chapter-8/index.md b/docs/cpp/chapter-8/index.md new file mode 100644 index 00000000..6cc0e417 --- /dev/null +++ b/docs/cpp/chapter-8/index.md @@ -0,0 +1 @@ +# 8. 構造体 diff --git a/docs/cpp/chapter-8/problems/index.md b/docs/cpp/chapter-8/problems/index.md new file mode 100644 index 00000000..c62e2659 --- /dev/null +++ b/docs/cpp/chapter-8/problems/index.md @@ -0,0 +1 @@ +# 練習問題 diff --git a/docs/cpp/epilogue/index.md b/docs/cpp/epilogue/index.md new file mode 100644 index 00000000..40e3d76b --- /dev/null +++ b/docs/cpp/epilogue/index.md @@ -0,0 +1 @@ +# おわりに diff --git a/docs/cpp/index.md b/docs/cpp/index.md new file mode 100644 index 00000000..1e0ca6a5 --- /dev/null +++ b/docs/cpp/index.md @@ -0,0 +1 @@ +# diff --git a/docs/cpp/preface/1.md b/docs/cpp/preface/1.md new file mode 100644 index 00000000..d0dee87a --- /dev/null +++ b/docs/cpp/preface/1.md @@ -0,0 +1 @@ +# この講習会について diff --git a/docs/cpp/preface/2.md b/docs/cpp/preface/2.md new file mode 100644 index 00000000..4141a5a8 --- /dev/null +++ b/docs/cpp/preface/2.md @@ -0,0 +1 @@ +# このテキストについて diff --git a/docs/cpp/preface/index.md b/docs/cpp/preface/index.md new file mode 100644 index 00000000..c8da318d --- /dev/null +++ b/docs/cpp/preface/index.md @@ -0,0 +1 @@ +# はじめに diff --git a/docs/markdown-examples.md b/docs/markdown-examples.md deleted file mode 100644 index 8e55eb8a..00000000 --- a/docs/markdown-examples.md +++ /dev/null @@ -1,85 +0,0 @@ -# Markdown Extension Examples - -This page demonstrates some of the built-in markdown extensions provided by VitePress. - -## Syntax Highlighting - -VitePress provides Syntax Highlighting powered by [Shiki](https://github.com/shikijs/shiki), with additional features like line-highlighting: - -**Input** - -```` -```js{4} -export default { - data () { - return { - msg: 'Highlighted!' - } - } -} -``` -```` - -**Output** - -```js{4} -export default { - data () { - return { - msg: 'Highlighted!' - } - } -} -``` - -## Custom Containers - -**Input** - -```md -::: info -This is an info box. -::: - -::: tip -This is a tip. -::: - -::: warning -This is a warning. -::: - -::: danger -This is a dangerous warning. -::: - -::: details -This is a details block. -::: -``` - -**Output** - -::: info -This is an info box. -::: - -::: tip -This is a tip. -::: - -::: warning -This is a warning. -::: - -::: danger -This is a dangerous warning. -::: - -::: details -This is a details block. -::: - -## More - -Check out the documentation for the [full list of markdown extensions](https://vitepress.dev/guide/markdown).