Skip to content

Commit

Permalink
Merge pull request #350 from canonical/redirect-docs
Browse files Browse the repository at this point in the history
Setup landscape docs redirect and update navigation link
  • Loading branch information
petesfrench authored Jan 31, 2023
2 parents b1864d5 + f9319c6 commit 4b176ec
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions redirects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,5 @@ search/?$: https://www.ubuntu.com/search

# core, phone subdomains
(?P<project>(core|phone))(/en)?/?(?P<path>.*): https://{project}.docs.ubuntu.com/en/{path}

landscape/en/(?P<path>.*)/?: https://www.ubuntu.com/landscape/docs/{path}
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ django-template-finder-view==0.3
django-yaml-redirects==0.5.4
talisker[gunicorn,gevent]==0.19.0
whitenoise==5.3.0
ubuntudesign.documentation-builder==1.6.5
ubuntudesign.documentation-builder==1.7.0
gitdb2==3.0.3.post1
MarkupSafe==2.0.1
2 changes: 1 addition & 1 deletion templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ <h3 class="p-matrix__title"><a class="p-link" href="https://linuxcontainers.org/
<li class="p-matrix__item">
<img class="p-matrix__img" src="https://assets.ubuntu.com/v1/4964d639-landscape-logo.svg" alt="Landscape">
<div class="p-matrix__content">
<h3 class="p-matrix__title"><a class="p-link" href="https://docs.ubuntu.com/landscape/en/">Landscape&nbsp;</a></h3>
<h3 class="p-matrix__title"><a class="p-link" href="https://ubuntu.com/landscape/docs">Landscape&nbsp;</a></h3>
<div class="p-matrix__desc">
<p>Systems management for Ubuntu - updates, package management, repositories, security</p>
</div>
Expand Down

0 comments on commit 4b176ec

Please sign in to comment.