Troubleshooting
This page describes known issues and how to fix them.
In case of unexpected issues the following steps may help restore the generated documentation consistency and make the program work correctly.
Run a full regeneration of the project with the -f/--force command line flag.
See here for more details.
If the typical project structure is used, the
directory doc/content is intended to contain generated artifacts only. It may be deleted,
and then the whole project may be regenerated.
Important
Deletion is irreversible. In case of doubt, use renaming instead, or commit/stash your uncommitted changes in your version control system (like Git) before deletion to avoid data loss.
Sometimes it is sufficient to delete only cache files and regenerate:
cache-file option in the argument file (see
here).index-cache (see
here).After cache deletion, regeneration may still require the -f/--force flag if the output
files are not updated due to incremental generation rules.
Although executable scripts are shipped with the executable flag set, during file transmission this flag may be reset. The symptom is:
$ ./generate_doc_java
-bash: ./generate_doc_java: Permission denied
To make it work, set the executable flag manually:
$ chmod a+x ./generate_doc_java