🛠️🐜 Antkeeper superbuild with dependencies included https://antkeeper.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.3 KiB

  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. This also works with Jam: Just type `jam refdoc' in the main directory.
  16. Some troubleshooting tips:
  17. * Regularly run `pip install --upgrade docwriter' to check for updates which
  18. may include bug fixes.
  19. * `Docwriter' does not support Python 2. Ensure that Python >= 3.5 is
  20. installed and available as `python3'/`python'.
  21. * Ensure that `docwriter' is installed in the same Python target that
  22. `make refdoc' uses (python3/python).
  23. * If none of this works, send a mail to `freetype-devel@nongnu.org' or file
  24. an issue at `https://github.com/freetype/docwriter/issues'.