forked from minhngoc25a/freetype2
21c2311e63
This change is required to support docwriter 1.2.1. See https://github.com/freetype/docwriter/issues/36 for more information. * docs/markdown/stylesheets/extra.css: (.md-typeset code) -> (.md-typeset pre>code) (pre) -> (pre>code) (p, .md-typeset p, h4): Remove commented styles. (table.index): Remove unused styles. |
||
---|---|---|
.. | ||
markdown | ||
.gitignore | ||
CHANGES | ||
CMAKE | ||
CUSTOMIZE | ||
DEBUG | ||
DOCGUIDE | ||
FTL.TXT | ||
GPLv2.TXT | ||
INSTALL | ||
INSTALL.ANY | ||
INSTALL.CROSS | ||
INSTALL.GNU | ||
INSTALL.MAC | ||
INSTALL.UNIX | ||
INSTALL.VMS | ||
LICENSE.TXT | ||
MAKEPP | ||
PROBLEMS | ||
README | ||
TODO | ||
VERSIONS.TXT | ||
formats.txt | ||
freetype-config.1 | ||
raster.txt | ||
release |
README
After saying `make refdoc' or `make refdoc-venv' the `site/' directory contains the FreeType API reference. You need python 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. * Ensure that `docwriter' is installed in the same python target that `make refdoc' uses (python3/python2/python). * `pip' and `python' may point to different versions of Python. Check using `python --version' and `pip --version'. * If none of this works, send a mail to `freetype-devel@nongnu.org' or file an issue at `https://github.com/freetype/docwriter/issues'.