Use the following command in a python virtual environment for a known working config:
# python3 -m pip install -r requirements.txt
OR you can use a docker container like the following:
$ git clone https://github.com/TexasInstruments/processor-sdk-doc.git
To build the documentation a DEVFAMILY and OS must be specified as either an
argument to make
or set as environment variables prior to execution of make
.
DEVFAMILY represents the Device Family. Possible values correspond to the names
of directories listed under configs/
. For example:
OS represents the operating system. Possible values correspond to the second
parameter of files listed under the configs/<DEVFAMILY>/
directory. For
example AM57X_linux_toc.txt
means that linux
is a valid OS value.
Example build commands:
Build linux documentation for AM335X
$ make DEVFAMILY=AM335X OS=linux
Build rtos documentation AM57X
$ make DEVFAMILY=AM57X OS=rtos
Build android documentation for AM62X
$ make DEVFAMILY=AM62X OS=android
Open the index page in a web browser
linux: ./build/processor-sdk-linux-<FAMILY>/esd/docs/[version]/index.html
rtos: ./build/processor-sdk-rtos-<FAMILY>/esd/docs/[version]/index.html
android: ./build/processor-sdk-android-<FAMILY>/esd/docs/[version]/index.html
Add the following to your init.vim
to automatically use the standard
whitespace values for RST files:
autocmd FileType rst set tabstop=3 shiftwidth=3 expandtab