summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2020-01-15 23:07:37 +0100
committerGitHub <noreply@github.com>2020-01-15 23:07:37 +0100
commit3b177af8263df5212bf3ea3bcd048846f704a868 (patch)
tree82c6b1a8fa3eefe8483ed98228e21140e6b4155d
parent8fe38afd2b335831a5659e5ef44254fde769c727 (diff)
downloadopenttd-3b177af8263df5212bf3ea3bcd048846f704a868.tar.xz
Add: [Doxygen] Add the current version of documentation in header (#7940)
While at it, renamed the project names to reflect how we currently refer to them.
-rw-r--r--Doxyfile4
-rw-r--r--src/script/api/Doxyfile_AI4
-rw-r--r--src/script/api/Doxyfile_Game4
3 files changed, 6 insertions, 6 deletions
diff --git a/Doxyfile b/Doxyfile
index ef7ea3daa..e288ffbd8 100644
--- a/Doxyfile
+++ b/Doxyfile
@@ -7,8 +7,8 @@
# Project related configuration options
#---------------------------------------------------------------------------
DOXYFILE_ENCODING = UTF-8
-PROJECT_NAME = OpenTTD
-PROJECT_NUMBER =
+PROJECT_NAME = "OpenTTD Source"
+PROJECT_NUMBER = $(VERSION)
PROJECT_BRIEF =
PROJECT_LOGO =
OUTPUT_DIRECTORY = docs/source/
diff --git a/src/script/api/Doxyfile_AI b/src/script/api/Doxyfile_AI
index 4e033d21f..d88259915 100644
--- a/src/script/api/Doxyfile_AI
+++ b/src/script/api/Doxyfile_AI
@@ -9,8 +9,8 @@
# Project related configuration options
#---------------------------------------------------------------------------
DOXYFILE_ENCODING = UTF-8
-PROJECT_NAME = "OpenTTD NoAI API"
-PROJECT_NUMBER =
+PROJECT_NAME = "OpenTTD AI API"
+PROJECT_NUMBER = $(VERSION)
OUTPUT_DIRECTORY = ../../../docs/aidocs/
CREATE_SUBDIRS = NO
OUTPUT_LANGUAGE = English
diff --git a/src/script/api/Doxyfile_Game b/src/script/api/Doxyfile_Game
index eb5691d8b..99b2ab05e 100644
--- a/src/script/api/Doxyfile_Game
+++ b/src/script/api/Doxyfile_Game
@@ -9,8 +9,8 @@
# Project related configuration options
#---------------------------------------------------------------------------
DOXYFILE_ENCODING = UTF-8
-PROJECT_NAME = "OpenTTD Game API"
-PROJECT_NUMBER =
+PROJECT_NAME = "OpenTTD GameScript API"
+PROJECT_NUMBER = $(VERSION)
OUTPUT_DIRECTORY = ../../../docs/gamedocs/
CREATE_SUBDIRS = NO
OUTPUT_LANGUAGE = English