From 6e320dd879b0d721bcc040b2e416aa6fa8b65be1 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 17 May 2021 20:51:48 +0200 Subject: wslay: fix docs --- wslay/PKGBUILD | 10 ++++++++-- wslay/sphinx.patch | 17 +++++++++++++++++ 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 wslay/sphinx.patch (limited to 'wslay') diff --git a/wslay/PKGBUILD b/wslay/PKGBUILD index 0396017a1..81cb57e74 100644 --- a/wslay/PKGBUILD +++ b/wslay/PKGBUILD @@ -17,8 +17,14 @@ makedepends=('autoconf' 'automake' 'git' 'libtool' 'make' 'pkg-config' 'python-s checkdepends=('cunit' 'nettle') url="https://github.com/tatsuhiro-t/wslay" license=('MIT') -source=("$pkgname-$pkgver.tar.gz::https://github.com/tatsuhiro-t/$pkgname/archive/release-$pkgver.tar.gz") -sha512sums=('b42c66c738a3f33bc7de30e8975f4fb2dc60a8baef44be8d254110c8915e14cdaa4cbdd6b29184a66061fe387ec0948e896cb174a1dd8c85a97b5feedfde162e') +source=("$pkgname-$pkgver.tar.gz::https://github.com/tatsuhiro-t/$pkgname/archive/release-$pkgver.tar.gz" 'sphinx.patch') +sha512sums=('b42c66c738a3f33bc7de30e8975f4fb2dc60a8baef44be8d254110c8915e14cdaa4cbdd6b29184a66061fe387ec0948e896cb174a1dd8c85a97b5feedfde162e' + '84eb978c28d29c6e9cc9bb4b2fe2ff6380d8c981724c4452d3b08de44ae65e5e73eb37f815833a3d5ebbee1fc4a8e7d0f1bc3119777146580d7306c72791a286') + +prepare() { + cd "$srcdir/$pkgname-release-$pkgver" + patch -p1 -i "$srcdir/sphinx.patch" +} build() { cd "$srcdir/$pkgname-release-$pkgver" diff --git a/wslay/sphinx.patch b/wslay/sphinx.patch new file mode 100644 index 000000000..a327b2840 --- /dev/null +++ b/wslay/sphinx.patch @@ -0,0 +1,17 @@ +--- wslay-release-1.1.1/doc/sphinx/conf.py.in 2021-05-17 20:46:23.440993958 +0200 ++++ wslay-release-1.1.1/doc/sphinx/conf.py.in 2021-05-17 20:45:05.563332347 +0200 +@@ -123,6 +123,8 @@ + # so a file named "default.css" will overwrite the builtin "default.css". + html_static_path = ['_static/default2.css'] + ++html_css_files = ['default2.css'] ++ + # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, + # using the given strftime format. + #html_last_updated_fmt = '%b %d, %Y' +@@ -302,4 +304,4 @@ + ] + + def setup(app): +- app.add_stylesheet('default2.css') ++ pass -- cgit v1.2.3-70-g09d2