generatedocs.sh 608 B

12345678
  1. #!/bin/sh
  2. # Regenerate PHPMailer documentation
  3. # Run from within the docs folder
  4. rm -rf phpdoc/*
  5. phpdoc --directory .. --target ./phpdoc --ignore test/,examples/,extras/,test_script/,vendor/,language/ --sourcecode --force --title PHPMailer --template="clean"
  6. # You can merge regenerated docs into a separate docs working copy without messing up the git status like so:
  7. # rsync -a --delete --exclude ".git" --exclude "phpdoc-cache-*/" --exclude "README.md" phpdoc/ ../../phpmailer-docs
  8. # After updating docs, push/PR them to the phpmailer gh-pages branch: https://github.com/PHPMailer/PHPMailer/tree/gh-pages