Skip to content

Commit

Permalink
Remove link to the "Downloads" page
Browse files Browse the repository at this point in the history
Refs #2290
  • Loading branch information
kimrutherford committed Dec 11, 2024
1 parent 385f5c5 commit c987855
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion etc/process-markdown.pl
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,11 @@ sub process_path {

my $menu_title = (ucfirst $path) =~ s/-/ /gr;
$menu_title = 'FAQ' if $menu_title =~ /faq/i;
print $docs_component_fh qq|<app-page-contents-menu title="$menu_title" titleRoute="/$path">\n|;
my $title_route = '';
if ($menu_title !~ /download/i) {
$title_route = qq|titleRoute="/$path"|;
}
print $docs_component_fh qq|<app-page-contents-menu title="$menu_title" $title_route>\n|;

my $menu_content = contents_for_template("$path/menu", $data->{menu});

Expand Down
2 changes: 1 addition & 1 deletion src/app/documentation/docs/docs.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -7833,7 +7833,7 @@ <h3 id="additional-notes">Additional notes:</h3>
</div>
</div>
<div *ngIf="section == 'downloads'">
<app-page-contents-menu title="Downloads" titleRoute="/downloads">
<app-page-contents-menu title="Downloads" >

<div class="left-menu-part left-menu-item"><a routerLink="/datasets">Datasets</a></div>
<div class="left-menu-part left-sub-menu-item"><a routerLink="/downloads/genome-datasets">Genome datasets</a></div>
Expand Down

0 comments on commit c987855

Please sign in to comment.