Skip to content

Remove Media Guide #1656

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 5 commits into from
Mar 25, 2022
Merged

Conversation

JoelMarcey
Copy link
Contributor

The canonical logo policy and media guide is now hosted on the Rust Foundation website

https://foundation.rust-lang.org/policies/logo-policy-and-media-guide/

Fixes #1655

The canonical logo policy and media guide is now hosted on the Rust Foundation website

https://foundation.rust-lang.org/policies/logo-policy-and-media-guide/
@JoelMarcey JoelMarcey requested a review from a team as a code owner March 23, 2022 16:37
@Manishearth
Copy link
Member

It should still be linked from the website, no?

@JoelMarcey
Copy link
Contributor Author

Ah yes, fair enough. The same is done for the Privacy Policy. Will fix.

@Manishearth
Copy link
Member

This still removes the translated link text. Only the policy should be removed and the link target should be updated

@pietroalbini
Copy link
Member

Can redirect(s) be added to prevent broken links?

static EXTERNAL_REDIRECTS: &[(&str, &str)] = &[
// Pre-2018 website pages
(
"other-installers.html",
"https://forge.rust-lang.org/infra/other-installation-methods.html",
),
// Pre-foundation website pages
(
"policies/privacy",
"https://foundation.rust-lang.org/policies/privacy-policy/",
),
];

@JoelMarcey
Copy link
Contributor Author

This still removes the translated link text. Only the policy should be removed and the link target should be updated

@Manishearth What would the translated link text be used for though if the policy is not on the actual rust-lang.org site? I agree the translated link text will actually be useful if and when the Foundation gets around to translating the site - we could use that translated text as a starting point.

@Manishearth
Copy link
Member

@JoelMarcey I'm not talking about the translated policy text, I'm talking about the link text in the footer: your PR switches everyone to English

@JoelMarcey
Copy link
Contributor Author

JoelMarcey commented Mar 23, 2022

@Manishearth Oh. Well, I just followed the precedent that was done for the Privacy Policy link change. That changes everyone to English too, right? 56/files#diff-d3d64205c4a28105d6051690404ca37daca8f1e4cedf52669e6cf60acc570649R25

Unless I am still misunderstanding what you are referring to.

@Manishearth
Copy link
Member

Yeah sounds like that was a mistake too. I'll fix it when I'm back on a computer

The footers of each translated website should be in that language, even if they link to English content

@Manishearth
Copy link
Member

I fixed it for the privacy policy: #1657

@@ -7,7 +7,6 @@ policies-page-description = This page links to the comprehensive set of Rust’s

policies-code-of-conduct-link = Code of Conduct
policies-licenses-link = Licenses
policies-media-guide-link = Logo Policy and Media Guide
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Basically, these entries shoudl not be removed

@@ -12,9 +12,9 @@
<ul>
<li><a href="{{baseurl}}/policies/code-of-conduct">{{fluent "policies-code-of-conduct-link"}}</a></li>
<li><a href="{{baseurl}}/policies/licenses">{{fluent "policies-licenses-link"}}</a></li>
<li><a href="{{baseurl}}/policies/media-guide">{{fluent "policies-media-guide-link"}}</a></li>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and only the URLs, not the link text, should be updated here

<li><a href="{{baseurl}}/policies/security">{{fluent "policies-security-link"}}</a></li>
<li><a href="{{baseurl}}/policies/privacy">{{fluent "policies-privacy-link"}}</a></li>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this bit still needs to be fixed

@Manishearth Manishearth merged commit e864591 into rust-lang:master Mar 25, 2022
@JoelMarcey
Copy link
Contributor Author

Sorry if I missed this in the documentation somewhere, but when does this pull request get merged to the live rust-lang.org site? I saw it was in the staging site. Does it coincide with the next release of the language? Thanks!

cc @abibroom

@Manishearth
Copy link
Member

A pull request to the deploy branch needs to be done, after reviewing the staging site.

I'm pretty busy these days and most of the other people involved in the website aren't that active so it's not something that occurs regularly; but you can ask for a deploy any time (or make the PR yourself).

I'm doing it here: #1660

@JoelMarcey
Copy link
Contributor Author

Thanks @Manishearth for helping me understand that it is not an automatic process and for kicking off a deploy as well.

@Manishearth
Copy link
Member

Manishearth commented Apr 11, 2022

Yeah, it used to be automatic, but it was easy to break the website, so there's a manual review step now and we only deploy occasionally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove Logo Policy and Media Guide
3 participants