aboutsummaryrefslogtreecommitdiff
path: root/mdbook
diff options
context:
space:
mode:
authorJim Newsome <jnewsome@torproject.org>2023-11-09 18:23:30 -0600
committerJim Newsome <jnewsome@torproject.org>2023-11-09 18:45:20 -0600
commit72722037eed69e1a05d204c62ed9629f5b571b85 (patch)
tree135871a7b4049be1d87741f72259f96f82170e24 /mdbook
parent1eef207b51ddbb92c2bc4a02ae7b46929583355b (diff)
downloadtorspec-72722037eed69e1a05d204c62ed9629f5b571b85.tar.gz
torspec-72722037eed69e1a05d204c62ed9629f5b571b85.zip
Reorganize output
Adding an additional output plugin to mdbook causes it to create an extra level of subdirectories in its build directory; one for each output plugin. We add an intermediate build directory `build`, and after building the individual mdbooks, construct the `html` directory with the desired layout.
Diffstat (limited to 'mdbook')
-rw-r--r--mdbook/proposals/book.toml2
-rw-r--r--mdbook/spec/book.toml2
2 files changed, 2 insertions, 2 deletions
diff --git a/mdbook/proposals/book.toml b/mdbook/proposals/book.toml
index 8a6045b..e466b1b 100644
--- a/mdbook/proposals/book.toml
+++ b/mdbook/proposals/book.toml
@@ -7,7 +7,7 @@ title = "Tor design proposals"
use-default-preprocessors = false
[build]
-build-dir = "../../html/proposals"
+build-dir = "../../build/proposals"
[preprocessor.links]
diff --git a/mdbook/spec/book.toml b/mdbook/spec/book.toml
index 58dc503..16668c9 100644
--- a/mdbook/spec/book.toml
+++ b/mdbook/spec/book.toml
@@ -6,7 +6,7 @@ src = "../../spec"
title = "Tor Specifications"
[build]
-build-dir = "../../html"
+build-dir = "../../build/spec"
[preprocessor]