Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
22520e0
feat(package): add honkit instead of gitbook
kubosho Jan 5, 2023
c3caf91
feat(SUMMARY): SUMMARY.mdを新たに構築しなおした
kubosho Jan 5, 2023
11b54b3
chore(book.json): 不要なファイルを削除した
kubosho Jan 5, 2023
8abd35e
chore(*): 不要なファイルを削除した
kubosho Jan 5, 2023
4c6c7ee
build(package): ビルド用に複数のスクリプトを追加した
kubosho Jan 5, 2023
1647986
refactor(*): change directory structure
kubosho Jan 5, 2023
99dac58
refactor(assets): move asset files
kubosho Jan 5, 2023
d999dfa
feat(book.json): add book.json
kubosho Jan 5, 2023
0d36d53
feat(chapters): add README.md
kubosho Jan 5, 2023
809d328
build(Makefile): remove unnecessary Makefile
kubosho Jan 5, 2023
b3d1338
chore(package): remove cpx package
kubosho Jan 5, 2023
fc33d1e
chore(package): add semantic-release packages and settings
kubosho Jan 5, 2023
f71a823
chore(renovate): remove renovate config file
kubosho Jan 5, 2023
200ea40
ci(github): add dependabot config
kubosho Jan 5, 2023
0b3ff50
ci(github): add GitHub actions config
kubosho Jan 5, 2023
cca8237
ci(circleci): remove CircleCI config
kubosho Jan 5, 2023
35d06ac
docs(README): remove CircleCI badge
kubosho Jan 5, 2023
3bd817f
chore(tools): remove tools directory
kubosho Jan 5, 2023
96b7023
chore(packages): remove pkg-dir package
kubosho Jan 5, 2023
2eb1ba4
feat(*): add landing page
kubosho Jan 5, 2023
b14aab0
chore(prettier): change printWidth config
kubosho Jan 5, 2023
7263658
chore(book.json): disable lunr plugin
kubosho Jan 5, 2023
b107ad7
feat(_layouts): add theme template
kubosho Jan 6, 2023
7a40680
chore(chapters): add description
kubosho Jan 6, 2023
9012287
chore(chapters): add fullTitle
kubosho Jan 6, 2023
e7116ad
chore(package): add prettier-plugin-md-nocjsp package
kubosho Jan 6, 2023
b70cc06
chore(prettier): use prettier-plugin-md-nocjsp
kubosho Jan 6, 2023
2baa6db
chore(package): update prettier version
kubosho Jan 6, 2023
158c716
refactor(*.md): auto formatted by prettier
kubosho Jan 6, 2023
7779f64
fix(chapters): correct footnote format
kubosho Jan 6, 2023
a1d66f2
feat(*): introduce Google Analytics
kubosho Jan 6, 2023
e2c67bf
feat(sns-share): add pocket button
kubosho Jan 6, 2023
842f268
feat(sns-share): tweak share button style
kubosho Jan 6, 2023
d32671c
fix(chapters): fix textlint
kubosho Jan 6, 2023
e2ff5bc
refactor(*): change directory structure
kubosho Jan 6, 2023
d16a24d
refactor(assets/images): change directory structure
kubosho Jan 6, 2023
1fbef74
chore(package): add npm-run-all package
kubosho Jan 6, 2023
7c08bb5
build(*): add icons copy script
kubosho Jan 6, 2023
8fbebd4
feat(website/page): add OGP data
kubosho Jan 6, 2023
f9c0662
feat(introduction): add Twitter links
kubosho Jan 6, 2023
cb66080
docs(LICENSE): add Steins;Git REBUILD license
kubosho Jan 6, 2023
54d7664
feat(package): change copyright
kubosho Jan 6, 2023
73d6264
chore(sns-share): remove data-hashtags
kubosho Jan 6, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 0 additions & 75 deletions .circleci/config.yml

This file was deleted.

12 changes: 12 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: 2
updates:
- package-ecosystem: npm
assignees:
- 'kubosho'
directory: '/'
schedule:
interval: weekly
time: '10:00'
timezone: Asia/Tokyo
versioning-strategy: increase
open-pull-requests-limit: 20
32 changes: 32 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Release

on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: setup Node.js
uses: actions/setup-node@v1
with:
node-version: 18
- name: install dependencies
run: yarn install
- name: lint
run: yarn lint
- name: release
run: npx semantic-release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
13 changes: 11 additions & 2 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
module.exports = {
printWidth: 100,
endOfLine: 'auto',
printWidth: 120,
singleQuote: true,
tabWidth: 2,
trailingComma: 'all',
};
overrides: [
{
files: ['*.md'],
options: {
parser: 'markdown-nocjsp',
},
},
],
};
461 changes: 204 additions & 257 deletions CHANGELOG.md

Large diffs are not rendered by default.

10 changes: 6 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Steins;Gitにようこそ!この文章を読んでくださっているとい

## はじめに

Steins;GitはSteins;Gateの二次創作物となります。そのため貢献をする前に[著作物転載ガイドライン|ニトロプラス Nitroplus](https://www.nitroplus.co.jp/license/)と[二次創作活動における同人誌等の活動に関する取り扱いについて|ニトロプラス Nitroplus](https://www.nitroplus.co.jp/license/fanbook.php)を読み、これらに遵守した形で貢献をしていただけるようお願いします。
Steins;GitはSteins;Gateの二次創作物となります。そのため貢献をする前に[著作物転載ガイドライン|ニトロプラスNitroplus](https://www.nitroplus.co.jp/license/)と[二次創作活動における同人誌等の活動に関する取り扱いについて|ニトロプラスNitroplus](https://www.nitroplus.co.jp/license/fanbook.php)を読み、これらに遵守した形で貢献をしていただけるようお願いします。

## Steins;Gitに主に関わっている人

Expand Down Expand Up @@ -37,7 +37,9 @@ Steins;Gitは「Gitの使い方を、Steins;Gateの世界観を使って説明
## 新たな章や節を追加する際のガイドライン

1. まずIssueを立てます。タイトルは「[ChX-x] 章や節のタイトル」という形式にします。(例: [Ch1-3] 集中型バージョン管理)
- 必ず「writing」というラベルをつけます。

- 必ず「writing」というラベルをつけます。

2. 新たにbranchを作ります。branch名は「feature/id/:issue-id」という形式にします。
3. 執筆します。
4. Pull Requestをmasterに対して出します。出来るかぎりレビューしてからマージという形をとります。
Expand All @@ -49,9 +51,9 @@ Steins;Gitは「Gitの使い方を、Steins;Gateの世界観を使って説明

## ディレクトリの命名規則について

- Ch*/
- Ch\*/
- 各章と節を書いたAsciidoc形式のファイルが格納されています。各ディレクトリには必ずreadme.adocがあり、そこで各節をincludeしています。
- Ch*/img
- Ch\*/img
- 各章や節で使う画像が格納されています。

## 自分のPC上でSteins;Gitを確認したい場合について
Expand Down
10 changes: 8 additions & 2 deletions LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@

### v2.2.2以降の文章と独自に作成した図を使いたい場合

<a rel="license" href="https://creativecommons.org/licenses/by-nc/4.0/deed.ja">Creative Commons — 表示 - 非営利 4.0 国際 — CC BY-NC 4.0</a>
<a rel="license" href="https://creativecommons.org/licenses/by-nc/4.0/deed.ja">Creative Commons — 表示 - 非営利4.0国際 — CC BY-NC 4.0</a>

### v2.2.1以前の文章と独自に作成した図を使いたい場合

<a rel="license" href="https://creativecommons.org/licenses/by-nc/2.1/jp/">Creative Commons — 表示 - 非営利 2.1 日本 — CC BY-NC 2.1 JP</a>
<a rel="license" href="https://creativecommons.org/licenses/by-nc/2.1/jp/">Creative Commons — 表示 - 非営利2.1日本 — CC BY-NC 2.1 JP</a>

## ソースコードとその他の文章

Expand Down Expand Up @@ -43,6 +43,12 @@ Based on a work at <a xmlns:dct="http://purl.org/dc/terms/" href="http://steinsg

Based on a work at <a xmlns:dct="http://purl.org/dc/terms/" href="http://steinsgate.jp/" rel="dct:source">STEINS;GATE</a>.

### Steins;Git REBUILD

© GiantRobot / KinoAkmt

Based on a work at <a xmlns:dct="http://purl.org/dc/terms/" href="http://steinsgate.jp/" rel="dct:source">STEINS;GATE</a>.

## イラスト

© GiantRobot
Expand Down
94 changes: 0 additions & 94 deletions Makefile

This file was deleted.

7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
Steins;Git
===========

[![CircleCI](https://circleci.com/gh/o2project/steins-git.svg?style=svg&circle-token=de169eedf1024803e57569d75b18cf82e8d87330)](https://circleci.com/gh/o2project/steins-git)
# Steins;Git

「GitをSteins;Gateの世界観を使って説明する」薄い本です。

Expand Down Expand Up @@ -42,4 +39,4 @@ make serve
4. リモートにプッシュします: `git push origin my-new-feature`
5. pull requestしましょう :D

詳しくは[CONTRIBUTING.md](CONTRIBUTING.md "CONTRIBUTING.md")に様々な案内を書いているので、参考にしてみてください。
詳しくは[CONTRIBUTING.md](CONTRIBUTING.md 'CONTRIBUTING.md')に様々な案内を書いているので、参考にしてみてください。
6 changes: 6 additions & 0 deletions SUMMARY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# 目次

- [第一章 - 改変管理のデュバス](./src/chapter1.md)
- [第二章 - 率先躬行のサインポスト](./src/chapter2.md)
- [第三章 - 百家争鳴のセルビチウム](./src/chapter3.md)
- [あとがき](./src/post-script.md)
12 changes: 8 additions & 4 deletions book.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
{
"root": "./src/",
"title": "Steins;Git",
"gitbook": ">=3.0.0",
"title": "Steins;Git #steinsgit",
"description": "Steins;Gateを用いてGitを解説する薄い本",
"author": "kubosho",
"language": "ja",
"gitbook": ">=3.0.0",
"plugins": ["-search"]
"plugins": ["-search", "-lunr"],
"root": "./src/",
"structure": {
"readme": "index.md",
"summary": "README.md"
}
}
Loading