There is an issue when building the TF-M documentation using the command line CMake commands provided by the Build instructions TF-M guide:
$ cmake -S . -B cmake_doc -DTFM_PLATFORM=mps2/an521 -DTFM_TOOLCHAIN_FILE=toolchain_GNUARM.cmake $ **cmake --build cmake_doc -- tfm_docs_userguide_html tfm_docs_userguide_pdf**
Output:
make: *** No rule to make target 'tfm_docs_userguide_html'. Stop.
There is the same error for the reference manual.
It is needed to generate the whole documentation manually.