24 return "6.5.20230103.858";
34 return {
"6",
"5",
"20230103.858"};
40 const std::string STEM =
"qthelp://org.mantidproject/doc/release/v";
41 const std::string END =
"/index.html";
43 const unsigned int patchVersion =
static_cast<unsigned int>(20230103.858);
52 std::stringstream versionLabel;
54 if ( patchVersion < 100 ) {
56 versionLabel <<
"." << patchVersion;
59 const unsigned int minorVersion =
static_cast<unsigned int>(5);
60 versionLabel <<
"6." << minorVersion + 1 <<
"." <<
"0";
63 std::stringstream url;
64 url << STEM << versionLabel.str() << END;
71 return "g6552560c5be";
76 return "6552560c5be67b70738fb1ce2cc48cf76e286b7b";
81 return "Tue, 3 Jan 2023 ";
86 const std::string MAIN =
"http://dx.doi.org/10.5286/Software/Mantid";
88 const unsigned int patchVersion =
static_cast<unsigned int>(20230103.858);
94 if( patchVersion > 100 )
97 std::stringstream
doi;
98 doi << MAIN << 6 <<
"." << 5;
101 if( patchVersion != 0 )
102 doi <<
"." << patchVersion;
109 return "http://dx.doi.org/10.1016/j.nima.2014.07.029";
static const VersionInfo versionInfo()
A data structure containing the full version info.
static const char * version()
The full version number.
static std::string doi()
The DOI for this release of Mantid.
static const char * versionShort()
The version number of the last full version.
static std::string releaseNotes()
The url to the most applicable release notes.
static std::string paperCitation()
The citation for the Mantid paper.
static const char * revisionFull()
The full SHA-1 of the last commit.
static const char * releaseDate()
The date of the last commit.
static const char * revision()
The abbreviated SHA-1 of the last commit.