Koha Documentation repository
Find a file
2025-02-05 14:23:43 +00:00
icons Delete mostcirculateditems.PNG 2023-08-25 11:46:36 +01:00
public Getting rid of the en/ dir, a relic from the docxml days 2017-11-29 20:57:16 +13:00
source Fix broken link to EnableSearchHistory 2025-02-05 14:23:43 +00:00
.editorconfig Add .editorconfig 2024-12-03 14:09:42 +00:00
.gitignore Ignore .idea and .vscode 2024-08-14 10:51:11 +02:00
.gitlab-ci.yml Weblate migration - Generate English version only (from gitlab-ci) 2023-10-26 14:34:30 +02:00
.mailmap Add .mailmap 2024-04-23 10:43:34 +02:00
CONTRIBUTING.md Fix #10 - update url to the new repository 2018-05-24 15:33:58 -03:00
LICENSE Add license 2016-11-20 20:20:27 +00:00
Makefile Add the quiet switch to SPHINXOPTS 2019-11-14 17:16:10 +00:00
mappings.pl Add a script to ease the move - mappings.pl 2017-08-14 16:40:55 -03:00
README.md Updated README with commands for python 3.11+ #51 2025-02-03 10:31:41 +00:00

Koha Documentation

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 make python3-sphinx python3-sphinxcontrib.spelling python3-pip

sudo pip3 install sphinx_rtd_theme

If you have python 3.11 or more, the second command might give you a warning message and fail.

To find your python version

python3 -V

Instead of the command to install sphinx_rtd_theme described above, do the following

python3 -m venv env #create virtual environment

source env/bin/activate #enter virtual environment

pip install sphinx_rtd_theme #install sphinx_rtd_theme

Outputing Docs

If using python 3.11 or more, you need to enter your virtual environment first

source env/bin/activate

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

make linkcheck

Generate .po files for translation

Have a look at the koha-manual-i18n project.