build-doc.sh 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. #!/bin/sh
  2. # _ _
  3. # | |__ _ __ ___ ___ | | __
  4. # | '_ \| '__/ _ \ / _ \| |/ /
  5. # | |_) | | | (_) | (_) | <
  6. # |_.__/|_| \___/ \___/|_|\_\
  7. #
  8. # Microframework which helps to develop web Pascal applications.
  9. #
  10. # Copyright (c) 2012-2021 Silvio Clecio <[email protected]>
  11. #
  12. # Brook framework is free software; you can redistribute it and/or
  13. # modify it under the terms of the GNU Lesser General Public
  14. # License as published by the Free Software Foundation; either
  15. # version 2.1 of the License, or (at your option) any later version.
  16. #
  17. # Brook framework is distributed in the hope that it will be useful,
  18. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  19. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  20. # Lesser General Public License for more details.
  21. #
  22. # You should have received a copy of the GNU Lesser General Public
  23. # License along with Brook framework; if not, write to the Free Software
  24. # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  25. #
  26. set -e
  27. out_dir="HTML"
  28. cache_dir="Cache"
  29. cd "$(dirname "$0")"
  30. rm -rf $out_dir && mkdir -p $out_dir
  31. pasdoc \
  32. --name "Brook" \
  33. --title "Brook Tardigrade" \
  34. --verbosity 2 \
  35. --language en \
  36. --format html \
  37. --css pasdoc.css \
  38. --spell-check \
  39. --spell-check-ignore-words spell_ignored_words \
  40. --visible-members public,published \
  41. --write-uses-list \
  42. --auto-abstract \
  43. --use-tipue-search \
  44. --auto-link \
  45. --define FPC \
  46. --define UNIX \
  47. --define LINUX \
  48. --define MSWINDOWS \
  49. --include ../Source \
  50. ../Source/BrookExtra.pas \
  51. ../Source/BrookHandledClasses.pas \
  52. ../Source/BrookHTTPAuthentication.pas \
  53. ../Source/BrookHTTPCookies.pas \
  54. ../Source/BrookHTTPRequest.pas \
  55. ../Source/BrookHTTPResponse.pas \
  56. ../Source/BrookHTTPServer.pas \
  57. ../Source/BrookHTTPUploads.pas \
  58. ../Source/BrookLibraryLoader.pas \
  59. ../Source/BrookLogger.pas \
  60. ../Source/BrookMathExpression.pas \
  61. ../Source/BrookMediaTypes.pas \
  62. ../Source/BrookReader.pas \
  63. ../Source/BrookString.pas \
  64. ../Source/BrookStringMap.pas \
  65. ../Source/BrookURLEntryPoints.pas \
  66. ../Source/BrookURLRouter.pas \
  67. ../Source/BrookUtility.pas \
  68. --cache-dir $cache_dir \
  69. --output $out_dir