Skip to content

Commit d2717ad

Browse files
committed
fixup: doc fixups
1 parent 7f867d6 commit d2717ad

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

packages/configuration/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//! This module contains the configuration data structures for the
44
//! Torrust Tracker, which is a `BitTorrent` tracker server.
55
//!
6-
//! The current version for configuration is [`v1`].
6+
//! The current version for configuration is [`v2`].
77
pub mod v2;
88

99
use std::collections::HashMap;

packages/configuration/src/v2/mod.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@
3939
//! Please refer to the documentation of each structure for more information
4040
//! about each section.
4141
//!
42-
//! - [`Core configuration`](crate::v1::Configuration)
43-
//! - [`HTTP API configuration`](crate::v1::tracker_api::HttpApi)
44-
//! - [`HTTP Tracker configuration`](crate::v1::http_tracker::HttpTracker)
45-
//! - [`UDP Tracker configuration`](crate::v1::udp_tracker::UdpTracker)
46-
//! - [`Health Check API configuration`](crate::v1::health_check_api::HealthCheckApi)
42+
//! - [`Core configuration`](crate::v2::Configuration)
43+
//! - [`HTTP API configuration`](crate::v2::tracker_api::HttpApi)
44+
//! - [`HTTP Tracker configuration`](crate::v2::http_tracker::HttpTracker)
45+
//! - [`UDP Tracker configuration`](crate::v2::udp_tracker::UdpTracker)
46+
//! - [`Health Check API configuration`](crate::v2::health_check_api::HealthCheckApi)
4747
//!
4848
//! ## Port binding
4949
//!
@@ -78,7 +78,7 @@
7878
//!
7979
//! Alternatively, you could setup a reverse proxy like Nginx or Apache to
8080
//! handle the SSL/TLS part and forward the requests to the tracker. If you do
81-
//! that, you should set [`on_reverse_proxy`](crate::v1::core::Core::on_reverse_proxy)
81+
//! that, you should set [`on_reverse_proxy`](crate::v2::network::Network::on_reverse_proxy)
8282
//! to `true` in the configuration file. It's out of scope for this
8383
//! documentation to explain in detail how to setup a reverse proxy, but the
8484
//! configuration file should be something like this:

0 commit comments

Comments
 (0)