genDoc.bat 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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, DAP, Driver, DSP, General, Pack, RTOS, RTOS2, SVD) 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 DAP
  30. CALL doxygen_dap.bat
  31. popd
  32. pushd Driver
  33. CALL doxygen_driver.bat
  34. popd
  35. pushd DSP
  36. CALL doxygen_dsp.bat
  37. popd
  38. pushd General
  39. CALL doxygen_general.bat
  40. popd
  41. pushd Pack
  42. CALL doxygen_pack.bat
  43. popd
  44. pushd RTOS
  45. CALL doxygen_rtos.bat
  46. popd
  47. pushd RTOS2
  48. CALL doxygen_rtos.bat
  49. popd
  50. pushd SVD
  51. CALL doxygen_svd.bat
  52. popd
  53. REM -- Copy search style sheet ---------------------
  54. ECHO.
  55. ECHO Copy search style sheets
  56. copy /Y Doxygen_Templates\search.css ..\Documentation\CORE\html\search\.
  57. copy /Y Doxygen_Templates\search.css ..\Documentation\Driver\html\search\.
  58. REM copy /Y Doxygen_Templates\search.css ..\Documentation\General\html\search\.
  59. copy /Y Doxygen_Templates\search.css ..\Documentation\Pack\html\search\.
  60. REM copy /Y Doxygen_Templates\search.css ..\Documentation\SVD\html\search\.
  61. copy /Y Doxygen_Templates\search.css ..\Documentation\DSP\html\search\.
  62. copy /Y Doxygen_Templates\search.css ..\Documentation\DAP\html\search\.
  63. copy /Y Doxygen_Templates\search.css ..\Documentation\RTOS\html\search\.
  64. copy /Y Doxygen_Templates\search.css ..\Documentation\RTOS2\html\search\.
  65. :END
  66. ECHO.
  67. REM done