Skip to content

chore(deps): use HonKit #130

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Sep 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
38 changes: 38 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: test
on:
push:
branches:
- master
env:
CI: true
jobs:
test:
name: "Test on Node.js ${{ matrix.node-version }}"
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12]
steps:
- name: checkout
uses: actions/checkout@v2
- name: setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: npm install
- name: Build
run: npm run build
- name: Test
run: npm test
- name: Build ebook
run: |
docker build . -t honkit
docker run -v `pwd`:`pwd` -w `pwd` honkit node_modules/.bin/honkit pdf . _book/JavaScript-Plugin-Architecture.pdf
docker run -v `pwd`:`pwd` -w `pwd` honkit node_modules/.bin/honkit epub . _book/JavaScript-Plugin-Architecture.epub
docker run -v `pwd`:`pwd` -w `pwd` honkit node_modules/.bin/honkit mobi . _book/JavaScript-Plugin-Architecture.mobi
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_book
24 changes: 24 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: test
on: [push, pull_request]
env:
CI: true
jobs:
test:
name: "Test on Node.js ${{ matrix.node-version }}"
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12]
steps:
- name: checkout
uses: actions/checkout@v2
- name: setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: npm install
- name: Build
run: npm run build
- name: Test
run: npm test
10 changes: 0 additions & 10 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@

## Usage

この書籍は[GitBook](https://github.com/GitbookIO/gitbook "GitBook")を使い書かれています。
この書籍は[HonKit](https://github.com/honkit/honkit)を使い書かれています。

### 表示の確認

`npm start`でGitBookのローカルサーバを立ち上げて表示を確認できます
`npm start`で[HonKit](https://github.com/honkit/honkit)のローカルサーバを立ち上げて表示を確認できます

npm start

Expand Down
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM honkit/honkit:latest
LABEL maintainer="[email protected]"

# Install fonts
COPY fonts/ipaexg00201s /usr/share/fonts
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# JavaScript Plugin Architecture [![Build Status](https://travis-ci.org/azu/JavaScript-Plugin-Architecture.svg?branch=master)](https://travis-ci.org/azu/JavaScript-Plugin-Architecture)
# JavaScript Plugin Architecture [![Actions Status: test](https://github.com/azu/JavaScript-Plugin-Architecture/workflows/test/badge.svg)](https://github.com/azu/JavaScript-Plugin-Architecture/actions?query=workflow%3A"test")

この書籍はJavaScriptのライブラリやツールにおけるプラグインアーキテクチャについて見ていくことを目的としたものです。

Expand Down
2 changes: 1 addition & 1 deletion book.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"githubId": "azu/JavaScript-Plugin-Architecture",
"author": "azu",
"pdf": {
"fontFamily": "nato-sans"
"fontFamily": "IPAexMincho"
},
"plugins": [
"include-codeblock",
Expand Down
117 changes: 117 additions & 0 deletions fonts/ipaexg00201s/IPA_Font_License_Agreement_v1.0.txt

Large diffs are not rendered by default.

34 changes: 34 additions & 0 deletions fonts/ipaexg00201s/Readme_ipaexg00201.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
IPAex�t�H���g�iIPAex�S�V�b�N�j
�\ �͂��߂ɂ��ǂ݂������� �\

IPAex�t�H���g�́AJIS X 0213:2004�ɏ�������TrueType�A�E�g���C���x�[�X��OpenType�t�H���g�ł��B

IPAex�t�H���g�̎g�p�܂��͗��p�ɓ������ẮA�Y�t�́uIPA�t�H���g���C�Z���Xv1.0�v�ɒ�߂�����ɏ]���Ă��������B
IPAex�t�H���g���g�p���A�������A�܂��͔Еz����s�ׁA���̑��A�uIPA�t�H���g���C�Z���Xv1.0�v�ɒ�߂錠���̗��p���s�����ꍇ�A��̎҂́uIPA�t�H���g���C�Z���Xv1.0�v�ɓ��ӂ������̂ƌ��Ȃ��܂��B


IPAex�t�H���g�iIPAex�S�V�b�N�j ipaexg00201.zip
|--�͂��߂ɂ��ǂ݂������� Readme_ipaexg00201.txt
|--IPA�t�H���g���C�Z���Xv1.0 IPA_Font_License_Agreement_v1.0.txt
|--IPAex�S�V�b�N(Ver.002.01) ipaexg.ttf


�uIPA�t�H���g�v�́AIPA�̓o�^���W�ł��B

=========================
IPAex Font (IPAex Gothic)
-- Readme --

IPAex Fonts are JIS X 0213:2004 compliant OpenType fonts based on TrueType outlines.

In using IPAex fonts, please comply with the terms and conditions set out in "IPA Font License Agreement v1.0" included in this package.
Any use, reproduction or distribution of the IPA Font or any exercise of rights under "IPA Font License Agreement v1.0" by a Recipient constitutes the Recipient's acceptance of the License Agreement.


IPAex Font (IPAexGothic) ipaexg00201.zip
|--Readme Readme_ipaexg00201.txt
|--IPA Font License Agreement v1.0 IPA_Font_License_Agreement_v1.0.txt
|--IPAexGothic(Ver.002.01) ipaexg.ttf


"IPA Font" is a registered trademark of IPA in Japan.
Binary file added fonts/ipaexg00201s/ipaexg.ttf
Binary file not shown.
Loading