README
1After saying `make refdoc' or `make refdoc-venv' the `reference/' directory
2contains the FreeType API reference. You need Python >= 3.5 and pip to make
3this target.
4
5There are two ways to generate the documentation:
6
71. Using `make refdoc':
8
9 - Ensure `python' and `pip' are available.
10 - Install pip package `docwriter' with `pip install --user docwriter'.
11 - Make target with `make refdoc'.
12 - This target can be run offline once required packages are installed.
13
142. Using `make refdoc-venv' (requires internet access):
15
16 - Ensure `python', `pip' and Python package `virtualenv' are available.
17 - Make target with `make refdoc-venv'.
18 - This may or may not require internet access every time depending on
19 pip and system caching.
20
21Some troubleshooting tips:
22
23* Regularly run `pip install --upgrade docwriter' to check for updates which
24may include bug fixes.
25
26* `Docwriter' does not support Python 2. Ensure that Python >= 3.5 is
27installed and available as `python3'/`python'.
28
29* Ensure that `docwriter' is installed in the same Python target that
30`make refdoc' uses (python3/python).
31
32* If none of this works, send a mail to `[email protected]' or file
33an issue at `https://github.com/freetype/docwriter/issues'.
34