aboutsummaryrefslogtreecommitdiffstats
path: root/dist/travis/man.sh
blob: ab00cb4c9431dae06b35b9023da8d98a5f307c31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /bin/bash

rm -rf doc/_build/man/*

set -e

docker run --rm -it \
  -v /$(pwd):/src \
  -w //src/doc \
  btdi/sphinx:py2-featured \
  sh -c "sphinx-build -T -b man . ./_build/man"

nroff -man doc/_build/man/ghdl.1