5 Commits

Author SHA1 Message Date
ea24ce76d3 FIX 2023-10-25 20:59:56 +09:00
682ea769c1 Fix 2023-10-25 20:57:15 +09:00
496c22974d Some style fixes 2023-10-25 20:55:58 +09:00
840892daa6 Apply submodules 2023-10-25 18:46:34 +09:00
e98203ddac Update admonition 2023-10-25 18:41:43 +09:00
17 changed files with 171 additions and 110 deletions

5
.dockerignore Normal file
View File

@ -0,0 +1,5 @@
node_modules
_book
target
EXTERNAL_LICENSE_REPORT.md
.pnpm-store

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ node_modules
_book
target
EXTERNAL_LICENSE_REPORT.md
.pnpm-store

View File

@ -5,6 +5,7 @@ stages:
variables:
PACKAGE_REGISTRY_URL: "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/devlifefrommodernway/${CI_COMMIT_TAG}"
GIT_SUBMODULE_STRATEGY: recursive
upload:
stage: upload
@ -27,9 +28,13 @@ release:
--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:
stage: build
image: docker:24.0.5
services:
- docker:24.0.5-dind
before_script:
- docker info
cache:
key:
files:
@ -37,21 +42,8 @@ pages:
paths:
- node_modules/
script:
- apt-get update && apt-get install -y calibre --no-install-recommends
- apt-get update && apt-get install -y fontconfig unzip sudo
- unzip "./fonts/*.zip" -d /usr/share/fonts/
&& fc-cache -fv
- mkdir -p /etc/fonts/conf.d &&
cp -a ./fonts/fonts.conf /etc/fonts/conf.d/99-firgenerd.conf &&
fc-cache -fv
- sudo corepack enable
- sudo -u node pnpm install
- sudo -u node env LANG=ja_JP.UTF-8 pnpm run build
- docker build -t devlifefrommodernway .
- docker run -v ./:/build devlifefrommodernway
- cp -a _book/. public/
artifacts:
paths:

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "gitbook-plugin-obsidian-code-admonition"]
path = plugins/gitbook-plugin-obsidian-code-admonition
url = https://github.com/anosatsuk124/gitbook-plugin-obsidian-code-admonition.git

24
Dockerfile Normal file
View File

@ -0,0 +1,24 @@
FROM node:lts-bullseye
WORKDIR /build
RUN apt-get update && apt-get install -y calibre --no-install-recommends
RUN apt-get update && apt-get install -y fontconfig unzip sudo
COPY ./fonts /build/fonts
RUN unzip "./fonts/*.zip" -d /usr/share/fonts/ && fc-cache -fv
RUN mkdir -p /etc/fonts/conf.d && \
cp -a ./fonts/fonts.conf /etc/fonts/conf.d/99-firgenerd.conf && fc-cache -fv
RUN sudo corepack enable
ENV LANG=ja_JP.UTF-8
USER node
ENTRYPOINT exec sh -c "pnpm install && pnpm run build"

View File

@ -7,9 +7,12 @@
"anchors",
"collapsible-chapters",
"hide-published-with",
"hints",
"search-pro-fixed",
"image-captions"
"image-captions",
"copy-code-button",
"obsidian-code-admonition",
"-highlight",
"prism"
],
"pdf.fontFamily": "FirgeNerd",
"pdf.fontSize": 16,

View File

@ -2,10 +2,6 @@
"fields": [
"name",
"author",
"licenseType",
"link",
"installedVersion",
"licensePeriod",
"comment"
"link"
]
}

View File

@ -15,12 +15,14 @@
"devDependencies": {
"gitbook-plugin-anchors": "^0.7.1",
"gitbook-plugin-collapsible-chapters": "^0.1.8",
"gitbook-plugin-copy-code-button": "^0.0.2",
"gitbook-plugin-hide-published-with": "^0.0.1",
"gitbook-plugin-hints": "^1.0.2",
"gitbook-plugin-obsidian-code-admonition": "link:./plugins/gitbook-plugin-obsidian-code-admonition",
"gitbook-plugin-search-pro-fixed": "^1.0.1",
"graceful-fs": "^4.2.11",
"honkit": "^5.1.1",
"honkit-plugin-image-captions": "^3.1.1",
"honkit-plugin-prism": "^2.5.1",
"license-report": "^6.5.0",
"npm-run-all": "^4.1.5"
}

81
pnpm-lock.yaml generated
View File

@ -4,11 +4,6 @@ settings:
autoInstallPeers: true
excludeLinksFromLockfile: false
dependencies:
honkit-plugin-image-captions:
specifier: ^3.1.1
version: 3.1.1
devDependencies:
gitbook-plugin-anchors:
specifier: ^0.7.1
@ -16,12 +11,15 @@ devDependencies:
gitbook-plugin-collapsible-chapters:
specifier: ^0.1.8
version: 0.1.8
gitbook-plugin-copy-code-button:
specifier: ^0.0.2
version: 0.0.2
gitbook-plugin-hide-published-with:
specifier: ^0.0.1
version: 0.0.1
gitbook-plugin-hints:
specifier: ^1.0.2
version: 1.0.2
gitbook-plugin-obsidian-code-admonition:
specifier: link:./plugins/gitbook-plugin-obsidian-code-admonition
version: link:plugins/gitbook-plugin-obsidian-code-admonition
gitbook-plugin-search-pro-fixed:
specifier: ^1.0.1
version: 1.0.1
@ -31,6 +29,12 @@ devDependencies:
honkit:
specifier: ^5.1.1
version: 5.1.1
honkit-plugin-image-captions:
specifier: ^3.1.1
version: 3.1.1
honkit-plugin-prism:
specifier: ^2.5.1
version: 2.5.1
license-report:
specifier: ^6.5.0
version: 6.5.0
@ -235,6 +239,7 @@ packages:
/boolbase@1.0.0:
resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==}
dev: true
/brace-expansion@1.1.11:
resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==}
@ -336,6 +341,7 @@ packages:
lodash.reduce: 4.6.0
lodash.reject: 4.6.0
lodash.some: 4.6.0
dev: true
/cheerio@1.0.0-rc.10:
resolution: {integrity: sha512-g0J0q/O6mW8z5zxQ3A8E8J1hUgp4SMOvEoW/x84OwyHKe/Zccz83PVT4y5Crcr530FV6NgmKI1qvGTKVl9XXVw==}
@ -463,6 +469,7 @@ packages:
css-what: 2.1.3
domutils: 1.5.1
nth-check: 1.0.2
dev: true
/css-select@4.3.0:
resolution: {integrity: sha512-wPpOYtnsVontu2mODhA19JrqWxNsfdatRKd64kmpRbQgh1KtItko5sTnEpPdpSaJszTOhEMlF/RPz28qj4HqhQ==}
@ -486,6 +493,7 @@ packages:
/css-what@2.1.3:
resolution: {integrity: sha512-a+EPoD+uZiNfh+5fxw2nO9QwFa6nJe2Or35fGY6Ipw1R3R4AGz1d1TEZrCegvw2YTmZ0jXirGYlzxxpYSHwpEg==}
dev: true
/css-what@6.1.0:
resolution: {integrity: sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==}
@ -585,6 +593,7 @@ packages:
dependencies:
domelementtype: 1.3.1
entities: 1.1.2
dev: true
/dom-serializer@1.4.1:
resolution: {integrity: sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag==}
@ -604,6 +613,7 @@ packages:
/domelementtype@1.3.1:
resolution: {integrity: sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w==}
dev: true
/domelementtype@2.3.0:
resolution: {integrity: sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==}
@ -613,6 +623,7 @@ packages:
resolution: {integrity: sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==}
dependencies:
domelementtype: 1.3.1
dev: true
/domhandler@3.3.0:
resolution: {integrity: sha512-J1C5rIANUbuYK+FuFL98650rihynUOEzRLxW+90bKZRWB6A1X1Tf82GxR1qAWLyfNPRvjqfip3Q5tdYlmAa9lA==}
@ -640,12 +651,14 @@ packages:
dependencies:
dom-serializer: 0.1.1
domelementtype: 1.3.1
dev: true
/domutils@1.7.0:
resolution: {integrity: sha512-Lgd2XcJ/NjEw+7tFvfKxOzCYKZsdct5lczQ2ZaQY8Djz7pfAD3Gbp8ySJWtreII/vDlMVmxwa6pHmdxIYgttDg==}
dependencies:
dom-serializer: 0.1.1
domelementtype: 1.3.1
dev: true
/domutils@2.8.0:
resolution: {integrity: sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==}
@ -678,6 +691,7 @@ packages:
/entities@1.1.2:
resolution: {integrity: sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==}
dev: true
/entities@2.2.0:
resolution: {integrity: sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==}
@ -931,6 +945,10 @@ packages:
engines: {gitbook: '>=0.4.6'}
dev: true
/gitbook-plugin-copy-code-button@0.0.2:
resolution: {integrity: sha512-47i/0/HQBb9Z7jSkfSkDuwP8vJw6gEpgvI4HTmuKGK4Vqd7mDIE3h/1HgJocLkqtz1/WwDPoU/vNiG/06J4x/Q==}
dev: true
/gitbook-plugin-fontsettings@2.0.0:
resolution: {integrity: sha512-bZpz/Jev7lL1d3VNp41KHZD67UYqyqdOwbsJE6YEW93R2mGiLfZLpUs86d2nrY61BedhlNck1xF52FNT6sWeig==}
engines: {gitbook: '>=2.4.0'}
@ -940,11 +958,6 @@ packages:
resolution: {integrity: sha512-aa4Dch5lJ1xzNRpLur2P53IOLqyWR+me1wwU9hd90+WoHXqL/N7LM3QHwmfZcDVXmU74AxSbp6xoNf8YLAGxcg==}
dev: true
/gitbook-plugin-hints@1.0.2:
resolution: {integrity: sha512-Zj0ZA38H31TZvhnBvyVjSNIUv30MnhNPcFlAJaAKwenytHY7fNYuOv7x1Hjukk4R4A7HGeCILiCW5a4bXRqWWQ==}
engines: {gitbook: '>2.x.x'}
dev: true
/gitbook-plugin-livereload@0.0.1:
resolution: {integrity: sha512-+5xinicId2ZcbP6jBTFfQBnjz8nhoBgcOuQfKTEM6Yg9fBsmo2mxY6ubrx1b5ozuIMyfDLkSihx97A7+X+EtQQ==}
dev: true
@ -1085,7 +1098,16 @@ packages:
dependencies:
cheerio: 0.22.0
q: 1.5.1
dev: false
dev: true
/honkit-plugin-prism@2.5.1:
resolution: {integrity: sha512-tyWb49euUx7We0NptzKNZxICrtjU9qjhfXbpedLIriHJSDyhf3mryoySGvHWJ39AJGTawk5Pzs8puHAXeQDA/g==}
engines: {gitbook: '>=2.4.1'}
dependencies:
cheerio: 0.22.0
mkdirp: 2.1.6
prismjs: 1.29.0
dev: true
/honkit@5.1.1:
resolution: {integrity: sha512-dacSCX0bXL4TF7yT4nQ9ZSTofpFhxrljm4sonrnwxPP1RV36mmQVfFagKfImZvGYxr+HR4wDfVnaSjWExTISWQ==}
@ -1164,6 +1186,7 @@ packages:
entities: 1.1.2
inherits: 2.0.4
readable-stream: 3.6.2
dev: true
/htmlparser2@5.0.1:
resolution: {integrity: sha512-vKZZra6CSe9qsJzh0BjBGXo8dvzNsq/oGvsjfRdOrrryfeD9UOBEEQdeoqCRmKZchF5h2zOBMQ6YuQ0uRUmdbQ==}
@ -1248,6 +1271,7 @@ packages:
/inherits@2.0.4:
resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==}
dev: true
/ini@1.3.8:
resolution: {integrity: sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==}
@ -1501,39 +1525,51 @@ packages:
/lodash.assignin@4.2.0:
resolution: {integrity: sha512-yX/rx6d/UTVh7sSVWVSIMjfnz95evAgDFdb1ZozC35I9mSFCkmzptOzevxjgbQUsc78NR44LVHWjsoMQXy9FDg==}
dev: true
/lodash.bind@4.2.1:
resolution: {integrity: sha512-lxdsn7xxlCymgLYo1gGvVrfHmkjDiyqVv62FAeF2i5ta72BipE1SLxw8hPEPLhD4/247Ijw07UQH7Hq/chT5LA==}
dev: true
/lodash.defaults@4.2.0:
resolution: {integrity: sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ==}
dev: true
/lodash.filter@4.6.0:
resolution: {integrity: sha512-pXYUy7PR8BCLwX5mgJ/aNtyOvuJTdZAo9EQFUvMIYugqmJxnrYaANvTbgndOzHSCSR0wnlBBfRXJL5SbWxo3FQ==}
dev: true
/lodash.flatten@4.4.0:
resolution: {integrity: sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g==}
dev: true
/lodash.foreach@4.5.0:
resolution: {integrity: sha512-aEXTF4d+m05rVOAUG3z4vZZ4xVexLKZGF0lIxuHZ1Hplpk/3B6Z1+/ICICYRLm7c41Z2xiejbkCkJoTlypoXhQ==}
dev: true
/lodash.map@4.6.0:
resolution: {integrity: sha512-worNHGKLDetmcEYDvh2stPCrrQRkP20E4l0iIS7F8EvzMqBBi7ltvFN5m1HvTf1P7Jk1txKhvFcmYsCr8O2F1Q==}
dev: true
/lodash.merge@4.6.2:
resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==}
dev: true
/lodash.pick@4.4.0:
resolution: {integrity: sha512-hXt6Ul/5yWjfklSGvLQl8vM//l3FtyHZeuelpzK6mm99pNvN9yTDruNZPEJZD1oWrqo+izBmB7oUfWgcCX7s4Q==}
dev: true
/lodash.reduce@4.6.0:
resolution: {integrity: sha512-6raRe2vxCYBhpBu+B+TtNGUzah+hQjVdu3E17wfusjyrXBka2nBS8OH/gjVZ5PvHOhWmIZTYri09Z6n/QfnNMw==}
dev: true
/lodash.reject@4.6.0:
resolution: {integrity: sha512-qkTuvgEzYdyhiJBx42YPzPo71R1aEr0z79kAv7Ixg8wPFEjgRgJdUsGMG3Hf3OYSF/kHI79XhNlt+5Ar6OzwxQ==}
dev: true
/lodash.some@4.6.0:
resolution: {integrity: sha512-j7MJE+TuT51q9ggt4fSgVqro163BEFjAt3u97IqU+JA2DkWl80nFTrowzLpZ/BnpN7rrl0JA/593NAdd8p/scQ==}
dev: true
/lodash@4.17.21:
resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==}
@ -1623,6 +1659,12 @@ packages:
hasBin: true
dev: true
/mkdirp@2.1.6:
resolution: {integrity: sha512-+hEnITedc8LAtIP9u3HJDFIdcLV2vXP33sqLLIzkv1Db1zO/1OxbvYf0Y1OC/S/Qo5dxHXepofhmxL02PsKe+A==}
engines: {node: '>=10'}
hasBin: true
dev: true
/moment@2.29.4:
resolution: {integrity: sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w==}
dev: true
@ -1701,6 +1743,7 @@ packages:
resolution: {integrity: sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg==}
dependencies:
boolbase: 1.0.0
dev: true
/nth-check@2.1.1:
resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==}
@ -1864,9 +1907,15 @@ packages:
engines: {node: '>=4'}
dev: true
/prismjs@1.29.0:
resolution: {integrity: sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q==}
engines: {node: '>=6'}
dev: true
/q@1.5.1:
resolution: {integrity: sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw==}
engines: {node: '>=0.6.0', teleport: '>=0.2.0'}
dev: true
/qs@6.11.2:
resolution: {integrity: sha512-tDNIz22aBzCDxLtVH++VnTfzxlfeK5CbqohpSqpJgj1Wg/cQbStNAz3NuqCs5vV+pjBsK4x4pN9HlVh7rcYRiA==}
@ -1919,6 +1968,7 @@ packages:
inherits: 2.0.4
string_decoder: 1.3.0
util-deprecate: 1.0.2
dev: true
/readdirp@3.6.0:
resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==}
@ -1987,6 +2037,7 @@ packages:
/safe-buffer@5.2.1:
resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==}
dev: true
/safe-json-parse@1.0.1:
resolution: {integrity: sha512-o0JmTu17WGUaUOHa1l0FPGXKBfijbxK6qoHzlkihsDXxzBHvJcA7zgviKR92Xs841rX9pK16unfphLq0/KqX7A==}
@ -2177,6 +2228,7 @@ packages:
resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==}
dependencies:
safe-buffer: 5.2.1
dev: true
/strip-ansi@6.0.1:
resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==}
@ -2327,6 +2379,7 @@ packages:
/util-deprecate@1.0.2:
resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==}
dev: true
/valid-data-url@3.0.1:
resolution: {integrity: sha512-jOWVmzVceKlVVdwjNSenT4PbGghU0SBIizAev8ofZVgivk/TVHXSbNL8LP6M3spZvkR9/QolkyJavGSX5Cs0UA==}

3
src/EXTERNAL_LICENSE.md Normal file
View File

@ -0,0 +1,3 @@
# その他の使用ライブラリ等の外部ライセンス
{% include "./EXTERNAL_LICENSE_REPORT.md" %}

View File

@ -1,4 +1,4 @@
# ライセンス情報
# ページのライセンス情報
## 本文
@ -14,12 +14,8 @@
> You should have received a copy of the license along with this
> work. If not, see <https://creativecommons.org/licenses/by/4.0/>.
# フォント
## フォント
| Name | Author | License type | Link |
| :---- | :----------- | :-------------------- | :----------------------------- |
| Firge | Yuko OTAWARA | SIL Open Font License | https://github.com/yuru7/Firge |
## その他の使用ライブラリ等の外部ライセンス
{%include "EXTERNAL_LICENSE_REPORT.md" %}
| Name | Author | Link |
| :---- | :----------- | :----------------------------- |
| Firge | Yuko OTAWARA | https://github.com/yuru7/Firge |

View File

@ -1,32 +1,26 @@
# 「モダンからはじめる プログラミング生活!」
{% hint style="info" %}
> [!info] **本としてダウンロード**
>
> [**Releases**](https://gitlab.com/DevLifeFromModernWay/devlifefrommodernway.gitlab.io/-/releases/permalink/latest) から以下のファイル形式でのダウンロードも可能です。
>
> - PDF
>
> - EPUB
>
> - MOBI
>
> **link: <https://gitlab.com/DevLifeFromModernWay/devlifefrommodernway.gitlab.io/-/releases/permalink/latest>**
**本としてダウンロード**
---
[**Releases**](https://gitlab.com/DevLifeFromModernWay/devlifefrommodernway.gitlab.io/-/releases/permalink/latest) から以下のファイル形式でのダウンロードも可能です。
- PDF
- EPUB
- MOBI
**link: <https://gitlab.com/DevLifeFromModernWay/devlifefrommodernway.gitlab.io/-/releases/permalink/latest>**
{% endhint %}
{% hint style="danger" %}
**注意**:
本リポジトリは余裕をもって、片手間にでも読み進めることを想定しています。
いますぐ即戦力になるような教材では**ありません**。
興味を持ったところから、気軽に読み進めてください。
{% endhint %}
> [!danger] **注意**:
>
> 本リポジトリは余裕をもって、片手間にでも読み進めることを想定しています。
>
> いますぐ即戦力になるような教材では**ありません**。
>
> 興味を持ったところから、気軽に読み進めてください。
本リポジトリはゲーム感覚で現代的で実践的なプログラマになるための教材です。

View File

@ -8,4 +8,8 @@
## リポジトリ情報
- [LICENSE](LICENSE.md)
### ライセンス情報
- [ページのライセンス情報](./LICENSE.md)
- [その他の使用ライブラリ等の外部ライセンス](./EXTERNAL_LICENSE.md)

View File

@ -0,0 +1,13 @@
<!-- prettier-ignore -->
{% extends template.self %}
{% extends "../layout.html" %}
<!-- prettier-ignore -->
{% block title %}{{ page.title }}{% endblock %}
{% block description %}{{ page.description }}{% endblock %}
<!-- prettier-ignore -->
{% block style %}
{{ super() }}
<link rel="stylesheet" href="/_styles/ebook.css" />
{% endblock %}

View File

@ -52,52 +52,19 @@
}
/* Table responsive */
table {
width: 100%;
width: 50%;
border-top: 1px solid #ccc;
border-left: 1px solid #ccc;
border-collapse: collapse;
border-spacing: 0;
}
th,
td {
.markdown-section table td,
.markdown-section table th {
width: 16.6%;
padding: 0.6em 1em;
border-right: 1px solid #ccc;
border-bottom: 1px solid #ccc;
}
@media screen and (max-width: 640px) {
body {
overflow: hidden;
}
table {
display: flex;
}
thead {
white-space: nowrap;
}
tbody {
overflow-x: scroll;
white-space: nowrap;
}
tbody tr {
display: inline-block;
}
tbody tr:last-child {
margin-left: -5px;
}
th,
td {
display: block;
width: auto;
}
word-break: break-word;
}

4
src/_styles/ebook.css Normal file
View File

@ -0,0 +1,4 @@
.markdown-section table td,
.markdown-section table th {
word-wrap: break-word;
}