freetype/docs
Nikhil Ramakrishnan 1fd3148713 [docwriter] Drop support for Python < 3.5.
Python versions < 3.5 have reached end-of-life and as such, no
security or bug fixes will be provided for those versions.  See

  https://devguide.python.org/#status-of-python-branches

for more information.

* Jamfile (RefDoc): Add `site' parameter.

* builds/detect.mk (std_setup): Update Python version requirement.

* builds/freetype.mk (refdoc-venv): Use pip as `python -m pip'.

* builds/unix/ax_compare_version.m4,
builds/unix/ax_prog_python_version.m4: Macros to detect Python
version.  New files.

* builds/unix/configure.raw: Check for Python >= 3.5 and remove
check for `pip'.

* docs/CHANGES, docs/INSTALL.GNU, docs/README: Updated.
2020-03-21 20:17:17 +05:30
..
markdown Update docwriter stylesheet. 2020-03-01 00:37:31 +05:30
.gitignore [docs] (1/2) Move static web assets (#56745). 2019-12-21 19:13:37 +01:00
CHANGES [docwriter] Drop support for Python < 3.5. 2020-03-21 20:17:17 +05:30
CMAKE * docs/CMAKE: New dummy file. 2013-11-10 06:26:52 +01:00
CUSTOMIZE Update all copyright notices. 2020-01-19 17:05:19 +01:00
DEBUG Update all copyright notices. 2020-01-19 17:05:19 +01:00
DOCGUIDE Update all copyright notices. 2020-01-19 17:05:19 +01:00
formats.txt Update all copyright notices. 2020-01-19 17:05:19 +01:00
freetype-config.1 * Version 2.10.1 released. 2019-07-01 15:56:34 +02:00
FTL.TXT Update or fix links to use the https protocol instead of http. 2017-12-04 20:43:30 +01:00
GPLv2.TXT Update license documentation. 2011-06-18 08:06:57 +02:00
INSTALL Update all copyright notices. 2020-01-19 17:05:19 +01:00
INSTALL.ANY Update all copyright notices. 2020-01-19 17:05:19 +01:00
INSTALL.CROSS Update all copyright notices. 2020-01-19 17:05:19 +01:00
INSTALL.GNU [docwriter] Drop support for Python < 3.5. 2020-03-21 20:17:17 +05:30
INSTALL.MAC Minor documentation updates. 2017-01-13 10:33:09 +01:00
INSTALL.UNIX Update all copyright notices. 2020-01-19 17:05:19 +01:00
INSTALL.VMS Update all copyright notices. 2020-01-19 17:05:19 +01:00
LICENSE.TXT [bdf, base] Lift hash functions from bdf driver to base module. 2015-12-19 16:59:40 +01:00
MAKEPP Fix links (mostly http -> https). 2018-12-25 22:44:05 +01:00
PROBLEMS * docs/PROBLEMS: Mention rendering differences on different 2011-02-24 20:01:00 +01:00
raster.txt Update all copyright notices. 2020-01-19 17:05:19 +01:00
README [docwriter] Drop support for Python < 3.5. 2020-03-21 20:17:17 +05:30
release Update all copyright notices. 2020-01-19 17:05:19 +01:00
TODO Update all copyright notices. 2020-01-19 17:05:19 +01:00
VERSIONS.TXT Update all copyright notices. 2020-01-19 17:05:19 +01:00

After saying `make refdoc' or `make refdoc-venv' the `site/' directory
contains the FreeType API reference.  You need Python >= 3.5 and pip to make
this target.

There are two ways to generate the documentation:

1. Using `make refdoc':

    - Ensure `python' and `pip' are available.
    - Install pip package `docwriter' with `pip install --user docwriter'.
    - Make target with `make refdoc'.
    - This target can be run offline once required packages are installed.

2. Using `make refdoc-venv' (requires internet access):

    - Ensure `python', `pip' and Python package `virtualenv' are available.
    - Make target with `make refdoc-venv'.
    - This may or may not require internet access every time depending on
    pip and system caching.

This also works with Jam: Just type `jam refdoc' in the main directory.

Some troubleshooting tips:

* Regularly run `pip install --upgrade docwriter' to check for updates which
may include bug fixes.

* `Docwriter' does not support Python 2.  Ensure that Python >= 3.5 is
installed and available as `python3'/`python'.

* Ensure that `docwriter' is installed in the same Python target that
`make refdoc' uses (python3/python).

* If none of this works, send a mail to `freetype-devel@nongnu.org' or file
an issue at `https://github.com/freetype/docwriter/issues'.