Merge branch 'Restore_Readme' into 'master'
authorChris Cormack <chris@bigballofwax.co.nz>
Thu, 6 Dec 2018 19:44:05 +0000 (19:44 +0000)
committerChris Cormack <chris@bigballofwax.co.nz>
Thu, 6 Dec 2018 19:44:28 +0000 (19:44 +0000)
Restore Read me with the instructions on how to use Sphinx locally

See merge request koha-community/koha-manual!199

(cherry picked from commit c7bb91d0510e66f8150017c663685df922b0085f)

02849c94 Restore Read me with the instructions on how to use Sphinx locally

README.md

index 3c86d77..581559d 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,5 +1,61 @@
 Koha Documentation
 ==================
 
-This is the main repository for the Koha manual
-It is mirrored at git.koha-community.org also
\ No newline at end of file
+This is the main repository for the Koha manual.
+It is mirrored at git.koha-community.org.
+
+The manual is generated with Sphinx.
+
+Setup
+-----
+
+> sudo apt-get install python3-sphinx  python3-sphinxcontrib.spelling
+
+Outputing Docs
+--------------
+
+### For HTML
+> make html
+
+### For HTML in a single page
+>  make singlehtml
+
+### For an epub
+>  make epub
+
+### For a pdf (Work in progress)
+
+Install latexmk, the latexpdf builder needs it
+
+> apt install latexmk 
+
+Install texlive-full. Attention: this is very huge
+
+> apt install texlive-full 
+
+Generate the latex files
+
+> make latex 
+
+Generate the PDF file
+
+> make latexpdf
+
+
+Other useful commands
+---------------------
+
+To find everything that you can do, you can just do
+
+> make
+
+And it will list all the available options. Some useful ones are
+
+### Check spelling
+> make spelling
+
+### Check links in the documentation
+> make linkcheck
+
+### Generate .po files for translation
+> make gettext