Skip to content

Commit 60883d8

Browse files
committed
📚 READMEの追加
1 parent 6545801 commit 60883d8

File tree

2 files changed

+48
-1
lines changed

2 files changed

+48
-1
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22
*
33

44
!.gitignore
5-
!Makefile
5+
!LICENSE
6+
!Makefile
7+
!README.md

README.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# PHP 日本語マニュアル 翻訳用リポジトリ
2+
3+
![License](https://img.shields.io/badge/license-MIT-blue.svg)
4+
![PHP Version](https://img.shields.io/badge/PHP-%3E%3D8.3-8892BF.svg)
5+
6+
## 概要
7+
8+
- 日本語マニュアルの翻訳に必要なリポジトリや、ビルドなどを行うための Makefile を用意しています。
9+
- ローカルに PHP をインストールして使用してください。
10+
- PHP 8.3.13 (cli)
11+
12+
## セットアップ
13+
14+
```bash
15+
make setup
16+
```
17+
18+
セットアップを行うことで、以下のようなディレクトリ構成になります。
19+
20+
```
21+
.
22+
├── Makefile # プロジェクトのビルド・実行用のMakefile
23+
├── doc-base # ドキュメントベースの設定ファイル
24+
├── en # 英語版のドキュメント
25+
├── ja # 日本語版のドキュメント
26+
├── output # 生成物が格納されるディレクトリ
27+
└── phd # ドキュメントビルドツール
28+
```
29+
30+
## ビルド
31+
32+
```bash
33+
make build
34+
make xhtml
35+
```
36+
37+
## ローカルで確認
38+
39+
```bash
40+
make open
41+
```
42+
43+
## 参考
44+
45+
https://doc.php.net/guide/local-setup.md

0 commit comments

Comments
 (0)