Remove duplicated pages to improve search results#840
Remove duplicated pages to improve search results#840marc1404 merged 5 commits intogardener:masterfrom
Conversation
❌ Deploy Preview for soon-to-be-gardenercloud failed.
|
| title: Provider Alicloud | ||
| title: Provider Alibaba Cloud |
There was a problem hiding this comment.
Unrelated scout rule change
| title: Provider Openstack | ||
| title: Provider OpenStack |
There was a problem hiding this comment.
Unrelated scout rule change
|
@BoHristova, @klocke-io, @n-boshnakov You have pull request review open invite, please check |
| - file: _index.md | ||
| frontmatter: | ||
| title: High Availability | ||
| weight: 30 |
There was a problem hiding this comment.
Only contains 2 files that are excluded below. Therefore, we don't need the directory when the files are shown in the Guides section instead.
| - dir: code | ||
| structure: | ||
| - dir: security-guide | ||
| structure: | ||
| - file: _index.md | ||
| frontmatter: | ||
| title: Security Release Process | ||
| source: https://github.com/gardener/.github/blob/main/SECURITY.md |
There was a problem hiding this comment.
Already included here:
We should not have the page twice.
| - file: api-reference.md | ||
| frontmatter: | ||
| title: API Reference | ||
| persona: Developers | ||
| source: https://github.com/gardener/etcd-druid-api/blob/main/docs/api-reference/druid.md |
There was a problem hiding this comment.
Already included through the fileTree option directly below
| - file: /website/documentation/getting-started/features/credential-rotation.md | ||
| frontmatter: | ||
| title: Credential Rotation | ||
| weight: 37 |
There was a problem hiding this comment.
Already included through the fileTree option on getting-started:
|
Thank you :) /lgtm |
|
LGTM label has been added. DetailsGit tree hash: 53bfa749fbf05c9c34a24b22c6e0d2afc75d5f9f |
n-boshnakov
left a comment
There was a problem hiding this comment.
/lgtm
Tested locally, everything seems to work fine.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: n-boshnakov The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
How to categorize this PR?
/kind cleanup enhancement task
What this PR does / why we need it:
In the Docforge configuration, certain files are "hand-picked" to replicate them in relevant, accessible locations such as the
GuidesorSecurity and Compliancesection. However, since the replicated file remains at its original location (usually specified via thefileTreedirective in Docforge), the content is effectively duplicated.This leads to duplicate search results for certain queries targeting these pages.
This PR does the following:
fileTree).Which issue(s) this PR fixes:
Fixes #720
Special notes for your reviewer:
It might be easier to review the changes by browsing the individual commits.
/cc @n-boshnakov @BoHristova @klocke-io
ℹ️ @LibenHailu, thank you for figuring out the root cause issue!