README 1.2 KB

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