aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-11-04 10:23:36 -0500
committerNick Mathewson <nickm@torproject.org>2019-11-04 10:23:36 -0500
commit62a473debf98cf43a3645366ec5ab6171d735616 (patch)
tree33071afbed3c166e7202e6a947aafc7b7cc8f644 /src
parent51a98929148e9ca08b33735fb0542759380c57a9 (diff)
downloadtor-62a473debf98cf43a3645366ec5ab6171d735616.tar.gz
tor-62a473debf98cf43a3645366ec5ab6171d735616.zip
Doxygen: Avoid ambiguity in @dir directives
This commit was automatically generated with: find src -name '*.dox' |xargs perl -i -pe 's{\@dir ([^/])}{\@dir /$1};'
Diffstat (limited to 'src')
-rw-r--r--src/app/app.dox2
-rw-r--r--src/app/config/app_config.dox2
-rw-r--r--src/app/main/app_main.dox2
-rw-r--r--src/core/core.dox2
-rw-r--r--src/core/crypto/core_crypto.dox2
-rw-r--r--src/core/mainloop/core_mainloop.dox2
-rw-r--r--src/core/or/core_or.dox2
-rw-r--r--src/core/proto/core_proto.dox2
-rw-r--r--src/feature/api/feature_api.dox2
-rw-r--r--src/feature/client/feature_client.dox2
-rw-r--r--src/feature/control/feature_control.dox2
-rw-r--r--src/feature/dirauth/feature_dirauth.dox2
-rw-r--r--src/feature/dircache/feature_dircache.dox2
-rw-r--r--src/feature/dirclient/feature_dirclient.dox2
-rw-r--r--src/feature/dircommon/feature_dircommon.dox2
-rw-r--r--src/feature/dirparse/feature_dirparse.dox2
-rw-r--r--src/feature/feature.dox2
-rw-r--r--src/feature/hibernate/feature_hibernate.dox2
-rw-r--r--src/feature/hs/feature_hs.dox2
-rw-r--r--src/feature/hs_common/feature_hs_common.dox2
-rw-r--r--src/feature/keymgt/feature_keymgt.dox2
-rw-r--r--src/feature/nodelist/feature_nodelist.dox2
-rw-r--r--src/feature/relay/feature_relay.dox2
-rw-r--r--src/feature/rend/feature_rend.dox2
-rw-r--r--src/feature/stats/feature_stats.dox2
-rw-r--r--src/lib/arch/lib_arch.dox2
-rw-r--r--src/lib/buf/lib_buf.dox2
-rw-r--r--src/lib/cc/lib_cc.dox2
-rw-r--r--src/lib/compress/lib_compress.dox2
-rw-r--r--src/lib/conf/lib_conf.dox2
-rw-r--r--src/lib/confmgt/lib_confmgt.dox2
-rw-r--r--src/lib/container/lib_container.dox2
-rw-r--r--src/lib/crypt_ops/lib_crypt_ops.dox2
-rw-r--r--src/lib/ctime/lib_ctime.dox2
-rw-r--r--src/lib/defs/lib_defs.dox2
-rw-r--r--src/lib/dispatch/lib_dispatch.dox2
-rw-r--r--src/lib/encoding/lib_encoding.dox2
-rw-r--r--src/lib/err/lib_err.dox2
-rw-r--r--src/lib/evloop/lib_evloop.dox2
-rw-r--r--src/lib/fdio/lib_fdio.dox2
-rw-r--r--src/lib/fs/lib_fs.dox2
-rw-r--r--src/lib/geoip/lib_geoip.dox2
-rw-r--r--src/lib/intmath/lib_intmath.dox2
-rw-r--r--src/lib/lock/lib_lock.dox2
-rw-r--r--src/lib/log/lib_log.dox2
-rw-r--r--src/lib/malloc/lib_malloc.dox2
-rw-r--r--src/lib/math/lib_math.dox2
-rw-r--r--src/lib/memarea/lib_memarea.dox2
-rw-r--r--src/lib/meminfo/lib_meminfo.dox2
-rw-r--r--src/lib/net/lib_net.dox2
-rw-r--r--src/lib/osinfo/lib_osinfo.dox2
-rw-r--r--src/lib/process/lib_process.dox2
-rw-r--r--src/lib/pubsub/lib_pubsub.dox2
-rw-r--r--src/lib/sandbox/lib_sandbox.dox2
-rw-r--r--src/lib/smartlist_core/lib_smartlist_core.dox2
-rw-r--r--src/lib/string/lib_string.dox2
-rw-r--r--src/lib/subsys/lib_subsys.dox2
-rw-r--r--src/lib/term/lib_term.dox2
-rw-r--r--src/lib/testsupport/lib_testsupport.dox2
-rw-r--r--src/lib/thread/lib_thread.dox2
-rw-r--r--src/lib/time/lib_time.dox2
-rw-r--r--src/lib/tls/lib_tls.dox2
-rw-r--r--src/lib/trace/lib_trace.dox2
-rw-r--r--src/lib/version/lib_version.dox2
-rw-r--r--src/lib/wallclock/lib_wallclock.dox2
-rw-r--r--src/tools/tools.dox2
66 files changed, 66 insertions, 66 deletions
diff --git a/src/app/app.dox b/src/app/app.dox
index 29e8651d51..21d5791cde 100644
--- a/src/app/app.dox
+++ b/src/app/app.dox
@@ -1,5 +1,5 @@
/**
-@dir app
+@dir /app
@brief app: top-level entry point for Tor
The "app" directory has Tor's main entry point and configuration logic,
diff --git a/src/app/config/app_config.dox b/src/app/config/app_config.dox
index 03762fd27d..d0d2ee3637 100644
--- a/src/app/config/app_config.dox
+++ b/src/app/config/app_config.dox
@@ -1,4 +1,4 @@
/**
-@dir app/config
+@dir /app/config
@brief app/config
**/
diff --git a/src/app/main/app_main.dox b/src/app/main/app_main.dox
index 1d94f89814..3da20226d3 100644
--- a/src/app/main/app_main.dox
+++ b/src/app/main/app_main.dox
@@ -1,4 +1,4 @@
/**
-@dir app/main
+@dir /app/main
@brief app/main
**/
diff --git a/src/core/core.dox b/src/core/core.dox
index 1352daebd3..b37c5e2d81 100644
--- a/src/core/core.dox
+++ b/src/core/core.dox
@@ -1,5 +1,5 @@
/**
-@dir core
+@dir /core
@brief core: main loop and onion routing functionality
The "core" directory has the central protocols for Tor, which every
diff --git a/src/core/crypto/core_crypto.dox b/src/core/crypto/core_crypto.dox
index e5acdd6528..36c12371d9 100644
--- a/src/core/crypto/core_crypto.dox
+++ b/src/core/crypto/core_crypto.dox
@@ -1,4 +1,4 @@
/**
-@dir core/crypto
+@dir /core/crypto
@brief core/crypto
**/
diff --git a/src/core/mainloop/core_mainloop.dox b/src/core/mainloop/core_mainloop.dox
index 9b32cb7f60..e97edde946 100644
--- a/src/core/mainloop/core_mainloop.dox
+++ b/src/core/mainloop/core_mainloop.dox
@@ -1,4 +1,4 @@
/**
-@dir core/mainloop
+@dir /core/mainloop
@brief core/mainloop
**/
diff --git a/src/core/or/core_or.dox b/src/core/or/core_or.dox
index 1289a85c80..754690e008 100644
--- a/src/core/or/core_or.dox
+++ b/src/core/or/core_or.dox
@@ -1,4 +1,4 @@
/**
-@dir core/or
+@dir /core/or
@brief core/or
**/
diff --git a/src/core/proto/core_proto.dox b/src/core/proto/core_proto.dox
index 3e1e4ddb6d..2e92a6513a 100644
--- a/src/core/proto/core_proto.dox
+++ b/src/core/proto/core_proto.dox
@@ -1,4 +1,4 @@
/**
-@dir core/proto
+@dir /core/proto
@brief core/proto
**/
diff --git a/src/feature/api/feature_api.dox b/src/feature/api/feature_api.dox
index cb723b0601..524e3c68e3 100644
--- a/src/feature/api/feature_api.dox
+++ b/src/feature/api/feature_api.dox
@@ -1,4 +1,4 @@
/**
-@dir feature/api
+@dir /feature/api
@brief feature/api
**/
diff --git a/src/feature/client/feature_client.dox b/src/feature/client/feature_client.dox
index 1a4881c50a..755777ec11 100644
--- a/src/feature/client/feature_client.dox
+++ b/src/feature/client/feature_client.dox
@@ -1,4 +1,4 @@
/**
-@dir feature/client
+@dir /feature/client
@brief feature/client
**/
diff --git a/src/feature/control/feature_control.dox b/src/feature/control/feature_control.dox
index 1f6e83c1dd..44fda79895 100644
--- a/src/feature/control/feature_control.dox
+++ b/src/feature/control/feature_control.dox
@@ -1,4 +1,4 @@
/**
-@dir feature/control
+@dir /feature/control
@brief feature/control
**/
diff --git a/src/feature/dirauth/feature_dirauth.dox b/src/feature/dirauth/feature_dirauth.dox
index fa4bee5b31..fa209dfb05 100644
--- a/src/feature/dirauth/feature_dirauth.dox
+++ b/src/feature/dirauth/feature_dirauth.dox
@@ -1,4 +1,4 @@
/**
-@dir feature/dirauth
+@dir /feature/dirauth
@brief feature/dirauth
**/
diff --git a/src/feature/dircache/feature_dircache.dox b/src/feature/dircache/feature_dircache.dox
index 5f1c5cc70f..4447d0cd2e 100644
--- a/src/feature/dircache/feature_dircache.dox
+++ b/src/feature/dircache/feature_dircache.dox
@@ -1,4 +1,4 @@
/**
-@dir feature/dircache
+@dir /feature/dircache
@brief feature/dircache
**/
diff --git a/src/feature/dirclient/feature_dirclient.dox b/src/feature/dirclient/feature_dirclient.dox
index 984a17cf51..65d3d26d0f 100644
--- a/src/feature/dirclient/feature_dirclient.dox
+++ b/src/feature/dirclient/feature_dirclient.dox
@@ -1,4 +1,4 @@
/**
-@dir feature/dirclient
+@dir /feature/dirclient
@brief feature/dirclient
**/
diff --git a/src/feature/dircommon/feature_dircommon.dox b/src/feature/dircommon/feature_dircommon.dox
index 2eff21065c..f647b29281 100644
--- a/src/feature/dircommon/feature_dircommon.dox
+++ b/src/feature/dircommon/feature_dircommon.dox
@@ -1,4 +1,4 @@
/**
-@dir feature/dircommon
+@dir /feature/dircommon
@brief feature/dircommon
**/
diff --git a/src/feature/dirparse/feature_dirparse.dox b/src/feature/dirparse/feature_dirparse.dox
index a6b34c1f5f..934d8e424b 100644
--- a/src/feature/dirparse/feature_dirparse.dox
+++ b/src/feature/dirparse/feature_dirparse.dox
@@ -1,4 +1,4 @@
/**
-@dir feature/dirparse
+@dir /feature/dirparse
@brief feature/dirparse
**/
diff --git a/src/feature/feature.dox b/src/feature/feature.dox
index 1d9c3a9df4..03759f9a17 100644
--- a/src/feature/feature.dox
+++ b/src/feature/feature.dox
@@ -1,5 +1,5 @@
/**
-@dir feature
+@dir /feature
@brief feature: domain-specific modules
The "feature" directory has modules that Tor uses only for a particular
diff --git a/src/feature/hibernate/feature_hibernate.dox b/src/feature/hibernate/feature_hibernate.dox
index e24620a43c..55d89d1c22 100644
--- a/src/feature/hibernate/feature_hibernate.dox
+++ b/src/feature/hibernate/feature_hibernate.dox
@@ -1,4 +1,4 @@
/**
-@dir feature/hibernate
+@dir /feature/hibernate
@brief feature/hibernate
**/
diff --git a/src/feature/hs/feature_hs.dox b/src/feature/hs/feature_hs.dox
index 08801d002d..d93a8c274d 100644
--- a/src/feature/hs/feature_hs.dox
+++ b/src/feature/hs/feature_hs.dox
@@ -1,4 +1,4 @@
/**
-@dir feature/hs
+@dir /feature/hs
@brief feature/hs
**/
diff --git a/src/feature/hs_common/feature_hs_common.dox b/src/feature/hs_common/feature_hs_common.dox
index 8fd4f1b07c..10bc9492c8 100644
--- a/src/feature/hs_common/feature_hs_common.dox
+++ b/src/feature/hs_common/feature_hs_common.dox
@@ -1,4 +1,4 @@
/**
-@dir feature/hs_common
+@dir /feature/hs_common
@brief feature/hs_common
**/
diff --git a/src/feature/keymgt/feature_keymgt.dox b/src/feature/keymgt/feature_keymgt.dox
index 8f72c70bbd..c59843c250 100644
--- a/src/feature/keymgt/feature_keymgt.dox
+++ b/src/feature/keymgt/feature_keymgt.dox
@@ -1,4 +1,4 @@
/**
-@dir feature/keymgt
+@dir /feature/keymgt
@brief feature/keymgt
**/
diff --git a/src/feature/nodelist/feature_nodelist.dox b/src/feature/nodelist/feature_nodelist.dox
index faeb9970b3..eecddcfb51 100644
--- a/src/feature/nodelist/feature_nodelist.dox
+++ b/src/feature/nodelist/feature_nodelist.dox
@@ -1,4 +1,4 @@
/**
-@dir feature/nodelist
+@dir /feature/nodelist
@brief feature/nodelist
**/
diff --git a/src/feature/relay/feature_relay.dox b/src/feature/relay/feature_relay.dox
index 9aa7af48e6..4652bacaf5 100644
--- a/src/feature/relay/feature_relay.dox
+++ b/src/feature/relay/feature_relay.dox
@@ -1,4 +1,4 @@
/**
-@dir feature/relay
+@dir /feature/relay
@brief feature/relay
**/
diff --git a/src/feature/rend/feature_rend.dox b/src/feature/rend/feature_rend.dox
index fcba0d460f..759d2155d3 100644
--- a/src/feature/rend/feature_rend.dox
+++ b/src/feature/rend/feature_rend.dox
@@ -1,4 +1,4 @@
/**
-@dir feature/rend
+@dir /feature/rend
@brief feature/rend
**/
diff --git a/src/feature/stats/feature_stats.dox b/src/feature/stats/feature_stats.dox
index fc4ffd19df..9b9ed87d1f 100644
--- a/src/feature/stats/feature_stats.dox
+++ b/src/feature/stats/feature_stats.dox
@@ -1,4 +1,4 @@
/**
-@dir feature/stats
+@dir /feature/stats
@brief feature/stats
**/
diff --git a/src/lib/arch/lib_arch.dox b/src/lib/arch/lib_arch.dox
index f7cfdbf0e3..edb0cbbf1d 100644
--- a/src/lib/arch/lib_arch.dox
+++ b/src/lib/arch/lib_arch.dox
@@ -1,4 +1,4 @@
/**
-@dir lib/arch
+@dir /lib/arch
@brief lib/arch: Compatibility code for handling different CPU architectures.
**/
diff --git a/src/lib/buf/lib_buf.dox b/src/lib/buf/lib_buf.dox
index f21c4b1b72..9caaba07f0 100644
--- a/src/lib/buf/lib_buf.dox
+++ b/src/lib/buf/lib_buf.dox
@@ -1,4 +1,4 @@
/**
-@dir lib/buf
+@dir /lib/buf
@brief lib/buf
**/
diff --git a/src/lib/cc/lib_cc.dox b/src/lib/cc/lib_cc.dox
index 880cfc44fb..06f4e775bf 100644
--- a/src/lib/cc/lib_cc.dox
+++ b/src/lib/cc/lib_cc.dox
@@ -1,4 +1,4 @@
/**
-@dir lib/cc
+@dir /lib/cc
@brief lib/cc: Macros for managing the C compiler and language.
**/
diff --git a/src/lib/compress/lib_compress.dox b/src/lib/compress/lib_compress.dox
index ac60794565..b1b0902359 100644
--- a/src/lib/compress/lib_compress.dox
+++ b/src/lib/compress/lib_compress.dox
@@ -1,4 +1,4 @@
/**
-@dir lib/compress
+@dir /lib/compress
@brief lib/compress
**/
diff --git a/src/lib/conf/lib_conf.dox b/src/lib/conf/lib_conf.dox
index 2ad051dcf2..be58fe5b55 100644
--- a/src/lib/conf/lib_conf.dox
+++ b/src/lib/conf/lib_conf.dox
@@ -1,5 +1,5 @@
/**
-@dir lib/conf
+@dir /lib/conf
@brief lib/conf: Types and macros for declaring configuration options.
**/
diff --git a/src/lib/confmgt/lib_confmgt.dox b/src/lib/confmgt/lib_confmgt.dox
index 964fe1d074..86cb04e847 100644
--- a/src/lib/confmgt/lib_confmgt.dox
+++ b/src/lib/confmgt/lib_confmgt.dox
@@ -1,4 +1,4 @@
/**
-@dir lib/confmgt
+@dir /lib/confmgt
@brief lib/confmgt
**/
diff --git a/src/lib/container/lib_container.dox b/src/lib/container/lib_container.dox
index 9599cce6ea..fb360368da 100644
--- a/src/lib/container/lib_container.dox
+++ b/src/lib/container/lib_container.dox
@@ -1,5 +1,5 @@
/**
-@dir lib/container
+@dir /lib/container
@brief lib/container: Hash tables, dynamic arrays, bit arrays, etc.
**/
diff --git a/src/lib/crypt_ops/lib_crypt_ops.dox b/src/lib/crypt_ops/lib_crypt_ops.dox
index 1ea0b67d59..0c3e4d7c3f 100644
--- a/src/lib/crypt_ops/lib_crypt_ops.dox
+++ b/src/lib/crypt_ops/lib_crypt_ops.dox
@@ -1,4 +1,4 @@
/**
-@dir lib/crypt_ops
+@dir /lib/crypt_ops
@brief lib/crypt_ops
**/
diff --git a/src/lib/ctime/lib_ctime.dox b/src/lib/ctime/lib_ctime.dox
index bf95b03165..2bcd0f036a 100644
--- a/src/lib/ctime/lib_ctime.dox
+++ b/src/lib/ctime/lib_ctime.dox
@@ -1,5 +1,5 @@
/**
-@dir lib/ctime
+@dir /lib/ctime
@brief lib/ctime: Constant-time code to avoid side-channels.
This module contains constant-time implementations of various
diff --git a/src/lib/defs/lib_defs.dox b/src/lib/defs/lib_defs.dox
index cd39414bfe..8ed4d7a0af 100644
--- a/src/lib/defs/lib_defs.dox
+++ b/src/lib/defs/lib_defs.dox
@@ -1,4 +1,4 @@
/**
-@dir lib/defs
+@dir /lib/defs
@brief lib/defs: Lowest-level constants, used in many places.
**/
diff --git a/src/lib/dispatch/lib_dispatch.dox b/src/lib/dispatch/lib_dispatch.dox
index 9f3a1fc7df..24a4b79e3c 100644
--- a/src/lib/dispatch/lib_dispatch.dox
+++ b/src/lib/dispatch/lib_dispatch.dox
@@ -1,5 +1,5 @@
/**
-@dir lib/dispatch
+@dir /lib/dispatch
@brief lib/dispatch: In-process message delivery.
This module provides a general in-process "message dispatch" system in which
diff --git a/src/lib/encoding/lib_encoding.dox b/src/lib/encoding/lib_encoding.dox
index 19aca645fb..ca698cb183 100644
--- a/src/lib/encoding/lib_encoding.dox
+++ b/src/lib/encoding/lib_encoding.dox
@@ -1,5 +1,5 @@
/**
-@dir lib/encoding
+@dir /lib/encoding
@brief lib/encoding: Encoding data in various forms, types, and transformations
Here we have time formats (timefmt.c), quoted strings (qstring.c), C strings
diff --git a/src/lib/err/lib_err.dox b/src/lib/err/lib_err.dox
index 23f9d9d3a7..d1479b1140 100644
--- a/src/lib/err/lib_err.dox
+++ b/src/lib/err/lib_err.dox
@@ -1,5 +1,5 @@
/**
-@dir lib/err
+@dir /lib/err
@brief lib/err: Lowest-level error handling code.
This module is responsible for generating stack traces, handling raw
diff --git a/src/lib/evloop/lib_evloop.dox b/src/lib/evloop/lib_evloop.dox
index 86b60e3cd5..f60f41968c 100644
--- a/src/lib/evloop/lib_evloop.dox
+++ b/src/lib/evloop/lib_evloop.dox
@@ -1,4 +1,4 @@
/**
-@dir lib/evloop
+@dir /lib/evloop
@brief lib/evloop
**/
diff --git a/src/lib/fdio/lib_fdio.dox b/src/lib/fdio/lib_fdio.dox
index c3ca3b9c88..2615b9791e 100644
--- a/src/lib/fdio/lib_fdio.dox
+++ b/src/lib/fdio/lib_fdio.dox
@@ -1,5 +1,5 @@
/**
-@dir lib/fdio
+@dir /lib/fdio
@brief lib/fdio Code to read/write on file descriptors.
(This module also handles sockets, on platforms where a socket is not a kind
diff --git a/src/lib/fs/lib_fs.dox b/src/lib/fs/lib_fs.dox
index ad775ba553..33ff169280 100644
--- a/src/lib/fs/lib_fs.dox
+++ b/src/lib/fs/lib_fs.dox
@@ -1,4 +1,4 @@
/**
-@dir lib/fs
+@dir /lib/fs
@brief lib/fs
**/
diff --git a/src/lib/geoip/lib_geoip.dox b/src/lib/geoip/lib_geoip.dox
index 7ad99e8f55..454dcb6874 100644
--- a/src/lib/geoip/lib_geoip.dox
+++ b/src/lib/geoip/lib_geoip.dox
@@ -1,4 +1,4 @@
/**
-@dir lib/geoip
+@dir /lib/geoip
@brief lib/geoip
**/
diff --git a/src/lib/intmath/lib_intmath.dox b/src/lib/intmath/lib_intmath.dox
index 0d5d711eea..33fa0f02b6 100644
--- a/src/lib/intmath/lib_intmath.dox
+++ b/src/lib/intmath/lib_intmath.dox
@@ -1,4 +1,4 @@
/**
-@dir lib/intmath
+@dir /lib/intmath
@brief lib/intmath Integer mathematics.
**/
diff --git a/src/lib/lock/lib_lock.dox b/src/lib/lock/lib_lock.dox
index f248e12c86..868b5ba7d4 100644
--- a/src/lib/lock/lib_lock.dox
+++ b/src/lib/lock/lib_lock.dox
@@ -1,5 +1,5 @@
/**
-@dir lib/lock
+@dir /lib/lock
@brief lib/lock: Simple locking support.
This module is more low-level than the rest of the threading code, since it
diff --git a/src/lib/log/lib_log.dox b/src/lib/log/lib_log.dox
index 5059f3ef73..b6d2429171 100644
--- a/src/lib/log/lib_log.dox
+++ b/src/lib/log/lib_log.dox
@@ -1,5 +1,5 @@
/**
-@dir lib/log
+@dir /lib/log
@brief lib/log: Log messages to files, syslogs, etc.
You can think of this as the logical "midpoint" of the
diff --git a/src/lib/malloc/lib_malloc.dox b/src/lib/malloc/lib_malloc.dox
index 6408d7ce30..2553c82f1a 100644
--- a/src/lib/malloc/lib_malloc.dox
+++ b/src/lib/malloc/lib_malloc.dox
@@ -1,5 +1,5 @@
/**
-@dir lib/malloc
+@dir /lib/malloc
@brief lib/malloc: Wrappers and utilities for memory management.
**/
diff --git a/src/lib/math/lib_math.dox b/src/lib/math/lib_math.dox
index c2e121dc8c..0073731dc7 100644
--- a/src/lib/math/lib_math.dox
+++ b/src/lib/math/lib_math.dox
@@ -1,4 +1,4 @@
/**
-@dir lib/math
+@dir /lib/math
@brief lib/math
**/
diff --git a/src/lib/memarea/lib_memarea.dox b/src/lib/memarea/lib_memarea.dox
index f5b44f97c2..eaca286044 100644
--- a/src/lib/memarea/lib_memarea.dox
+++ b/src/lib/memarea/lib_memarea.dox
@@ -1,5 +1,5 @@
/**
-@dir lib/memarea
+@dir /lib/memarea
@brief lib/memarea A fast arena-style allocator.
This module has a fast "arena" style allocator, where memory is freed all at
diff --git a/src/lib/meminfo/lib_meminfo.dox b/src/lib/meminfo/lib_meminfo.dox
index c8def7e2f9..433d6859ee 100644
--- a/src/lib/meminfo/lib_meminfo.dox
+++ b/src/lib/meminfo/lib_meminfo.dox
@@ -1,4 +1,4 @@
/**
-@dir lib/meminfo
+@dir /lib/meminfo
@brief lib/meminfo
**/
diff --git a/src/lib/net/lib_net.dox b/src/lib/net/lib_net.dox
index 03783c12aa..ca3c56a949 100644
--- a/src/lib/net/lib_net.dox
+++ b/src/lib/net/lib_net.dox
@@ -1,4 +1,4 @@
/**
-@dir lib/net
+@dir /lib/net
@brief lib/net
**/
diff --git a/src/lib/osinfo/lib_osinfo.dox b/src/lib/osinfo/lib_osinfo.dox
index c78615937b..4d9b1a6d76 100644
--- a/src/lib/osinfo/lib_osinfo.dox
+++ b/src/lib/osinfo/lib_osinfo.dox
@@ -1,5 +1,5 @@
/**
-@dir lib/osinfo
+@dir /lib/osinfo
@brief lib/osinfo: For inspecting the OS version and capabilities.
In general, we use this module when we're telling the user what operating
diff --git a/src/lib/process/lib_process.dox b/src/lib/process/lib_process.dox
index efb1adc091..9059d66664 100644
--- a/src/lib/process/lib_process.dox
+++ b/src/lib/process/lib_process.dox
@@ -1,4 +1,4 @@
/**
-@dir lib/process
+@dir /lib/process
@brief lib/process
**/
diff --git a/src/lib/pubsub/lib_pubsub.dox b/src/lib/pubsub/lib_pubsub.dox
index 9a3fc6dfac..3fd026cc09 100644
--- a/src/lib/pubsub/lib_pubsub.dox
+++ b/src/lib/pubsub/lib_pubsub.dox
@@ -1,4 +1,4 @@
/**
-@dir lib/pubsub
+@dir /lib/pubsub
@brief lib/pubsub
**/
diff --git a/src/lib/sandbox/lib_sandbox.dox b/src/lib/sandbox/lib_sandbox.dox
index 8b33fc2553..91d056d467 100644
--- a/src/lib/sandbox/lib_sandbox.dox
+++ b/src/lib/sandbox/lib_sandbox.dox
@@ -1,5 +1,5 @@
/**
-@dir lib/sandbox
+@dir /lib/sandbox
@brief lib/sandbox Linux seccomp2-based sandbox.
This module uses Linux's seccomp2 facility via the
diff --git a/src/lib/smartlist_core/lib_smartlist_core.dox b/src/lib/smartlist_core/lib_smartlist_core.dox
index 68b8249351..5e3ffd1f06 100644
--- a/src/lib/smartlist_core/lib_smartlist_core.dox
+++ b/src/lib/smartlist_core/lib_smartlist_core.dox
@@ -1,5 +1,5 @@
/**
-@dir lib/smartlist_core
+@dir /lib/smartlist_core
@brief lib/smartlist_core: Minimal dynamic array implementation
A `smartlist_t` is a dynamic array type for holding `void *`. We use it
diff --git a/src/lib/string/lib_string.dox b/src/lib/string/lib_string.dox
index 95645ab368..c8793ddf91 100644
--- a/src/lib/string/lib_string.dox
+++ b/src/lib/string/lib_string.dox
@@ -1,5 +1,5 @@
/**
-@dir lib/string
+@dir /lib/string
@brief lib/string: Low-level string manipulation.
We have a number of compatibility functions here: some are for handling
diff --git a/src/lib/subsys/lib_subsys.dox b/src/lib/subsys/lib_subsys.dox
index 4d98ff577a..1a22a2d808 100644
--- a/src/lib/subsys/lib_subsys.dox
+++ b/src/lib/subsys/lib_subsys.dox
@@ -1,5 +1,5 @@
/**
-@dir lib/subsys
+@dir /lib/subsys
@brief lib/subsys: Types for declaring a "subsystem".
## Subsystems in Tor
diff --git a/src/lib/term/lib_term.dox b/src/lib/term/lib_term.dox
index 2bc5125839..d6010cb694 100644
--- a/src/lib/term/lib_term.dox
+++ b/src/lib/term/lib_term.dox
@@ -1,4 +1,4 @@
/**
-@dir lib/term
+@dir /lib/term
@brief lib/term
**/
diff --git a/src/lib/testsupport/lib_testsupport.dox b/src/lib/testsupport/lib_testsupport.dox
index 665b10e1f9..c09c32e478 100644
--- a/src/lib/testsupport/lib_testsupport.dox
+++ b/src/lib/testsupport/lib_testsupport.dox
@@ -1,4 +1,4 @@
/**
-@dir lib/testsupport
+@dir /lib/testsupport
@brief lib/testsupport: Helpers for test-only code and for function mocking.
**/
diff --git a/src/lib/thread/lib_thread.dox b/src/lib/thread/lib_thread.dox
index 68937ef793..b1e24d824c 100644
--- a/src/lib/thread/lib_thread.dox
+++ b/src/lib/thread/lib_thread.dox
@@ -1,4 +1,4 @@
/**
-@dir lib/thread
+@dir /lib/thread
@brief lib/thread
**/
diff --git a/src/lib/time/lib_time.dox b/src/lib/time/lib_time.dox
index 50abf072f7..8e1e30859d 100644
--- a/src/lib/time/lib_time.dox
+++ b/src/lib/time/lib_time.dox
@@ -1,4 +1,4 @@
/**
-@dir lib/time
+@dir /lib/time
@brief lib/time
**/
diff --git a/src/lib/tls/lib_tls.dox b/src/lib/tls/lib_tls.dox
index 40b7b2c27e..9558687f66 100644
--- a/src/lib/tls/lib_tls.dox
+++ b/src/lib/tls/lib_tls.dox
@@ -1,4 +1,4 @@
/**
-@dir lib/tls
+@dir /lib/tls
@brief lib/tls
**/
diff --git a/src/lib/trace/lib_trace.dox b/src/lib/trace/lib_trace.dox
index a8ac09d879..64f762bc3e 100644
--- a/src/lib/trace/lib_trace.dox
+++ b/src/lib/trace/lib_trace.dox
@@ -1,5 +1,5 @@
/**
-@dir lib/trace
+@dir /lib/trace
@brief lib/trace: Function-tracing functionality API.
This module is used for adding "trace" support (low-granularity function
diff --git a/src/lib/version/lib_version.dox b/src/lib/version/lib_version.dox
index d3d2481ba0..93d2fb6b9b 100644
--- a/src/lib/version/lib_version.dox
+++ b/src/lib/version/lib_version.dox
@@ -1,4 +1,4 @@
/**
-@dir lib/version
+@dir /lib/version
@brief lib/version: holds the current version of Tor.
**/
diff --git a/src/lib/wallclock/lib_wallclock.dox b/src/lib/wallclock/lib_wallclock.dox
index a024425ea9..03966aecc1 100644
--- a/src/lib/wallclock/lib_wallclock.dox
+++ b/src/lib/wallclock/lib_wallclock.dox
@@ -1,5 +1,5 @@
/**
-@dir lib/wallclock
+@dir /lib/wallclock
@brief lib/wallclock: Inspect and manipulate the current time.
This module handles our concept of "what time is it" or "what time does the
diff --git a/src/tools/tools.dox b/src/tools/tools.dox
index 54aa4df48e..1168ed5bad 100644
--- a/src/tools/tools.dox
+++ b/src/tools/tools.dox
@@ -1,5 +1,5 @@
/**
-@dir tools
+@dir /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