Skip to content

Commit 9206707

Browse files
Migrate documentation to mkdocs
1 parent 07cf706 commit 9206707

File tree

85 files changed

+17997
-495
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+17997
-495
lines changed

.github/workflows/documentation.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.

.readthedocs.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
Read the Docs logo
2+
Add project
3+
Add a configuration file to your project
4+
Help topics
5+
Configuration file tutorial
6+
Configuration file reference
7+
Manually configuring a Git repository
8+
A .readthedocs.yaml file is required at the root of your repository to build your project's documentation. You can pick an example for your documentation tool as a starting point below, and save and commit it to your repository.
9+
Example configuration for:
10+
.readthedocs.yaml
11+
# Read the Docs configuration file
12+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
13+
14+
# Required
15+
version: 2
16+
17+
# Set the OS, Python version, and other tools you might need
18+
build:
19+
os: ubuntu-24.04
20+
tools:
21+
python: "3.13"
22+
23+
# Build documentation with Mkdocs
24+
mkdocs:
25+
configuration: mkdocs.yml
26+
27+
# Optionally, but recommended,
28+
# declare the Python requirements required to build your documentation
29+
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
30+
# python:
31+
# install:
32+
# - requirements: docs/requirements.txt

docs/Makefile

Lines changed: 0 additions & 27 deletions
This file was deleted.

docs/api/http_header.rst

Lines changed: 0 additions & 6 deletions
This file was deleted.

docs/api/http_request.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

docs/api/https_proxy_handler.rst

Lines changed: 0 additions & 20 deletions
This file was deleted.

docs/api/index.rst

Lines changed: 0 additions & 18 deletions
This file was deleted.

docs/api/tls_store.rst

Lines changed: 0 additions & 6 deletions
This file was deleted.

docs/conf.py

Lines changed: 0 additions & 34 deletions
This file was deleted.
Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
Use a custom Certificate Authority (CA)
2-
=======================================
1+
# Use a custom Certificate Authority (CA)
32

4-
5-
.. danger::
3+
!!! danger "Security Warning"
64
When using a custom CA bundle, ensure that nobody else can access the private key of your CA certificate.
75
If an attacker gains access to the private key, they could potentially intercept and decrypt your HTTPS traffic.
86
This is a significant security risk, so handle the CA private key with care and trust this CA only
@@ -12,22 +10,19 @@ Use a custom Certificate Authority (CA)
1210
Use dedicated browser instance or load the CA certificate only in specific applications
1311
where you need to intercept HTTPS traffic.
1412

15-
1613
A certificate authority (CA) is used to sign the certificates for the domains you proxy.
1714
By default your system's trusted CA bundle is used to validate the certificates of the target servers.
1815

19-
To incerpt HTTPS traffic, you need to create your own CA certificate and configure your system or application
16+
To intercept HTTPS traffic, you need to create your own CA certificate and configure your system or application
2017
to trust this CA. This allows the proxy to generate and sign certificates for the target domains on-the-fly,
2118
allowing it to decrypt and inspect the HTTPS traffic.
2219

23-
Usage of custom CA in your applications
24-
----------------------------------------
20+
## Usage of custom CA in your applications
2521

26-
Curl
27-
^^^^^^^^^^^^
28-
To use a custom CA bundle with curl, you can use the `--cacert` option to specify the path to your CA certificate file.
22+
### Curl
2923

30-
.. code-block:: console
31-
32-
$ curl --cacert ca_certificate.pem --proxy http://127.0.0.1:8888 https://httpbin.org/get
24+
To use a custom CA bundle with curl, you can use the `--cacert` option to specify the path to your CA certificate file.
3325

26+
```console
27+
curl --cacert ca_certificate.pem --proxy http://127.0.0.1:8888 https://httpbin.org/get
28+
```

0 commit comments

Comments
 (0)