summaryrefslogtreecommitdiffstats
path: root/hammer.py
diff options
context:
space:
mode:
authorAndrei Pavel <andrei@isc.org>2023-10-10 17:23:10 +0200
committerAndrei Pavel <andrei@isc.org>2023-10-26 15:34:22 +0200
commit2b553cd92904206d807b0cdf6276a281f0265ed3 (patch)
tree9944bf7c51f5f7b7a3e3858fd0dcbadce5a6428f /hammer.py
parent[#2969] fix space in the release version (diff)
downloadkea-2b553cd92904206d807b0cdf6276a281f0265ed3.tar.xz
kea-2b553cd92904206d807b0cdf6276a281f0265ed3.zip
[#2969] revised the quickstart page
- added link to the cloudsmith tarball page - added |cloudsmith_repo| substitution - added sphinx-tabs extension - changed yum to dnf because with the deprecation of CentOS 7, all remaining supported rpm distributions have dnf by default. - changed `/path/to/your/kea6/config/file.json` to the configuration file installed by default `/etc/kea/kea-dhcp6.conf` for easier startup - regenerated doc/sphinx/src/requirements.txt mainly to include sphinx-tabs - added sphinx-tabs to hammer.py
Diffstat (limited to 'hammer.py')
-rwxr-xr-xhammer.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/hammer.py b/hammer.py
index affdfedd2a..153806cd1e 100755
--- a/hammer.py
+++ b/hammer.py
@@ -1721,7 +1721,7 @@ def prepare_system_local(features, check_times, ignore_errors_for):
if 'docs' in features:
execute('python3 -m venv ~/venv',
env=env, timeout=60, check_times=check_times)
- execute('~/venv/bin/pip install sphinx sphinx-rtd-theme',
+ execute('~/venv/bin/pip install sphinx sphinx-rtd-theme sphinx-tabs',
env=env, timeout=120, check_times=check_times)
# prepare rhel
@@ -1773,7 +1773,7 @@ def prepare_system_local(features, check_times, ignore_errors_for):
if 'docs' in features:
execute('python3 -m venv ~/venv',
env=env, timeout=60, check_times=check_times)
- execute('~/venv/bin/pip install sphinx sphinx-rtd-theme',
+ execute('~/venv/bin/pip install sphinx sphinx-rtd-theme sphinx-tabs',
env=env, timeout=120, check_times=check_times)
# prepare ubuntu
@@ -1790,7 +1790,8 @@ def prepare_system_local(features, check_times, ignore_errors_for):
packages.append('googletest')
if 'docs' in features:
- packages.extend(['python3-sphinx', 'python3-sphinx-rtd-theme', 'texlive', 'texlive-latex-extra'])
+ packages.extend(['python3-sphinx', 'python3-sphinx-rtd-theme', 'python3-sphinx-tabs',
+ 'texlive', 'texlive-latex-extra'])
if revision == '22.04':
packages.extend(['tex-gyre'])
@@ -1849,7 +1850,8 @@ def prepare_system_local(features, check_times, ignore_errors_for):
if revision == '8':
packages.extend(['virtualenv'])
else:
- packages.extend(['python3-sphinx', 'python3-sphinx-rtd-theme', 'texlive', 'texlive-latex-extra'])
+ packages.extend(['python3-sphinx', 'python3-sphinx-rtd-theme', 'python3-sphinx-tabs',
+ 'texlive', 'texlive-latex-extra'])
if revision == '9':
packages.extend(['texlive-generic-extra'])
if revision == '12':
@@ -1893,7 +1895,7 @@ def prepare_system_local(features, check_times, ignore_errors_for):
if revision == '8':
execute('python3 -m venv ~/venv',
env=env, timeout=60, check_times=check_times)
- execute('~/venv/bin/pip install sphinx sphinx-rtd-theme',
+ execute('~/venv/bin/pip install sphinx sphinx-rtd-theme sphinx-tabs',
env=env, timeout=120, check_times=check_times)
# prepare freebsd