Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FAQ: Add link to >=v5.x docs.open-mpi.org #491

Merged
merged 1 commit into from
Mar 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions includes/faq_engine.inc
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@ function faqlink($link, $text) {
return "<a href=\"$link\">$text</a>";
}

function faq_for_4x() {
print("<font size=+2><font color=\"red\">This FAQ is for Open MPI v4.x and earlier.</font><br />\n");
print("If you are looking for documentation for Open MPI v5.x and later, please visit <a href=\"https://docs.open-mpi.org/\">docs.open-mpi.org</a>.</font>\n\n<p>");
}

$shell_font = "<font color=\"blue\">";
$shell = "shell$</font>";
$cmd_font = "<font color=\"red\">";
Expand All @@ -133,6 +138,8 @@ function do_menu() {
global $short_titles;
$parent_printed = 0;

faq_for_4x();

print("FAQ categories:\n\n<ul>\n\n");
for ($i = 0; $i < sizeof($titles); ++$i) {
if ("" != $titles[$i]) {
Expand Down Expand Up @@ -196,6 +203,8 @@ function do_category() {
include_once($names[$cat_number] . ".inc");
ompi_set_included($names[$cat_number] . ".inc");

faq_for_4x();

print("<p>Table of contents:</p>\n");

print("<p>\n<ol>\n");
Expand Down
Loading