Skip to content

🗂️ feat: add vault-aware TOML publish manifest - #5

Merged
Restuta merged 2 commits into
mainfrom
feat/vault-manifest-toml
Jun 22, 2026
Merged

🗂️ feat: add vault-aware TOML publish manifest#5
Restuta merged 2 commits into
mainfrom
feat/vault-manifest-toml

Conversation

@Restuta

@Restuta Restuta commented Mar 27, 2026

Copy link
Copy Markdown
Owner

Summary

  • add a vault-aware committed manifest at .pubmd/pages.toml for files published from inside an Obsidian vault
  • detect the nearest .obsidian/ root automatically and store source paths relative to that vault root
  • use the manifest as first-class publish state for namespace/page ID/slug reuse so republishing stays stable even from a different working directory
  • keep the existing .pub file as local working-state cache
  • document the new manifest in the README and progress log

Why

For Obsidian vault workflows, .pub is useful local state but not good shared repository knowledge. A committed TOML manifest makes it clear which vault notes map to which published pages and lets the CLI preserve those mappings across machines and working directories.

Verification

  • npm run verify
  • CLI smoke-tested on a local pubmd server:
    • published a note from vault/notes
    • confirmed .pubmd/pages.toml was created with source = "notes/vision.md"
    • republished the same note from the vault root with a different local mapping file
    • verified the published URL stayed the same and the served page returned the updated body content

@vercel

vercel Bot commented Mar 27, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
publish-it Ready Ready Preview, Comment Jun 22, 2026 11:59am

@Restuta Restuta changed the title feat: add vault-aware TOML publish manifest 🗂️ feat: add vault-aware TOML publish manifest Jun 22, 2026
@Restuta
Restuta merged commit e5d4e99 into main Jun 22, 2026
2 checks passed
@Restuta
Restuta deleted the feat/vault-manifest-toml branch June 22, 2026 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant