Publisher Guide
Publisher Guide
Section titled “Publisher Guide”As a Publisher, you compile workspaces into .vyview files, style them with CSS, and merge them into a catalog the viewer can load.
The step-by-step workflow is in Packing and publishing. Configuration tables: Workspace configuration. Commands: CLI reference.
1. Identity
Section titled “1. Identity”Set a stable [workspace] id. Pack writes build/<id>.vyview. Publish copies that file into [publish] publisher_dir and updates catalog.json. Generic names like workspace collide in catalogs.
[workspace]id = "vedabase-bg"name = "Bhagavad-gita As It Is"2. Pack
Section titled “2. Pack”vyasac packDefault target is view → .vyview (SQLite for the reader). This is the artifact apps load. Other [build.default] target values (zip, sqlite, vyir) are for tooling, not the hosted viewer.
3. Inspect
Section titled “3. Inspect”vyasav inspect build/vedabase-bg.vyviewvyasav inspect --check build/vedabase-bg.vyview4. Publish
Section titled “4. Publish”[publish]publisher_dir = "../.."vyasac publishRequires publisher.toml in that directory (identifier, content_themes, optional [org]). Catalog fields: Packing and publishing.