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

Update canonical links for Advanced section #453

Closed

Conversation

LucasSaintarbor
Copy link
Contributor

@LucasSaintarbor LucasSaintarbor commented Sep 18, 2023

Note: Tracking adding canonical links for v1.2 via https://github.com/harvester/docs/issues/446. Wait to merge until #434 is merged.

@harvesterhci-io-github-bot
Copy link
Collaborator

harvesterhci-io-github-bot commented Sep 18, 2023

Deploy Preview for harvester-preview ready!

Name Link
🔨 Latest commit aad4c51
🔍 Latest deploy log https://app.netlify.com/sites/harvester-preview/deploys/65b942333f86f326343ceeba
😎 Deploy Preview https://65b942333f86f326343ceeba--harvester-preview.netlify.app

Copy link
Contributor

@jillian-maroket jillian-maroket left a comment

Choose a reason for hiding this comment

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

@LucasSaintarbor Some URLs have changed.

  • /advanced/settings/ -> /advanced/index/
  • /advanced/pcidevices/ -> /advanced/addons/pcidevices/
  • /advanced/vmimport/ -> /advanced/addons/vmimport/

docs/advanced/addons/pcidevices.md Outdated Show resolved Hide resolved
docs/advanced/addons/vmimport.md Outdated Show resolved Hide resolved
docs/advanced/settings.md Outdated Show resolved Hide resolved
versioned_docs/version-v1.1/advanced/pcidevices.md Outdated Show resolved Hide resolved
versioned_docs/version-v1.1/advanced/settings.md Outdated Show resolved Hide resolved
versioned_docs/version-v1.1/advanced/vmimport.md Outdated Show resolved Hide resolved
Copy link
Contributor Author

@LucasSaintarbor LucasSaintarbor left a comment

Choose a reason for hiding this comment

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

@jillian-maroket Sorry I missed this. For /advanced/settings -> /advanced/index/, removing the id: index in the metadata makes the URL /advanced/settings. I made this change to make the URL match the title in the sidebar/of the page.

sidebar_position: 1
sidebar_label: Settings
title: "Settings"
---

<head>
<link rel="canonical" href="https://docs.harvesterhci.io/v1.1/advanced/settings"/>
<link rel="canonical" href="https://docs.harvesterhci.io/v1.2/advanced/index"/>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
<link rel="canonical" href="https://docs.harvesterhci.io/v1.2/advanced/index"/>
<link rel="canonical" href="https://docs.harvesterhci.io/v1.2/advanced/settings"/>

sidebar_position: 1
sidebar_label: Settings
title: "Settings"
---

<head>
<link rel="canonical" href="https://docs.harvesterhci.io/v1.1/advanced/settings"/>
<link rel="canonical" href="https://docs.harvesterhci.io/v1.2/advanced/index"/>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
<link rel="canonical" href="https://docs.harvesterhci.io/v1.2/advanced/index"/>
<link rel="canonical" href="https://docs.harvesterhci.io/v1.2/advanced/settings"/>

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

Successfully merging this pull request may close these issues.

3 participants