authoring server 2
All checks were successful
Build Org Website / build (push) Successful in 45s

This commit is contained in:
2026-05-07 12:30:48 +01:00
parent 72cd3e89ad
commit d3a668f353
4 changed files with 191 additions and 75 deletions

View File

@@ -6,12 +6,13 @@ The site is written using Emacs and Org-mode, and exported using the `org-publis
## Local authoring UI
Run `make author` and open `http://127.0.0.1:8765` to create or edit blog and post Org files from a browser.
Run `make author` and open `http://127.0.0.1:8765` to create or edit blog and post Org files from a browser. When deployed behind the reverse proxy, use `https://author.zainezq.com`.
The editor writes normal `.org` pages with the metadata used by the publishing pipeline:
- blogs are created under `blogs/YYYY/MM-month/slug.org`
- posts are created under `posts/slug.org`, or `posts/section/slug.org` when a section is provided
- blogs default to `blogs/YYYY/MM-month/slug.org`
- posts default to `posts/slug.org`, or `posts/section/slug.org` when a section is provided
- new pages can use an explicit path under `blogs/` or `posts/`
- saving a page starts `emacs -Q --script build-site.el` and then regenerates the search index
While that build is running, the UI disables editing and the API rejects further saves. The status panel unlocks the editor when publishing finishes.
Saves enqueue builds. The editor remains usable while publishing runs, and the queue section shows the current build, pending builds, and recent build results.