update pdf building documentation

This commit is contained in:
straithe
2022-09-23 13:53:10 -04:00
parent 2e4a2a9e30
commit c1fb7a72a8

View File

@ -17,10 +17,10 @@ Information on HackRF and purchasing HackRF: https://greatscottgadgets.com/hackr
Documentation for HackRF can be viewed on [Read the Docs](https://hackrf.readthedocs.io/en/latest/). The raw documenation files for HackRF are in the [docs folder](https://github.com/mossmann/hackrf/tree/master/docs) in this repository and can be built locally by installing [Sphinx Docs](https://www.sphinx-doc.org/en/master/usage/installation.html) and running `make html`. Documentation changes can be submitted through pull request and suggestions can be made as GitHub issues.
To create a PDF of the HackRF One documentation from the HackRf repository:
To create a PDF of the HackRF One documentation from the HackRf repository while on Ubuntu:
* run `sudo apt install latexmk texlive-latex-extra`
* navigate to hackrf/docs on command line
* run the command `make latex`
* navigate to hackrf/docs/latex
* run the command `make latexpdf`
--------------------