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: stages:
- publish - publish
publish: publish:
stage: publish stage: publish
tags: only: [master]
- docker tags: [docker]
script: script:
# Install the basic requirements including the free fonts. # Install the basic requirements including the free fonts.
- npm ci - npm ci
@ -28,10 +28,7 @@ publish:
- npx semantic-release - npx semantic-release
# Build the files. # Build the files.
- npm run build - npm run upload
# Trigger the Fedran website to rebuild.
- "curl -X POST -F token=$fedranAccessKey -F ref=master https://gitlab.com/api/v4/projects/4027285/trigger/pipeline"
artifacts: artifacts:
expire_in: 1 week 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="title">
<div class="title-area">
<div class="large">Sand</div> <div class="large">Sand</div>
<div class="medium">and</div> <div class="medium">and</div>
<div class="large">Ash</div> <div class="large">Ash</div>
</div>
<div class="author">D. Moonfire</div> <div class="author">D. Moonfire</div>

5653
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: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: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", "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": { "dependencies": {
"@fedran/writing-hyphen": "^1.0.0", "@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/epub2": "^1.1.3",
"@mfgames-writing/format": "^2.0.0", "@mfgames-writing/format": "^2.0.0",
"@mfgames-writing/guillemet": "^1.0.0", "@mfgames-writing/guillemet": "^1.0.0",
"@mfgames-writing/html": "^0.1.1", "@mfgames-writing/html": "^0.1.1",
"@mfgames-writing/hyphen": "^0.4.3", "@mfgames-writing/hyphen": "^0.4.3",
"@mfgames-writing/weasyprint": "^3.0.2" "@mfgames-writing/weasyprint": "^4.0.0"
}, },
"devDependencies": { "devDependencies": {
"@commitlint/cli": "^7.5.2", "@commitlint/cli": "^7.6.1",
"@commitlint/config-conventional": "^7.5.0", "@commitlint/config-conventional": "^7.6.0",
"@semantic-release/changelog": "^3.0.2", "@semantic-release/changelog": "^3.0.6",
"@semantic-release/git": "^7.0.8", "@semantic-release/git": "^7.0.18",
"commitizen": "^2.10.1", "commitizen": "^2.10.1",
"cz-conventional-changelog": "^2.1.0", "cz-conventional-changelog": "^2.1.0",
"husky": "^0.14.3", "husky": "^0.14.3",
"semantic-release": "^15.13.3" "semantic-release": "^15.14.0"
}, },
"private": true,
"release": { "release": {
"branch": "master", "branch": "master",
"message": "chore(release): v${nextRelease.version}\n\n${nextRelease.notes}", "message": "chore(release): v${nextRelease.version}\n\n${nextRelease.notes}",
@ -71,5 +75,11 @@
"commitizen": { "commitizen": {
"path": "./node_modules/cz-conventional-changelog" "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] editions: [pdf]
toc: true toc: true
- element: bastard - element: bastard
source: frontmatter/bastard.html source: frontmatter/title.html
linear: false linear: false
exclude: exclude:
editions: [epub] editions: [epub]