genDoc.bat 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. @echo off
  2. REM ====================================================================================
  3. REM Batch file for generating
  4. REM
  5. REM Author :
  6. REM Date : 7th April 2016
  7. REM Version : 1.0
  8. REM Company : ARM
  9. REM
  10. REM
  11. REM Command syntax: genDoc.bat
  12. REM
  13. REM Version: 1.0 Initial Version.
  14. REM ====================================================================================
  15. SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
  16. REM -- Delete previous generated HTML files ---------------------
  17. ECHO.
  18. ECHO Delete previous generated HTML files
  19. REM -- Remove generated doxygen files ---------------------
  20. PUSHD ..\Documentation
  21. FOR %%A IN (Core, Core_A, DAP, Driver, DSP, NN, General, Pack, Build, RTOS, RTOS2, SVD, Zone) DO IF EXIST %%A (RMDIR /S /Q %%A)
  22. POPD
  23. REM -- Generate New HTML Files ---------------------
  24. ECHO.
  25. ECHO Generate New HTML Files
  26. pushd Core
  27. CALL doxygen_core.bat
  28. popd
  29. pushd Core_A
  30. CALL doxygen_core_A.bat
  31. popd
  32. pushd DAP
  33. CALL doxygen_dap.bat
  34. popd
  35. pushd Driver
  36. CALL doxygen_driver.bat
  37. popd
  38. pushd DSP
  39. CALL doxygen_dsp.bat
  40. popd
  41. pushd NN
  42. CALL doxygen_nn.bat
  43. popd
  44. pushd General
  45. CALL doxygen_general.bat
  46. popd
  47. pushd Pack
  48. CALL doxygen_pack.bat
  49. popd
  50. pushd Build
  51. CALL doxygen_build.bat
  52. popd
  53. pushd RTOS
  54. CALL doxygen_rtos.bat
  55. popd
  56. pushd RTOS2
  57. CALL doxygen_rtos.bat
  58. popd
  59. pushd SVD
  60. CALL doxygen_svd.bat
  61. popd
  62. pushd Zone
  63. CALL doxygen_zone.bat
  64. popd
  65. REM -- Copy search style sheet ---------------------
  66. ECHO.
  67. ECHO Copy search style sheets
  68. copy /Y Doxygen_Templates\search.css ..\Documentation\Core\html\search\.
  69. copy /Y Doxygen_Templates\search.css ..\Documentation\Core_A\html\search\.
  70. copy /Y Doxygen_Templates\search.css ..\Documentation\Driver\html\search\.
  71. REM copy /Y Doxygen_Templates\search.css ..\Documentation\General\html\search\.
  72. copy /Y Doxygen_Templates\search.css ..\Documentation\Pack\html\search\.
  73. copy /Y Doxygen_Templates\search.css ..\Documentation\Build\html\search\.
  74. REM copy /Y Doxygen_Templates\search.css ..\Documentation\SVD\html\search\.
  75. copy /Y Doxygen_Templates\search.css ..\Documentation\DSP\html\search\.
  76. copy /Y Doxygen_Templates\search.css ..\Documentation\NN\html\search\.
  77. copy /Y Doxygen_Templates\search.css ..\Documentation\DAP\html\search\.
  78. copy /Y Doxygen_Templates\search.css ..\Documentation\RTOS\html\search\.
  79. copy /Y Doxygen_Templates\search.css ..\Documentation\RTOS2\html\search\.
  80. copy /Y Doxygen_Templates\search.css ..\Documentation\Zone\html\search\.
  81. :END
  82. ECHO.
  83. REM done