mirror of
https://gitlab.com/DevLifeFromModernWay/devlifefrommodernway.gitlab.io.git
synced 2025-06-20 23:25:36 +00:00
Compare commits
5 Commits
2023-10-15
...
2023-10-15
Author | SHA1 | Date | |
---|---|---|---|
6dd0859ac0 | |||
48fbf2cd74 | |||
ab0e714cf3 | |||
c4b6827f27 | |||
a5acf0c4a3 |
@ -22,9 +22,10 @@ release:
|
||||
rules:
|
||||
- if: $CI_COMMIT_TAG
|
||||
script:
|
||||
- 'release-cli create --name "book-$CI_COMMIT_TAG" --tag-name $CI_COMMIT_TAG --assets-link "{\"name\":\"book.pdf\", \"url\":\"${PACKAGE_REGISTRY_URL}/book-${CI_COMMIT_TAG}.pdf\"}"'
|
||||
- 'release-cli create --name "book-$CI_COMMIT_TAG" --tag-name $CI_COMMIT_TAG --assets-link "{\"name\":\"book.epub\", \"url\":\"${PACKAGE_REGISTRY_URL}/book-${CI_COMMIT_TAG}.epub\"}"'
|
||||
- 'release-cli create --name "book-$CI_COMMIT_TAG" --tag-name $CI_COMMIT_TAG --assets-link "{\"name\":\"book.mobi\", \"url\":\"${PACKAGE_REGISTRY_URL}/book-${CI_COMMIT_TAG}.mobi\"}"'
|
||||
- release-cli create --name "book-$CI_COMMIT_TAG" --tag-name $CI_COMMIT_TAG
|
||||
--assets-link "{\"name\":\"book.pdf\", \"url\":\"${PACKAGE_REGISTRY_URL}/book-${CI_COMMIT_TAG}.pdf\"}"
|
||||
--assets-link "{\"name\":\"book.epub\", \"url\":\"${PACKAGE_REGISTRY_URL}/book-${CI_COMMIT_TAG}.epub\"}"
|
||||
--assets-link "{\"name\":\"book.mobi\", \"url\":\"${PACKAGE_REGISTRY_URL}/book-${CI_COMMIT_TAG}.mobi\"}"
|
||||
|
||||
image: node:lts-bullseye
|
||||
pages:
|
||||
@ -50,5 +51,6 @@ pages:
|
||||
artifacts:
|
||||
paths:
|
||||
- public/
|
||||
- target/
|
||||
rules:
|
||||
- if: $CI_COMMIT_TAG
|
||||
|
@ -8,7 +8,8 @@
|
||||
"anchors",
|
||||
"collapsible-chapters",
|
||||
"hide-published-with",
|
||||
"hints"
|
||||
"hints",
|
||||
"search-pro-fixed"
|
||||
],
|
||||
"pdf.fontSize": 16,
|
||||
"pdf.fontFamily": "ZenMaruGothic",
|
||||
|
@ -7,15 +7,16 @@
|
||||
"build": "run-s build:content",
|
||||
"build:content": "run-p build:content:*",
|
||||
"build:content:web": "honkit build",
|
||||
"build:content:pdf": "honkit pdf . ./target/book.pdf",
|
||||
"build:content:epub": "honkit epub . ./target/book.epub",
|
||||
"build:content:mobi": "honkit mobi . ./target/book.mobi"
|
||||
"build:content:pdf": "mkdir -p ./target/ && honkit pdf . ./target/book.pdf",
|
||||
"build:content:epub": "mkdir -p ./target/ && honkit epub . ./target/book.epub",
|
||||
"build:content:mobi": "mkdir -p ./target/ && honkit mobi . ./target/book.mobi"
|
||||
},
|
||||
"devDependencies": {
|
||||
"gitbook-plugin-anchors": "^0.7.1",
|
||||
"gitbook-plugin-collapsible-chapters": "^0.1.8",
|
||||
"gitbook-plugin-hide-published-with": "^0.0.1",
|
||||
"gitbook-plugin-hints": "^1.0.2",
|
||||
"gitbook-plugin-search-pro-fixed": "^1.0.1",
|
||||
"graceful-fs": "^4.2.11",
|
||||
"honkit": "^5.1.1",
|
||||
"npm-run-all": "^4.1.5"
|
||||
|
10
pnpm-lock.yaml
generated
10
pnpm-lock.yaml
generated
@ -17,6 +17,9 @@ devDependencies:
|
||||
gitbook-plugin-hints:
|
||||
specifier: ^1.0.2
|
||||
version: 1.0.2
|
||||
gitbook-plugin-search-pro-fixed:
|
||||
specifier: ^1.0.1
|
||||
version: 1.0.1
|
||||
graceful-fs:
|
||||
specifier: ^4.2.11
|
||||
version: 4.2.11
|
||||
@ -816,6 +819,13 @@ packages:
|
||||
lunr: 0.5.12
|
||||
dev: true
|
||||
|
||||
/gitbook-plugin-search-pro-fixed@1.0.1:
|
||||
resolution: {integrity: sha512-X6pBgfN54D3Ij+iF4cw44PZCdOvjnqboEoi0bsolEYPzcJOXFiiemxYt+rit95T8UbSaML38o8SCPzl9grM/zA==}
|
||||
engines: {gitbook: '>=3.0.0'}
|
||||
dependencies:
|
||||
html-entities: 1.2.0
|
||||
dev: true
|
||||
|
||||
/gitbook-plugin-search@2.2.1:
|
||||
resolution: {integrity: sha512-oP9jhaKFUVPo756G9ywuuI43YdkZClSjfpFzNKe/a/Rcn3oVsrAM/PjdQ+dt65KfZVo3iW1LY4WdiZnNqzRP8g==}
|
||||
engines: {gitbook: '>=3.0.0-pre.0'}
|
||||
|
@ -1,12 +1,20 @@
|
||||
# 「モダンからはじめる プログラミング生活!」
|
||||
|
||||
## 本としてダウンロード
|
||||
{% hint style="info" %}
|
||||
|
||||
[PDF](https://gitlab.com/api/v4/projects/DevLifeFromModernWay%2Fdevlifefrommodernway.gitlab.io/releases/permalink/latest/downloads/book.pdf)
|
||||
**本としてダウンロード**
|
||||
|
||||
[EPUB](https://gitlab.com/api/v4/projects/DevLifeFromModernWay%2Fdevlifefrommodernway.gitlab.io/releases/permalink/latest/downloads/book.epub)
|
||||
[**Releases**](https://gitlab.com/DevLifeFromModernWay/devlifefrommodernway.gitlab.io/-/releases/permalink/latest) から以下のファイル形式でのダウンロードも可能です。
|
||||
|
||||
[MOBI](https://gitlab.com/api/v4/projects/DevLifeFromModernWay%2Fdevlifefrommodernway.gitlab.io/releases/permalink/latest/downloads/book.mobi)
|
||||
- PDF
|
||||
|
||||
- EPUB
|
||||
|
||||
- MOBI
|
||||
|
||||
**link: <https://gitlab.com/DevLifeFromModernWay/devlifefrommodernway.gitlab.io/-/releases/permalink/latest>**
|
||||
|
||||
{% endhint %}
|
||||
|
||||
## このリポジトリについて
|
||||
|
||||
|
Reference in New Issue
Block a user