mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-12-29 16:51:52 +00:00
96d4a3ecf7
Due to historical reasons, the code is in subfolder "1". With SVN removal, we place the code back and remove the annoying "1" folder.
9 lines
608 B
Bash
9 lines
608 B
Bash
#!/bin/sh
|
|
# Regenerate PHPMailer documentation
|
|
# Run from within the docs folder
|
|
rm -rf phpdoc/*
|
|
phpdoc --directory .. --target ./phpdoc --ignore test/,examples/,extras/,test_script/,vendor/,language/ --sourcecode --force --title PHPMailer --template="clean"
|
|
# You can merge regenerated docs into a separate docs working copy without messing up the git status like so:
|
|
# rsync -a --delete --exclude ".git" --exclude "phpdoc-cache-*/" --exclude "README.md" phpdoc/ ../../phpmailer-docs
|
|
# After updating docs, push/PR them to the phpmailer gh-pages branch: https://github.com/PHPMailer/PHPMailer/tree/gh-pages
|