diff --git a/Doxyfile b/Doxyfile index 62520a5f..0cc2a998 100644 --- a/Doxyfile +++ b/Doxyfile @@ -38,7 +38,7 @@ PROJECT_NAME = simdjson # could be handy for archiving the generated documentation or if some version # control system is used. -PROJECT_NUMBER = +PROJECT_NUMBER = "0.3.1" # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer a @@ -51,7 +51,7 @@ PROJECT_BRIEF = "Ridiculously Fast JSON" # pixels and the maximum width should not exceed 200 pixels. Doxygen will copy # the logo to the output directory. -PROJECT_LOGO = +PROJECT_LOGO = images/logotiny.png # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path # into which the generated documentation will be written. If a relative path is diff --git a/images/logotiny.png b/images/logotiny.png new file mode 100644 index 00000000..13f177d7 Binary files /dev/null and b/images/logotiny.png differ diff --git a/tools/release.py b/tools/release.py index 339a856a..c4a460d8 100755 --- a/tools/release.py +++ b/tools/release.py @@ -150,6 +150,13 @@ for line in fileinput.input(cmakefile, inplace=1, backup='.bak'): print("modified "+cmakefile+", a backup was made") +doxyfile = maindir + os.sep + "Doxyfile" +for line in fileinput.input(doxyfile, inplace=1, backup='.bak'): + line = re.sub('PROJECT_NUMBER = "\d+\.\d+\.\d+','PROJECT_NUMBER = "'+newversionstring, line.rstrip()) + print(line) +print("modified "+doxyfile+", a backup was made") + +PROJECT_NUMBER = "0.3.1" scriptlocation = os.path.dirname(os.path.abspath(__file__))