codesite2git: README.md: don't titlecase "API" sections

This commit is contained in:
mappu 2020-05-04 18:08:04 +12:00
parent 64c5d52afe
commit 61c889b7ca

View File

@ -47,7 +47,7 @@ class CProjectGitExporter extends CProject {
// Normalise the capitalisation for header text // Normalise the capitalisation for header text
$header_text = substr($tmp, $indent); $header_text = substr($tmp, $indent);
if ($header_text != "TODO" && $header_text != "FIXME" && $header_text != "WARNING") { if ($header_text != "TODO" && $header_text != "FIXME" && $header_text != "WARNING" && $header_text != "API") {
$header_text = ucwords(strtolower($header_text)); $header_text = ucwords(strtolower($header_text));
} }