feat: switching Fedran theme to new version

BREAKING CHANGE: the new theme changed page numbers
This commit is contained in:
D. Moonfire 2020-01-01 23:42:24 -06:00
parent b65afdbc82
commit 415dc327d5
6 changed files with 2867 additions and 2904 deletions

View File

@ -1,12 +1,12 @@
image: dmoonfire/mfgames-writing-js:1.1.1
image: dmoonfire/mfgames-writing-js:2.0.0
stages:
- publish
publish:
stage: publish
tags:
- docker
only: [master]
tags: [docker]
script:
# Install the basic requirements including the free fonts.
- npm ci
@ -28,10 +28,7 @@ publish:
- npx semantic-release
# Build the files.
- npm run build
# Trigger the Fedran website to rebuild.
- "curl -X POST -F token=$fedranAccessKey -F ref=master https://gitlab.com/api/v4/projects/4027285/trigger/pipeline"
- npm run upload
artifacts:
expire_in: 1 week

View File

@ -1,9 +0,0 @@
---
title: title
---
<div class="title">
<div class="large">Sand</div>
<div class="medium">and</div>
<div class="large">Ash</div>
</div>

View File

@ -3,9 +3,11 @@ title: Title
---
<div class="title">
<div class="large">Sand</div>
<div class="medium">and</div>
<div class="large">Ash</div>
<div class="title-area">
<div class="large">Sand</div>
<div class="medium">and</div>
<div class="large">Ash</div>
</div>
<div class="author">D. Moonfire</div>

5711
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -21,29 +21,33 @@
"build:docx": "sed 's@&#173;@@g' < dmoonfire-$npm_package_fedran_pov-$npm_package_fedran_vol-$npm_package_name-$npm_package_version.html | pandoc -f html -t docx -o dmoonfire-$npm_package_fedran_pov-$npm_package_fedran_vol-$npm_package_name-$npm_package_version.docx",
"build:mobi": "kindlegen dmoonfire-$npm_package_fedran_pov-$npm_package_fedran_vol-$npm_package_name-$npm_package_version.epub",
"build:html": "mfgames-writing-format build html",
"commitmsg": "commitlint -E GIT_PARAMS"
"prebuild:mobi": "npm run build:epub",
"prebuild": "rm -f $npm_package_name-*.* $npm_package_name.tar.bz2",
"bundle": "tar -cjf $npm_package_name.tar.bz2 *.epub *.pdf",
"prebundle": "npm run build",
"upload": "aws --endpoint-url https://$AWS_ENDPOINT s3 cp --acl public-read $npm_package_name.tar.bz2 s3://$AWS_BUCKET/$npm_package_name.tar.bz2",
"preupload": "npm run bundle"
},
"dependencies": {
"@fedran/writing-hyphen": "^1.0.0",
"@fedran/writing-theme": "^2.0.2",
"@fedran/writing-theme": "^3.0.5",
"@mfgames-writing/epub2": "^1.1.3",
"@mfgames-writing/format": "^2.0.0",
"@mfgames-writing/guillemet": "^1.0.0",
"@mfgames-writing/html": "^0.1.1",
"@mfgames-writing/hyphen": "^0.4.3",
"@mfgames-writing/weasyprint": "^3.0.2"
"@mfgames-writing/weasyprint": "^4.0.0"
},
"devDependencies": {
"@commitlint/cli": "^7.5.2",
"@commitlint/config-conventional": "^7.5.0",
"@semantic-release/changelog": "^3.0.2",
"@semantic-release/git": "^7.0.8",
"@commitlint/cli": "^7.6.1",
"@commitlint/config-conventional": "^7.6.0",
"@semantic-release/changelog": "^3.0.6",
"@semantic-release/git": "^7.0.18",
"commitizen": "^2.10.1",
"cz-conventional-changelog": "^2.1.0",
"husky": "^0.14.3",
"semantic-release": "^15.13.3"
"semantic-release": "^15.14.0"
},
"private": true,
"release": {
"branch": "master",
"message": "chore(release): v${nextRelease.version}\n\n${nextRelease.notes}",
@ -71,5 +75,11 @@
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"private": true
}

View File

@ -39,7 +39,7 @@ contents:
editions: [pdf]
toc: true
- element: bastard
source: frontmatter/bastard.html
source: frontmatter/title.html
linear: false
exclude:
editions: [epub]