Skip to content

Commit

Permalink
FIx old documentation links
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed Jul 23, 2024
1 parent 4db12b0 commit ef8d648
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion default/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<div class="container ${IF-TMPLTPAGECONTAINERTYPE}${TMPLTPAGECONTAINERTYPE} ${ENDIF-TMPLTPAGECONTAINERTYPE}py-4">
<header>
<div class="d-flex flex-column flex-lg-row align-items-center pb-3 mb-4 border-bottom-light">
<a href="https://www.virtualmin.com/documentation/website-default-page/" target="_blank"
<a href="https://www.virtualmin.com/docs/server-components/website-default-page/" target="_blank"
class="d-flex align-items-center text-body-secondary text-decoration-none">
<span class="fs-3">
${IF-TMPLTPAGEHEADTITLE}${TMPLTPAGEHEADTITLE}${ENDIF-TMPLTPAGEHEADTITLE}
Expand Down
6 changes: 1 addition & 5 deletions system_info.pl
Original file line number Diff line number Diff line change
Expand Up @@ -667,11 +667,7 @@ sub list_system_info

sub get_virtualmin_docs
{
return &master_admin() ?
"https://www.virtualmin.com/documentation" :
&reseller_admin() ?
"https://www.virtualmin.com/documentation/users/reseller" :
"https://www.virtualmin.com/documentation/users/server-owner";
return "https://www.virtualmin.com/docs/";
}

sub parse_license_date
Expand Down
2 changes: 1 addition & 1 deletion virtual-server-lib-funcs.pl
Original file line number Diff line number Diff line change
Expand Up @@ -16663,7 +16663,7 @@ sub check_virtual_server_config
if (!$repofound) {
&$second_print(&ui_text_color(
&text('check_repoeoutdate',
"$virtualmin_link/documentation/repositories/"), 'warn'));
"$virtualmin_link/docs/installation/troubleshooting-repositories/"), 'warn'));
}
}
}
Expand Down

0 comments on commit ef8d648

Please sign in to comment.