gcontini
2020-10-24 ffc4fcce7935feaa9a9e0ee3c8632deab537fdce
sphinx installation
1个文件已修改
2个文件已添加
33 ■■■■■ 已修改文件
doc/development/Build-the-library.md 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pyvenv.cfg 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
requirements.txt 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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
```
pyvenv.cfg
New file
@@ -0,0 +1,3 @@
home = /usr/bin
include-system-site-packages = false
version = 3.8.5
requirements.txt
New file
@@ -0,0 +1,8 @@
wheel >= 0.35.1
sphinx >= 3.2.1
sphinx-rtd-theme >= 0.5.0
breathe >= 4.23.0
sphinx-markdown-tables >= 0.0.15
recommonmark >= 0.6.0
sphinx-sitemap >= 2.2.0
sphinxemoji >= 0.1.8