- Replace 11ty static site generator with Zensical (Material for MkDocs)
- Remove Node.js dependencies, `package.json`, `pnpm-lock.yaml`, and `node_modules`
- Refactor directory structure: move docs to `docs/`, assets to `docs/{img, stylesheets, javascripts}`, and build output to `site/`
- Create modular bin scripts for Zensical, 11ty, and Vuepress workflows (init, dev, build, serve)
- Update `.gitignore` to track `.venv` and `site` instead of `node_modules` and `_site`
- Rewrite `README.md` and `AGENTS.md` to reflect new tooling and structure
- Update `task` and `task.template` with new documentation commands and help rows
- Implement `install` and `uninstall` scripts to fetch scripts from remote repository
- Add `zensical.toml` configuration with Material theme, dark mode toggle, and navigation
- Fix shellcheck issues in `task.template` and `save-pass-to-keepass`
- Update `prompt.md` with completion status and worklog
38 lines
947 B
Bash
Executable File
38 lines
947 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
init-vuepress-docs() {
|
|
if [[ ! -f "package.json" ]]; then
|
|
echo "Create package.json"
|
|
cat > package.json << 'EOF'
|
|
{
|
|
"name": "taskfile.build-docs",
|
|
"version": "1.0.0",
|
|
"description": "Taskfile Build Documentation",
|
|
"scripts": {
|
|
"dev": "vuepress dev .",
|
|
"build": "NODE_OPTIONS='--max-old-space-size=1024' vuepress build ."
|
|
},
|
|
"devDependencies": {
|
|
"@vuepress/bundler-vite": "2.0.0-rc.31",
|
|