Skip to content

Add docset products attribute #1239

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

Merged
merged 1 commit into from
May 9, 2025

Conversation

reakaleek
Copy link
Member

@reakaleek reakaleek commented May 9, 2025

Part of #1200

Changes

  • Add a new property products to the docset yaml configuration file. This will be added to the meta tags by default. Frontmatter products will be appended.
  • Move Products class and Product record to Elastic.Documentation.Configuration and import it in Elastic.Markdown instead. So it can be used in both places. (Same for Suggestion class)

@reakaleek reakaleek self-assigned this May 9, 2025
@reakaleek reakaleek marked this pull request as ready for review May 9, 2025 13:16
@reakaleek reakaleek requested a review from a team as a code owner May 9, 2025 13:16
Copy link
Member

@Mpdreamz Mpdreamz left a comment

Choose a reason for hiding this comment

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

++ this will be super useful for reference content and not having to scatter it throughout all the pages!

Comment on lines +1 to +5
---
products:
- apm
---

Copy link
Member

Choose a reason for hiding this comment

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

Is this intentional?

Copy link
Member Author

Choose a reason for hiding this comment

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

Woops.. no.. but it doesn't hurt as well.

Thanks for noticing.

Copy link
Member Author

Choose a reason for hiding this comment

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

I will remove it in a follow-up.

@reakaleek reakaleek merged commit 6a52ba9 into main May 9, 2025
14 of 15 checks passed
@reakaleek reakaleek deleted the feature/docset-default-frontmatter-products branch May 9, 2025 15:53
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