Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Commit

Permalink
src: switch in-app links to documentation to .md file on GitHub(#1230)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlangkabel committed Nov 29, 2021
1 parent 3833a93 commit e992f14
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion src/lib_gui/utility/utilityApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e992f14

Please sign in to comment.