mirror of
https://github.com/yeasy/docker_practice.git
synced 2026-08-10 08:27:25 +00:00
The build script anticipated an older mdPress behaviour where a shared --output made the site land in a sibling directory, then moved it back: mdpress build --format site --output _site && rm -rf _site && mv _site_site _site mdPress 0.8.1 writes straight into --output, so the sibling never appears and the mv aborts the step: ✓ Generated site → .../docker_practice/_site/index.html mv: cannot stat '_site_site': No such file or directory Caught by a smoke test after 0.8.1 shipped, before any content push fanned it out — this repo is the only one with a live copy of the workaround (the three matches in other repos are inside gitignored _book/ build artifacts). The site itself built fine; only the post-processing dance failed.
28 lines
1.1 KiB
Go
28 lines
1.1 KiB
Go
{
|
|
"name": "docker_practice",
|
|
"version": "1.9.2",
|
|
"description": "docker_practice",
|
|
"private": true,
|
|
"devDependencies": {
|
|
"@mermaid-js/mermaid-cli": "11.16.0"
|
|
},
|
|
"scripts": {
|
|
"test": "node scripts/check_metadata.js && python3 -m unittest tools.test_prepare_pdf_sources && python3 -m unittest discover -s tests -p 'test_*.py' && python3 tools/test_examples.py",
|
|
"mdpress:help": "mdpress --help",
|
|
"build": "rm -rf _site && mdpress build --format site --output _site",
|
|
"serve": "mdpress serve",
|
|
"start": "mdpress serve",
|
|
"pdf": "rm -rf /tmp/docker_practice-pdf-src && python3 tools/prepare_pdf_sources.py --book-dir . --out /tmp/docker_practice-pdf-src && cd /tmp/docker_practice-pdf-src && mdpress build --format pdf --output \"${INIT_CWD:-$PWD}/docker_practice.pdf\""
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/yeasy/docker_practice.git"
|
|
},
|
|
"author": "",
|
|
"license": "CC-BY-NC-SA-4.0",
|
|
"bugs": {
|
|
"url": "https://github.com/yeasy/docker_practice/issues"
|
|
},
|
|
"homepage": "https://github.com/yeasy/docker_practice#readme"
|
|
}
|