Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ code {
color: inherit;
}

#redoc { width: 100%; }
Copy link

Copilot AI Apr 20, 2026

Choose a reason for hiding this comment

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

This new rule is formatted as a single-line block, but the surrounding rules in this file use multi-line blocks (e.g., code { ... } at src/css/base.css:69-73 and #redoc code { ... } at :76-79). Consider formatting #redoc consistently to match the established style.

Suggested change
#redoc { width: 100%; }
#redoc {
width: 100%;
}

Copilot uses AI. Check for mistakes.

a code {
color: var(--color-link);
background-color: transparent;
Expand Down
70 changes: 0 additions & 70 deletions src/css/contributor.css

This file was deleted.

1 change: 0 additions & 1 deletion src/css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
@import "clipboard.css";
@import "table.css";
@import "landing-page.css";
@import "contributor.css";
@import "terminal.css";
@import "external-link-icon.css";
@import "disable-callouts.css";
Expand Down
87 changes: 0 additions & 87 deletions src/js/08-contributor-bot.js

This file was deleted.

17 changes: 4 additions & 13 deletions src/layouts/404.hbs
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
<!DOCTYPE html>
<html lang="en">
<head>
{{> head-first}}
<title>{{{detag (or page.title 'Page Not Found')}}}{{#with site.title}} | {{this}}{{/with}}</title>
{{> head-last}}
</head>
<body class="status-404">
{{> header}}
{{> body-404}}
{{> footer}}
</body>
</html>
{{> layout-shell
defaultTitle="Page Not Found"
bodyClass="status-404"
bodyTemplate="body-404"}}
15 changes: 2 additions & 13 deletions src/layouts/default.hbs
Original file line number Diff line number Diff line change
@@ -1,13 +1,2 @@
<!DOCTYPE html>
<html lang="en">
<head>
{{> head-first}}
<title>{{{detag (or page.title 'Untitled')}}}{{#with site.title}} | {{this}}{{/with}}</title>
{{> head-last}}
</head>
<body class="article">
{{> header}}
{{> body}}
{{> footer}}
</body>
</html>
{{> layout-shell
defaultTitle="Untitled"}}
18 changes: 4 additions & 14 deletions src/layouts/home.hbs
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
<!DOCTYPE html>
<html lang="en">
<head>
{{> head-first}}
<title>Couchbase Documentation</title>
{{> head-last}}
</head>
<body class="home">

{{> header}}
{{> body-home}}
{{> footer}}
</body>
</html>
{{> layout-shell
siteTitleOnly=true
bodyClass="home"
bodyTemplate="body-home"}}
Comment on lines +1 to +4
Copy link

Copilot AI Apr 20, 2026

Choose a reason for hiding this comment

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

This changes the home page <title> from a fixed "Couchbase Documentation" string to site.title via siteTitleOnly=true. If this PR is intended to be a refactor-only change, consider preserving the previous title text (or explicitly documenting this behavior change).

Copilot uses AI. Check for mistakes.
21 changes: 8 additions & 13 deletions src/layouts/landing-page-capella.hbs
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
<!DOCTYPE html>
<html lang="en">
<head>
{{> head-first}}
<title>{{{detag (or page.title 'landing page')}}}{{#if site.title}} | {{{site.title}}}{{/if}}</title>
{{> head-last}}
</head>
<body class="landing-page">
{{> header}}
{{> body-landing-page-capella}}
{{> footer}}
</body>
</html>
{{> layout-shell
bodyClass="landing-page"
defaultTitle="Landing Page"
bodyTemplate="body-landing"
nav="sidebar"
mainClass="capella-article"
articleClass="landing-page-capella"
capellaImages=true}}
18 changes: 5 additions & 13 deletions src/layouts/landing-page-core-concept.hbs
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<head>
{{> head-first}}
<title>{{{detag (or page.title 'landing page')}}}{{#if site.title}} | {{{site.title}}}{{/if}}</title>
{{> head-last}}
</head>
<body class="landing-page">
{{> header}}
{{> body-landing-core-concept}}
{{> footer}}
</body>
</html>
{{> layout-shell
bodyClass="landing-page"
defaultTitle="Landing Page"
bodyTemplate="body-landing"
nav="full"}}
18 changes: 5 additions & 13 deletions src/layouts/landing-page-sdk.hbs
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<head>
{{> head-first}}
<title>{{{detag (or page.title 'landing page')}}}{{#if site.title}} | {{{site.title}}}{{/if}}</title>
{{> head-last}}
</head>
<body class="landing-page">
{{> header}}
{{> body-landing-sdk}}
{{> footer}}
</body>
</html>
{{> layout-shell
bodyClass="landing-page"
defaultTitle="Landing Page"
bodyTemplate="body-landing"
nav="full"}}
18 changes: 5 additions & 13 deletions src/layouts/landing-page-top-level-sdk.hbs
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<head>
{{> head-first}}
<title>{{{detag (or page.title 'landing page')}}}{{#if site.title}} | {{{site.title}}}{{/if}}</title>
{{> head-last}}
</head>
<body class="landing-page">
{{> header}}
{{> body-landing-top-level-sdk}}
{{> footer}}
</body>
</html>
{{> layout-shell
bodyClass="landing-page"
defaultTitle="Landing Page"
Copy link

Copilot AI Apr 20, 2026

Choose a reason for hiding this comment

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

defaultTitle is capitalized as "Landing Page" here, but other landing-page layouts in this PR use "landing page" (and the previous template used "landing page"). This will change the browser title casing only for some landing pages; consider standardizing the default title across all landing-page layouts.

Suggested change
defaultTitle="Landing Page"
defaultTitle="landing page"

Copilot uses AI. Check for mistakes.
bodyTemplate="body-landing"
nav="sidebar"}}
18 changes: 5 additions & 13 deletions src/layouts/landing-page-tutorials.hbs
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<head>
{{> head-first}}
<title>{{{detag (or page.title 'landing page')}}}{{#if site.title}} | {{{site.title}}}{{/if}}</title>
{{> head-last}}
</head>
<body class="landing-page">
{{> header}}
{{> body-landing-tutorials}}
{{> footer}}
</body>
</html>
{{> layout-shell
bodyClass="landing-page"
defaultTitle="Landing Page"
Copy link

Copilot AI Apr 20, 2026

Choose a reason for hiding this comment

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

defaultTitle is capitalized as "Landing Page" here, but other landing-page layouts in this PR use "landing page" (and the previous template used "landing page"). This will change the browser title casing only for some landing pages; consider standardizing the default title across all landing-page layouts.

Suggested change
defaultTitle="Landing Page"
defaultTitle="landing page"

Copilot uses AI. Check for mistakes.
bodyTemplate="body-landing"
nav="tutorials-filter"}}
17 changes: 4 additions & 13 deletions src/layouts/landing-page.hbs
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
<!DOCTYPE html>
<html lang="en">
<head>
{{> head-first}}
<title>{{{detag (or page.title 'landing page')}}}{{#if site.title}} | {{{site.title}}}{{/if}}</title>
{{> head-last}}
</head>
<body class="landing-page">
{{> header}}
{{> body-landing}}
{{> footer}}
</body>
</html>
{{> layout-shell
bodyClass="landing-page"
defaultTitle="Landing Page"
bodyTemplate="body-landing"}}
30 changes: 4 additions & 26 deletions src/layouts/rest-api.hbs
Original file line number Diff line number Diff line change
@@ -1,26 +1,4 @@
<!DOCTYPE html>
<html lang="en">
<head>
{{> head-first}}

<title>{{{detag (or page.title 'REST API')}}}{{#if site.title}} | {{{site.title}}}{{/if}}</title>
{{> head-last}}
<style>
#redoc { width: 100%}
</style>
<meta name='viewport' content='width=device-width, initial-scale=1' />
</head>
<body class="rest-api">
{{> header}}

<div class="body container">


{{{page.contents}}}

</div>


{{> footer}}
</body>
</html>
{{> layout-shell
defaultTitle="REST API"
bodyClass="rest-api"
bodyTemplate="body-rest-api" }}
17 changes: 4 additions & 13 deletions src/layouts/tutorials.hbs
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
<!DOCTYPE html>
<html lang="en">
<head>
{{> head-first}}
<title>Tutorials{{#with site.title}} | {{this}}{{/with}}</title>
{{> head-last}}
</head>
<body class="tutorials body tiles">
{{> header}}
{{> body-tutorials}}
{{> footer}}
</body>
</html>
{{> layout-shell
defaultTitle="Tutorials"
bodyClass="tutorials body tiles"
bodyTemplate="body-tutorials"}}
Loading
Loading