Move doc to if(...)

2 jobs for master in 22 minutes and 33 seconds (queued for 65 minutes and 39 seconds)
Status Name Job ID Coverage
  Build
passed build_clazy_clang_tidy #103249

00:13:15

passed linux kf5-qt5 qt5.15 #103248

00:09:18

10.0%