From ffc4fcce7935feaa9a9e0ee3c8632deab537fdce Mon Sep 17 00:00:00 2001
From: gcontini <1121667+gcontini@users.noreply.github.com>
Date: 周六, 24 10月 2020 19:44:33 +0800
Subject: [PATCH] sphinx installation

---
 doc/development/Build-the-library.md |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/doc/development/Build-the-library.md b/doc/development/Build-the-library.md
index f36cb2e..aeaee58 100644
--- a/doc/development/Build-the-library.md
+++ b/doc/development/Build-the-library.md
@@ -154,3 +154,25 @@
 cmake -DCMAKE_TOOLCHAIN_FILE=../modules/toolchain-ubuntu-mingw64.cmake -DOPENSSL_ROOT_DIR=$CUR_PATH/openssl-OpenSSL_1_1_1d/dist -DCMAKE_FIND_DEBUG_MODE=ON -DOPENSSL_USE_STATIC_LIBS=ON -DBOOST_ROOT=$CUR_PATH/boost_1_71_0/dist  ..
 
 ```
+
+###Build documentation
+
+Setup the python virtual environment:
+
+```
+python3 -m venv .venv
+
+. .venv/bin/activate
+pip install wheel
+pip install -r requirements.txt
+
+```
+
+Build the docs:
+
+```
+. .venv/bin/activate
+cd build
+cmake ..
+make documentation
+```
\ No newline at end of file

--
Gitblit v1.9.1