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

Issues list clean up #156

Open
wants to merge 22 commits into
base: production
Choose a base branch
from
Open

Issues list clean up #156

wants to merge 22 commits into from

Conversation

zachserviss
Copy link

@zachserviss zachserviss commented Mar 10, 2022

Description of the change

Removing duplicate issues (RS17/27) and redirecting traffic to RS20

Types of changes

  • Documentation content
  • [ x] Page Layout / templates / structure
  • [x ] Internal / code cleanup / build system

@DerekSiemens
Copy link
Contributor

DerekSiemens commented Mar 30, 2022

This PR is branched off of #155. It should not include changes from the other PR, if it relies on those changes then maybe the two PR's should be merged together

@@ -12,6 +12,7 @@ import TOC from "./TOC";
*/
export type Entry = {
title: string;
robots?: string;
Copy link
Contributor

@DerekSiemens DerekSiemens Oct 14, 2022

Choose a reason for hiding this comment

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

I wonder if we can change the usage of just the plain robots in the docs within the code so we don't need two types

}

let ogImageURL:string;
if(props?.fields?.ogFeaturedImage != null && Object.keys(props?.fields?.ogFeaturedImage).length > 0){
Copy link
Contributor

Choose a reason for hiding this comment

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

There must be a cleaner way to do this

@netlify
Copy link

netlify bot commented Oct 20, 2022

Deploy Preview for saasquatch-docs ready!

Name Link
🔨 Latest commit 1ef18ef
🔍 Latest deploy log https://app.netlify.com/sites/saasquatch-docs/deploys/63ab87e8db20ee000ad2b93f
😎 Deploy Preview https://deploy-preview-156--saasquatch-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

<meta property="og:image" content={ogImageURL || ogImage} />
<meta name="twitter:image" content={ogImageURL || ogImage} />

<meta name="robots" content={props.fields?.robotsTag || props?.robots} />
Copy link
Contributor

Choose a reason for hiding this comment

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

Noting that the contentful default here is "FOLLOW", lets make sure that is handled appropriately

Copy link
Contributor

Choose a reason for hiding this comment

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

Also need to make sure this is handled well for the content within the code that does not have any robots information

@@ -1,6 +1,7 @@
import React from "react";
import marked from "marked";

// import ogImage from "../assets/images/opengraph-center-crop-helpcenter.png";
const ogImage = require("../assets/images/opengraph-center-crop-helpcenter.png");
Copy link
Contributor

Choose a reason for hiding this comment

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

Lets fix this before sending it out

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

Successfully merging this pull request may close these issues.

3 participants