genDoc.bat 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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, 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 RTOS
  51. CALL doxygen_rtos.bat
  52. popd
  53. pushd RTOS2
  54. CALL doxygen_rtos.bat
  55. popd
  56. pushd SVD
  57. CALL doxygen_svd.bat
  58. popd
  59. pushd Zone
  60. CALL doxygen_zone.bat
  61. popd
  62. REM -- Copy search style sheet ---------------------
  63. ECHO.
  64. ECHO Copy search style sheets
  65. copy /Y Doxygen_Templates\search.css ..\Documentation\Core\html\search\.
  66. copy /Y Doxygen_Templates\search.css ..\Documentation\Core_A\html\search\.
  67. copy /Y Doxygen_Templates\search.css ..\Documentation\Driver\html\search\.
  68. REM copy /Y Doxygen_Templates\search.css ..\Documentation\General\html\search\.
  69. copy /Y Doxygen_Templates\search.css ..\Documentation\Pack\html\search\.
  70. REM copy /Y Doxygen_Templates\search.css ..\Documentation\SVD\html\search\.
  71. copy /Y Doxygen_Templates\search.css ..\Documentation\DSP\html\search\.
  72. copy /Y Doxygen_Templates\search.css ..\Documentation\NN\html\search\.
  73. copy /Y Doxygen_Templates\search.css ..\Documentation\DAP\html\search\.
  74. copy /Y Doxygen_Templates\search.css ..\Documentation\RTOS\html\search\.
  75. copy /Y Doxygen_Templates\search.css ..\Documentation\RTOS2\html\search\.
  76. copy /Y Doxygen_Templates\search.css ..\Documentation\Zone\html\search\.
  77. :END
  78. ECHO.
  79. REM done