Discover a texrra-web sibling checkout
The repository is checked out as texrra-engine next to texrra-web, but find_web_root only looked for ../web and ./web, so a plain `cargo run --release -- serve examples/hello.tex 4174` served the "frontend not found" page. The search now also accepts ../texrra-web and ./texrra-web, and the startup warning names the sibling checkout. README and STATUS document the accepted layouts. Verified without TEXRRA_WEB_DIR: the server printed "Serving the web frontend from ../texrra-web" and GET / returned the editor index.
This commit is contained in:
1 parent
254fd4a9a1
commit
fab26234fc
3 files changed
+12
-6
No files matched your search
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
The project is split into two repositories: `texrra-engine` (this Rust engine
|
||||
and HTTP server) and `texrra-web` (the static editor frontend). The engine
|
||||
discovers the frontend through `TEXRRA_WEB_DIR`, `../web`, or `./web`.
|
||||
discovers the frontend through `TEXRRA_WEB_DIR`, or a sibling `web` / `texrra-web` directory.
|
||||
|
||||
Rust-native, Typst-inspired incremental LaTeX engine. No external XeLaTeX is
|
||||
invoked. The live server keeps compiled documents cached and only rebuilds when
|
||||
|
||||
Reference in new issue
Block a user