Skip to content

Commit 9a06ee4

Browse files
committed
Fix documentation build issues and add _build/ to .gitignore
1 parent 526b65e commit 9a06ee4

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,3 +178,6 @@ env.bak/
178178
#lockfiles
179179
uv.lock
180180
poetry.lock
181+
182+
# Sphinx documentation build
183+
_build/

docs/examples.multiple_connections.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Multiple Connections Per Peer
2-
============================
2+
=============================
33

44
This example demonstrates how to use the multiple connections per peer feature in py-libp2p.
55

@@ -35,7 +35,7 @@ The feature is configured through the `ConnectionConfig` class:
3535
)
3636
3737
Load Balancing Strategies
38-
------------------------
38+
-------------------------
3939

4040
Two load balancing strategies are available:
4141

@@ -74,7 +74,7 @@ The new API provides direct access to multiple connections:
7474
single_conn = swarm.get_connection(peer_id)
7575
7676
Backward Compatibility
77-
---------------------
77+
----------------------
7878

7979
Existing code continues to work through backward compatibility features:
8080

@@ -89,10 +89,10 @@ Existing code continues to work through backward compatibility features:
8989
Example
9090
-------
9191

92-
See :doc:`examples/doc-examples/multiple_connections_example.py` for a complete working example.
92+
A complete working example is available in the `examples/doc-examples/multiple_connections_example.py` file.
9393

9494
Production Configuration
95-
-----------------------
95+
-------------------------
9696

9797
For production use, consider these settings:
9898

@@ -121,7 +121,7 @@ For production use, consider these settings:
121121
)
122122
123123
Architecture
124-
-----------
124+
------------
125125

126126
The implementation follows the same architectural patterns as the Go and JavaScript reference implementations:
127127

0 commit comments

Comments
 (0)