File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ # docs.openssl.org
2+
3+ OpenSSL Documentation website is based on
4+ [ Material for MkDocs] ( https://squidfunk.github.io/mkdocs-material/ ) and
5+ this repository contains required configuration and build scripts.
6+
7+ ## Local development
8+
9+ All required dependencies are packed into a container image ` quay.io/openssl-ci/docs ` .
10+ To start playing around you can spin up a container and run commands:
11+
12+ 1 . Clone the repository:
13+
14+ ``` sh
15+ git clone https://github.com/openssl/openssl-docs.git
16+ ```
17+
18+ 2. Run the container:
19+
20+ ` ` ` sh
21+ podman run -it -v $( pwd) /openssl-docs:/mnt -w /mnt -p 8000:8000 --userns=keep-id quay.io/openssl-ci/docs:latest bash
22+ ` ` `
23+
24+ 3. Build the docs:
25+
26+ ` ` ` sh
27+ python build.py < OPENSSL VERSION>
28+
29+ 4. Run the development web server:
30+
31+ ` ` ` sh
32+ mike serve -a 0.0.0.0:8000
33+ ```
34+
35+ # # Deployment
36+
37+
38+
39+ # # References
40+
41+ - [MkDocs](https://www.mkdocs.org)
42+ - [Material for MkDocs](https://squidfunk.github.io/mkdocs-material/)
43+ - [mike](https://github.com/jimporter/mike)
You can’t perform that action at this time.
0 commit comments