Skip to content

Commit 9bf1705

Browse files
committed
doc: Do not precomple HTML doc anymore
The HTML part is not ready yet. Let's remove the precompiled HTML doc. Signed-off-by: Daniel Wagner <[email protected]>
1 parent 2cf92c6 commit 9bf1705

2 files changed

Lines changed: 9 additions & 6 deletions

File tree

doc/meson.build

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,10 @@ if want_docs != 'false'
100100
install: true,
101101
install_dir: htmldir)
102102
else
103-
if want_docs == 'all' or want_docs == 'html'
104-
install_subdir('html', install_dir: htmldir)
105-
endif
103+
# The HTML doc is not ready yet.
104+
# if want_docs == 'all' or want_docs == 'html'
105+
# install_subdir('html', install_dir: htmldir)
106+
# endif
106107
endif
107108
endif
108109
endif

doc/update-docs.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@ DESTDIR=$(pwd)
55
BUILDDIR="$(mktemp -d)"
66
trap 'rm -rf -- $BUILDDIR' EXIT
77

8-
meson $BUILDDIR -Ddocs=all -Ddocs-build=true
8+
meson $BUILDDIR -Ddocs=man -Ddocs-build=true
99
ninja -C $BUILDDIR
1010

1111
rm -rf $DESTDIR/doc/man
12-
rm -rf $DESTDIR/doc/html
1312
mkdir $DESTDIR/doc/man
1413

15-
cp -R $BUILDDIR/doc/html $DESTDIR/doc/
1614
find $BUILDDIR/doc -maxdepth 1 -name '*.2' -exec cp {} $DESTDIR/doc/man \;
1715

16+
# The HTML doc is not ready yet
17+
# rm -rf $DESTDIR/doc/html
18+
# cp -R $BUILDDIR/doc/html $DESTDIR/doc/
19+

0 commit comments

Comments
 (0)