Skip to content

Fixed links to not multi-redirect #988

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

Merged
merged 1 commit into from
Jan 26, 2020
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion src/redirect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ impl<'r> FromParam<'r> for Destination {
"install.html" => "/tools/install",
"legal.html" => "/policies",
"other-installers.html" => {
"https://forge.rust-lang.org/other-installation-methods.html"
"https://forge.rust-lang.org/infra/other-installation-methods.html"
}
"security.html" => "/policies/security",
"team.html" => "/governance",
Expand Down
2 changes: 1 addition & 1 deletion templates/components/what/cli/example.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
</article>
</div>

<a href="https://rust-lang-nursery.github.io/cli-wg/" class="button button-secondary">{{fluent "cli-example-link"}}</a>
<a href="https://rust-cli.github.io/book/index.html" class="button button-secondary">{{fluent "cli-example-link"}}</a>
</div>
</section>
10 changes: 5 additions & 5 deletions templates/components/what/cli/pitch.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<p class="flex-grow-1">
{{fluent "cli-pitch-ship-description"}}
</p>
<a href="https://rust-lang-nursery.github.io/cli-wg/tutorial/packaging.html" class="button button-secondary">
<a href="https://rust-cli.github.io/book/tutorial/packaging.html" class="button button-secondary">
{{fluent "cli-pitch-ship-link"}}
</a>
</div>
Expand All @@ -56,7 +56,7 @@
<p class="flex-grow-1">
{{fluent "cli-pitch-config-description"}}
</p>
<a href="https://rust-lang-nursery.github.io/cli-wg/in-depth/config-files.html" class="button button-secondary">
<a href="https://rust-cli.github.io/book/in-depth/config-files.html" class="button button-secondary">
{{fluent "cli-pitch-config-link"}}
</a>
</div>
Expand All @@ -75,7 +75,7 @@
<p class="flex-grow-1">
{{fluent "cli-pitch-manuals-description"}}
</p>
<a href="https://rust-lang-nursery.github.io/cli-wg/in-depth/docs.html" class="button button-secondary">
<a href="https://rust-cli.github.io/book/in-depth/docs.html" class="button button-secondary">
{{fluent "cli-pitch-manuals-link"}}
</a>
</div>
Expand All @@ -93,7 +93,7 @@
<p class="flex-grow-1">
{{fluent "cli-pitch-machines-description"}}
</p>
<a href="https://rust-lang-nursery.github.io/cli-wg/in-depth/machine-communication.html" class="button button-secondary">
<a href="https://rust-cli.github.io/book/in-depth/machine-communication.html" class="button button-secondary">
{{fluent "cli-pitch-machines-link"}}
</a>
</div>
Expand All @@ -113,7 +113,7 @@
<p class="flex-grow-1">
{{fluent "cli-pitch-logging-description"}}
</p>
<a href="https://rust-lang-nursery.github.io/cli-wg/in-depth/human-communication.html" class="button button-secondary">
<a href="https://rust-cli.github.io/book/in-depth/human-communication.html" class="button button-secondary">
{{fluent "cli-pitch-logging-link"}}
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion templates/learn/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
<h3>{{fluent "learn-domain"}}</h3>
<section class="flex flex-column">
<div class="pt3 flex flex-column flex-row-l items-center-l mb4-l">
<a href="https://rust-lang-nursery.github.io/cli-wg/"
<a href="https://rust-cli.github.io/book/index.html"
class="button button-secondary mw6-l w-100">
{{fluent "learn-domain-cli-button"}}
</a>
Expand Down
2 changes: 1 addition & 1 deletion templates/tools/install.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<p>
{{fluent "install-other-methods-description"}}
</p>
<a href="https://forge.rust-lang.org/other-installation-methods.html" class="button button-secondary">
<a href="https://forge.rust-lang.org/infra/other-installation-methods.html" class="button button-secondary">
{{fluent "install-other-methods-link"}}
</a>
</div>
Expand Down