From 158f12fbc2510b8f762ae0ebeef62909446fdeaf Mon Sep 17 00:00:00 2001 From: Jonas Date: Sun, 30 Jul 2017 18:12:01 +0200 Subject: [PATCH] Add building instructions for Arch Linux --- README.rst | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index 9b5c508f2..9f494fb5c 100644 --- a/README.rst +++ b/README.rst @@ -89,10 +89,6 @@ First, make sure that the following are installed: on Mac: ``sudo easy_install Sphinx`` * Sphinx PHPDomain (e.g. ``sudo easy_install sphinxcontrib-phpdomain``) * rst2pdf (e.g. ``sudo easy_install rst2pdf``) -* If you're on Arch Linux, the build script is called sphinx-build2 which - will fail. You will need to provide a link to the expected script name:: - - sudo ln -s /usr/bin/sphinx-build2 /usr/bin/sphinx-build ...then enter any manual directory, then run ``make html``. The result can be found in the ``_build/html`` subdirectory. PDFs can be built with the @@ -124,6 +120,17 @@ The Debian/Ubuntu way * make latexpdf * evince _build/latex/NextcloudUserManual.pdf +The Arch Linux way +~~~~~~~~~~~~~~~~~~ +* sudo pacman -S python2-sphinx +* sudo pacman -S extra/texlive-core +* sudo pacman -S texlive-latexextra +* sudo pip2 install rst2pdf sphinxcontrib-phpdomain +* sudo ln -s /usr/bin/sphinx-build2 /usr/bin/sphinx-build +* cd user_manual +* make latexpdf +* PDFVIEWER _build/latex/NextcloudUserManual.pdf + Windows ^^^^^^^