commit d3af23783c35151a511fc7fc37d88cf41831448c
parent 7fc077ed2558c8174237388d00924fd139f786ce
Author: Nick Mathewson <nickm@torproject.org>
Date: Mon, 4 Nov 2019 07:40:20 -0500
Document our top-level directories
Diffstat:
5 files changed, 26 insertions(+), 5 deletions(-)
diff --git a/src/app/app.dox b/src/app/app.dox
@@ -1,4 +1,8 @@
/**
@dir app
-@brief app
+@brief app: top-level entry point for Tor
+
+The "app" directory has Tor's main entry point and configuration logic,
+and is responsible for initializing and managing the other modules in
+Tor.
**/
diff --git a/src/core/core.dox b/src/core/core.dox
@@ -1,4 +1,8 @@
/**
@dir core
-@brief core
+@brief core: main loop and onion routing functionality
+
+The "core" directory has the central protocols for Tor, which every
+client and relay must implement in order to perform onion routing.
+
**/
diff --git a/src/feature/feature.dox b/src/feature/feature.dox
@@ -1,4 +1,9 @@
/**
@dir feature
-@brief feature
+@brief feature: domain-specific modules
+
+The "feature" directory has modules that Tor uses only for a particular
+role or service, such as maintaining/using an onion service, operating as a
+relay or a client, or being a directory authority.
+
**/
diff --git a/src/lib/lib.dox b/src/lib/lib.dox
@@ -1,4 +1,8 @@
/**
@dir lib
-@brief lib
+@brief lib: low-level functionality.
+
+The "lib" directory contains low-level functionality, most of it not
+necessarily Tor-specific.
+
**/
diff --git a/src/tools/tools.dox b/src/tools/tools.dox
@@ -1,4 +1,8 @@
/**
@dir tools
-@brief tools
+@brief tools: other command-line tools for use with Tor.
+
+The "tools" directory has a few other programs that use Tor, but are not part
+of the main Tor binary.
+
**/