src: switch in-app links to documentation to .md file on GitHub(#1230)
This commit is contained in:
@@ -376,7 +376,7 @@ void QtProjectWizardContentPreferences::populate(QGridLayout* layout, int& row)
|
||||
" runtime environment (for information on how to set this take a look at "
|
||||
"<a href=\"" +
|
||||
utility::getDocumentationLink() +
|
||||
"/#FindingJavaRuntimeLibraryLocation\">"
|
||||
"#finding-java-runtime-library-location\">"
|
||||
"Finding Java Runtime Library Location</a> or use the auto detection below)</p>")
|
||||
.c_str(),
|
||||
layout,
|
||||
|
||||
@@ -102,13 +102,13 @@ void QtProjectWizardContentSelect::populate(QGridLayout* layout, int& row)
|
||||
"or from the Qt Creator since version 4.8. Have a look at the "
|
||||
"<a href=\"" +
|
||||
utility::getDocumentationLink() +
|
||||
"/#CreateAProjectFromCompilationDatabase\">documentation</a>.";
|
||||
"#cc-source-group-from-compilation-database\">documentation</a>.";
|
||||
m_sourceGroupTypeDescriptions[SOURCE_GROUP_CXX_VS] =
|
||||
"<p>Create a new Source Group from an existing Visual Studio Solution file.</p>"
|
||||
"<p><b>Note</b>: Requires a running Visual Studio instance with the "
|
||||
"<a href=\"" +
|
||||
utility::getDocumentationLink() +
|
||||
"/#VisualStudio\">Sourcetrail Visual Studio Extension</a> installed.</p>";
|
||||
"#visual-studio\">Sourcetrail Visual Studio Extension</a> installed.</p>";
|
||||
m_sourceGroupTypeDescriptions[SOURCE_GROUP_CXX_CODEBLOCKS] =
|
||||
"<p>Create a new Source Group from an existing Code::Blocks project file.</p>"
|
||||
"<p><b>Note</b>: A \".cbp\" file will also get generated by the <b>Qt Creator</b> if a "
|
||||
|
||||
@@ -32,7 +32,7 @@ void QtProjectWizardContentVS::populate(QGridLayout* layout, int& row)
|
||||
"installed "
|
||||
"<a href=\"" +
|
||||
utility::getDocumentationLink() +
|
||||
"/#VisualStudio\">Sourcetrail Visual Studio Extension</a>)."));
|
||||
"#visual-studio\">Sourcetrail Visual Studio Extension</a>)."));
|
||||
descriptionLabel->setObjectName(QStringLiteral("description"));
|
||||
descriptionLabel->setOpenExternalLinks(true);
|
||||
descriptionLabel->setAlignment(Qt::AlignmentFlag::AlignLeft);
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ QtProjectWizardContentPathsFrameworkSearchGlobal::QtProjectWizardContentPathsFra
|
||||
"They define where MacOS framework containers (.framework) are found "
|
||||
"(See <a href=\"" +
|
||||
utility::getDocumentationLink() +
|
||||
"/#FindingSystemHeaderLocations\">"
|
||||
"#finding-system-header-locations\">"
|
||||
"Finding System Header Locations</a> or use the auto detection below)."));
|
||||
|
||||
m_pathDetector = utility::getCxxFrameworkPathDetector();
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@ QtProjectWizardContentPathsHeaderSearchGlobal::QtProjectWizardContentPathsHeader
|
||||
"Use them to add system header paths (See <a "
|
||||
"href=\"" +
|
||||
utility::getDocumentationLink() +
|
||||
"/#FindingSystemHeaderLocations\">"
|
||||
"#finding-system-header-locations\">"
|
||||
"Finding System Header Locations</a> or use the auto detection below)."));
|
||||
|
||||
m_pathDetector = utility::getCxxHeaderPathDetector();
|
||||
|
||||
@@ -28,7 +28,7 @@ std::set<std::shared_ptr<boost::process::child>> s_runningProcesses;
|
||||
|
||||
std::string utility::getDocumentationLink()
|
||||
{
|
||||
return "https://sourcetrail.com/documentation";
|
||||
return "https://github.com/CoatiSoftware/Sourcetrail/blob/master/DOCUMENTATION.md";
|
||||
}
|
||||
|
||||
std::wstring utility::searchPath(const std::wstring& bin, bool& ok)
|
||||
|
||||
Reference in New Issue
Block a user