Skip to content
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

pdf migrations #21

Merged
merged 5 commits into from
Nov 12, 2024
Merged
Show file tree
Hide file tree
Changes from 4 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
Copy link

@sknep sknep Nov 7, 2024

Choose a reason for hiding this comment

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

I think we should definitely delete this one! no redirect! into the ether!

Binary file not shown.
Binary file added _assets/documents/AFWERX-case-study.pdf
Copy link

Choose a reason for hiding this comment

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

Let's delete and redirect this one to https://cloud.gov/pages/success-stories/#afwerx

Binary file not shown.
Copy link

Choose a reason for hiding this comment

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

Binary file not shown.
Binary file added _assets/documents/Pages-Proposal.pdf
Copy link

Choose a reason for hiding this comment

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

let's delete and redirect this one to the pages homepage, cloud.gov/pages

Binary file not shown.
Binary file added _assets/documents/afwerx-success.pdf
Copy link

Choose a reason for hiding this comment

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

Let's delete and redirect this one to https://cloud.gov/pages/success-stories/#afwerx

Binary file not shown.
Copy link

Choose a reason for hiding this comment

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

lets delete and redirect to https://cloud.gov/pricing/

Binary file not shown.
Binary file added _assets/documents/coe-success.pdf
Copy link

Choose a reason for hiding this comment

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

Binary file not shown.
Binary file added _assets/documents/doi-success.pdf
Copy link

Choose a reason for hiding this comment

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

Binary file not shown.
Binary file added _assets/documents/example-diagram-1.pdf
Copy link

Choose a reason for hiding this comment

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

these diagrams might not have a good replacement, in which case a ticket for me to rebuild them in something accessible is the right call. do you know where these are used?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Seems like this is the only place they're referenced: https://cloud.gov/docs/compliance/diagrams/

Binary file not shown.
Binary file added _assets/documents/example-diagram-2.pdf
Binary file not shown.
Binary file added _assets/documents/how-pages-works-diagram.pdf
Copy link

Choose a reason for hiding this comment

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

cloud-gov/system-diagrams#164

I don't expect this to get closed soon, so we can keep this diagram for now. When that ticket is addressed, we can come back to this.

Binary file not shown.
Binary file added _assets/documents/pages-compliance-memo.pdf
Copy link

Choose a reason for hiding this comment

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

Binary file not shown.
2 changes: 1 addition & 1 deletion _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ <h4 class="usa-footer__primary-link">Policies</h4>
</a>
</li>
<li class="usa-identifier__required-links-item">
<a href="https://www.gsa.gov/reference/civil-rights-programs/notification-and-federal-employee-antidiscrimination-and-retaliation-act-of-2002 usa-link--external" target="_blank" class="usa-identifier__required-link usa-link">
<a href="https://www.gsa.gov/reference/civil-rights-programs/notification-and-federal-employee-antidiscrimination-and-retaliation-act-of-2002" target="_blank" class="usa-identifier__required-link usa-link usa-link--external">
No FEAR Act data
</a>
</li>
Expand Down
10 changes: 10 additions & 0 deletions _includes/layouts/meta-redirect.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0; url={{ redirectUrl | url}}"/>
<title>Redirecting...</title>
</head>
<body>
<p>If you are not redirected, <a href="{{ redirectUrl | url }}">click here</a>.</p>
</body>
</html>
5 changes: 5 additions & 0 deletions content/redirects/Office_Hours_EC_ES_Tech_Talk.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
permalink: /assets/documents/Office_Hours_EC_ES_Tech_Talk.pdf/index.html
redirect: /docs/overview/customer-service-objectives/
Copy link

Choose a reason for hiding this comment

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

---
{% include "layouts/meta-redirect.html" redirectUrl: redirect %}
5 changes: 5 additions & 0 deletions content/redirects/cloudgov-select-customers.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
permalink: /assets/documents/cloudgov-select-customers.pdf/index.html
redirect: /docs/customer-stories/epa-airnow-gov/
---
{% include "layouts/meta-redirect.html" redirectUrl: redirect %}
5 changes: 5 additions & 0 deletions content/redirects/cloudgov-vendors-2019.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
permalink: /assets/documents/cloudgov-vendors-2019.pdf/index.html
Copy link

Choose a reason for hiding this comment

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

https://cloud.gov/assets/documents/cloudgov-vendors-2019.pdf doesnt' exist.... is this the right source URL?

Copy link

Choose a reason for hiding this comment

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

ah, the permalink should say:

permalink: /resources/cloudgov-vendors-2019.pdf

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated the permalink. Good catch! Where should the redirect go?

redirect: /
---
{% include "layouts/meta-redirect.html" redirectUrl: redirect %}
5 changes: 5 additions & 0 deletions content/redirects/federalist-one-pager.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
permalink: /assets/documents/Federalist-One-Pager.pdf/index.html
redirect: /pages/
---
{% include "layouts/meta-redirect.html" redirectUrl: redirect %}
5 changes: 5 additions & 0 deletions content/redirects/federalist-system-architecture.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
permalink: /assets/documents/federalist-system-architecture.pdf/index.html
redirect: /pages/documentation/how-pages-works/
Copy link

Choose a reason for hiding this comment

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

I'm asking about this one in slack. It might already exist somewhere else, like on our diagrams site at https://diagrams.fr.cloud.gov/

---
{% include "layouts/meta-redirect.html" redirectUrl: redirect %}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
permalink: /assets/documents/how-federalist-works-for-presentation.pdf/index.html
redirect: /pages/documentation/how-pages-works/
Copy link

Choose a reason for hiding this comment

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

should this redirect to the PDF you're including at:

_assets/documents/how-pages-works-diagram.pdf

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not sure honestly. We can delete how-pages-works-diagram.pdf and redirect to /pages/documentation/how-pages-works/. For how-federalist...pdf, this was just a best guess.

Copy link

Choose a reason for hiding this comment

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

ah, federalist is the old name of Pages, so i think it has just been replaced by newer content 2x

---
{% include "layouts/meta-redirect.html" redirectUrl: redirect %}
Loading