Skip to content

DOC-13935 new page-capella-type for AI and app-services#196

Merged
osfameron merged 4 commits intomasterfrom
DOC-13935-capella-type-AI-and-app-services
Mar 20, 2026
Merged

DOC-13935 new page-capella-type for AI and app-services#196
osfameron merged 4 commits intomasterfrom
DOC-13935-capella-type-AI-and-app-services

Conversation

@osfameron
Copy link
Contributor

image image

See https://preview.docs-test.couchbase.com/docs-capella-app-services-main/ai/build/integrate-agent-with-catalog.html

I've updated docs-ai and docs-capella-app-services with the new :page-capella-type:

NB: the icons aren't rendering, I'll look at that again...

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request adds support for two new Capella types ("AI" and "App Services") to the documentation theme's label system, allowing pages to be tagged with these categories alongside existing "columnar" and "operational" types.

Changes:

  • Added conditional rendering for "AI" and "App Services" labels with corresponding icons
  • Introduced new color variables for the green and purple brand colors used by the new labels
  • Created CSS styles for the new label types matching the existing pattern

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

File Description
src/partials/labels.hbs Added conditional blocks to render AI and App Services labels with sparkles and mobile-signal icons
src/css/vars.css Defined new brand color variables (green and purple) for the new Capella types
src/css/labels.css Added CSS styling for .ai and .app-services classes with appropriate colors and borders

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

}

/* Capella types: columnar vs operational */
/* Capella types: columnar, operational, ai, app-services */
Copy link

Copilot AI Jan 23, 2026

Choose a reason for hiding this comment

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

Extra space between 'columnar,' and 'operational' - should be single space for consistency.

Suggested change
/* Capella types: columnar, operational, ai, app-services */
/* Capella types: columnar, operational, ai, app-services */

Copilot uses AI. Check for mistakes.
Copy link

@Rebecca-Martinez007 Rebecca-Martinez007 left a comment

Choose a reason for hiding this comment

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

I feel like we should keep it consistent with naming elsewhere and have it be "Capella AI Services". Open to thoughts and objections.

<li class="columnar">
<i class="fas fa-chart-line"></i>
Capella Analytics</li>
{{else if (eq this "AI")}}

Choose a reason for hiding this comment

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

I just realized we need this to be "AI" to match with antora.yaml right?

How would we get the label to be "Capella AI Services"? In the local images shared, it says "Capella AI"

Copy link
Contributor

Choose a reason for hiding this comment

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

You're commenting on the wrong line of code :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

that is just the value of :page-capella-type: e.g. https://github.com/couchbaselabs/docs-ai/blob/main/antora.yml#L11

<li class="columnar">
<i class="fas fa-chart-line"></i>
Capella Analytics</li>
{{else if (eq this "AI")}}

Choose a reason for hiding this comment

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

I just realized we need this to be "AI" to match with antora.yaml right?

How would we get the label to be "Capella AI Services"? In the local images shared, it says "Capella AI"

<li class="columnar">
<i class="fas fa-chart-line"></i>
Capella Analytics</li>
{{else if (eq this "AI")}}
Copy link
Contributor

Choose a reason for hiding this comment

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

You're commenting on the wrong line of code :)

{{else if (eq this "AI")}}
<li class="ai">
<i class="fas fa-sparkles"></i>
Capella AI</li>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the visible output, e.g. the label HTML.
So that's what you'd want to update @Rebecca-Martinez007

osfameron and others added 2 commits March 20, 2026 15:26
Co-authored-by: sarahlwelton <110928505+sarahlwelton@users.noreply.github.com>
as fa-mobile-signal doesn't load for some reason
@osfameron
Copy link
Contributor Author

Can't get fa-mobile-signal to work, even though it should just be in the same Pro pack as the working fa-sparkles.

Have replcaed with fa-mobile for now.

@osfameron osfameron merged commit 2b34d41 into master Mar 20, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants