-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmake_manuals.py
38 lines (30 loc) · 1.46 KB
/
make_manuals.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# ********************************************************************************
# Copyright © 2020-2021, ETH Zurich, D-BSSE, Andreas P. Cuny & Aaron Ponti
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the GNU Public License v3.0
# which accompanies this distribution, and is available at
# http://www.gnu.org/licenses/gpl
#
# Contributors:
# * Andreas P. Cuny - initial API and implementation
# * Aaron Ponti - initial API and implementation
# *******************************************************************************
import sys
from pathlib import Path
try:
from pypocquant.manual import build_manual
except:
pypocquant_path = Path(__file__).resolve().parent / 'src' / 'main' / 'python' / 'pyPOCQuantUI'
sys.path.insert(0, str(pypocquant_path))
from pypocquant.manual import build_manual, build_quickstart
print('|---------------------------------------------------------------------------------------------------|')
print('| Start building manual')
print('|---------------------------------------------------------------------------------------------------|')
# Build manual
build_manual()
# Build quickstart
build_quickstart()
print('|---------------------------------------------------------------------------------------------------|')
print('| Done.')
print('|---------------------------------------------------------------------------------------------------|')
sys.exit(0)