docs icon indicating copy to clipboard operation
docs copied to clipboard

Related Reading: dynamically and in our default layouts

Open leecalcote opened this issue 6 months ago • 11 comments

@Bhumikagarggg @banana-three-join, learn this area.

Ensure that we don't need hardcoded "related docs" sections, but that each page has this dynamically built-int.

Originally posted by @leecalcote in #1029

leecalcote avatar May 14 '26 17:05 leecalcote

@leecalcote I would like to work on this issue. Can I work on it?

Sbragul26 avatar May 23 '26 12:05 Sbragul26

@Sbragul26 I've already raised a PR for it over in the Meshery repo. https://github.com/meshery/meshery/pull/19513

I've been waiting for feedback on it because of the recommendation engine. Could you help out by reviewing it so it can be merge?

banana-three-join avatar May 23 '26 16:05 banana-three-join

@Sbragul26 I've already raised a PR for it over in the Meshery repo. meshery/meshery#19513

I've been waiting for feedback on it because of the recommendation engine. Could you help out by reviewing it so it can be merge?

@banana-three-join, to paraphrase @leecalcote, invert your direction. Start in this repo. Allow the Meshery Docs repo to benefit (as it already does) from the Layer5 Docs theme.

fitzergerald avatar May 26 '26 06:05 fitzergerald

Checking in... it has been awhile since we've heard from you on this issue. Are you still working on it? Please let us know and please don't hesitate to contact a MeshMate (https://meshery.io/community/meshmates/) or any other community member (https://meshery.io/community) for assistance.

ritzorama avatar Nov 13 '26 11:11 ritzorama

Not actively working on this right now. The PR I raised for it, meshery/meshery#19513, was closed without merging back in June, so the fix would need to be redone from scratch. The issue has two assignees at the moment, so I will leave it with them - happy to review if a new PR comes up.

fitzergerald avatar Nov 14 '26 01:11 fitzergerald

Hi @Bhumikagarggg and @banana-three-join, following up on my check-in from last week - I have not heard back, so I will release this assignment in 7 days so someone else can pick it up. If you are still working on it, just let us know here. Thanks!

ritzorama avatar Nov 20 '26 11:11 ritzorama

This issue can be closed as it has already been addressed in https://github.com/meshery/meshery/issues/19422

banana-three-join avatar Nov 21 '26 00:11 banana-three-join

Thanks for checking in - quick correction on the link: the PR behind that work, meshery/meshery#19513, was closed without merging, so the dynamic Related Reading change did not land. The issue still needs the fix redone from scratch, so I am leaving this open. If you have a branch that implements it, happy to review a fresh PR.

fitzergerald avatar Nov 21 '26 06:11 fitzergerald

I've attached the merged PR which substitutes the hardcoded suggestions in favor for the Dynamic Related Reading.

banana-three-join avatar Nov 21 '26 12:11 banana-three-join

Thanks for following up with the link - you are right, and this corrects my earlier reply. I checked layer5io/docs#1129: merged Sept 28, and it does the work this issue asks for. It replaces the hand-written Related / See Also blocks with the automatic Related Reading partial across 131 content files, and I verified on master today that the partial is wired into the default layout (layouts/_default/content.html) with the related config updated in hugo.toml (threshold 80, categories 100, tags 50). The remaining See Also mentions I spot-checked are inline pointers, not hardcoded sections.

So the dynamic, built-in behavior Lee asked for here did land in this repo - my earlier note about meshery/meshery#19513 was about the Meshery-repo attempt, which is a separate path. Note #1129 formally says it resolves #1028, but its scope matches this issue. From what I verified, this looks closable - leaving the actual close to the assignees.

fitzergerald avatar Nov 21 '26 12:11 fitzergerald

Closing this out: layer5io/docs#1129 (merged Sept 28) replaced the hardcoded Related Docs with dynamic Related Reading, which is the work this issue asked for. Thanks to banana-three-join for tracking down the merged PR.

fitzergerald avatar Nov 21 '26 16:11 fitzergerald