Skip to content

Commit 2e377a6

Browse files
committed
[Misc] website: Look & feel updated
Use features from latest docsy release.
1 parent b8d84ee commit 2e377a6

File tree

10 files changed

+16
-7
lines changed

10 files changed

+16
-7
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1+
// Dark mode enhancements
2+
@import 'td/color-adjustments-dark';
13
@import 'td/code-dark';
4+
@import 'td/gcs-search-dark';

website/content/en/_index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ description: A Kubernetes operator for managing the lifecycle of multi-tenant SA
55
---
66

77
{{% blocks/cover title="Welcome to CAP Operator" image_anchor="top" height="full" color="primary" %}}
8-
{{% blocks/lead %}}
8+
{{% blocks/lead color="gray-dark" %}}
99
A Kubernetes operator for managing the lifecycle of multi-tenant CAP applications
1010
{{% /blocks/lead %}}
1111
{{% blocks/section height="min" color="inherit" %}}
12-
<a class="btn btn-lg btn-primary me-3 mb-4 rounded-pill" href="docs/">
12+
<a class="btn btn-lg btn-info me-3 mb-4 rounded-pill" href="docs/">
1313
Learn more <i class="fas fa-arrow-alt-circle-right ms-2"></i>
1414
</a>
15-
<a class="btn btn-lg btn-secondary me-3 mb-4 rounded-pill" href="https://github.com/sap/cap-operator">
15+
<a class="btn btn-lg btn-warning me-3 mb-4 rounded-pill" href="https://github.com/sap/cap-operator">
1616
Go to the source repository <i class="fab fa-github ms-2 "></i>
1717
</a>
1818
{{% /blocks/section %}}

website/content/en/docs/concepts/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ weight: 10
55
type: "docs"
66
description: >
77
Motivation and overview of components
8+
sidebar_root_for: children
89
---
910

1011
Provisioning and operating an SAP Cloud Application Programming Model application on a Kubernetes cluster requires the deployment of various components in addition to the CAP application server (see [a list of typical components](./cap-application-components.md)). Some of these components can be created at the time of system provisioning, while others need to be created (or updated) at different points during the lifecycle of the application (DAY 2 operational tasks).

website/content/en/docs/installation/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ weight: 30
55
type: "docs"
66
description: >
77
How to install CAP Operator in a Kubernetes cluster
8+
sidebar_root_for: children
89
---
910

1011
This page provides an overview of available methods to install CAP Operator on a Kubernetes cluster.

website/content/en/docs/usage/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ weight: 50
55
type: "docs"
66
description: >
77
How to manage the application with CAP Operator
8+
sidebar_root_for: self
89
---

website/content/en/docs/usage/domain-management/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ type: "docs"
66
tags: ["domains"]
77
description: >
88
Enhancing Domain Management with CAP Operator
9+
sidebar_root_for: self
910
---
1011

1112
The CAP Operator has introduced a pivotal update in domain management, transitioning from the deprecated `domains` section in `CAPApplication` resources to the more versatile `domainRefs`. This shift allows users to reference [`Domain`](../resources/domain) or [`ClusterDomain`](../resources/clusterdomain) resources, offering enhanced control over CAP applications' networking behaviour, including TLS handling, ingress routing, and DNS setup.

website/content/en/docs/usage/resources/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ weight: 90
55
type: "docs"
66
description: >
77
Detailed configuration of resources managed by CAP Operator
8+
sidebar_root_for: self
89
---

website/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ module github.com/sap/cap-operator/website
22

33
go 1.25.4
44

5-
require github.com/google/docsy v0.12.0 // indirect
5+
require github.com/google/docsy v0.13.0 // indirect

website/go.sum

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
github.com/FortAwesome/Font-Awesome v0.0.0-20241216213156-af620534bfc3/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
2-
github.com/google/docsy v0.12.0 h1:CddZKL39YyJzawr8GTVaakvcUTCJRAAYdz7W0qfZ2P4=
3-
github.com/google/docsy v0.12.0/go.mod h1:1bioDqA493neyFesaTvQ9reV0V2vYy+xUAnlnz7+miM=
4-
github.com/twbs/bootstrap v5.3.6+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
2+
github.com/google/docsy v0.13.0 h1:Y1oy5SmQ0ikJJsvkuefEVZMj0MTXLmVfpXbt7Ytc7rc=
3+
github.com/google/docsy v0.13.0/go.mod h1:1Fj1W1O3esZh7IBQ8XAYtxtg10udBXuGI89+LUQc1AU=
4+
github.com/twbs/bootstrap v5.3.8+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=

website/hugo.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ params:
135135
# Set to true to hide the sidebar search box (the top nav search box will still be displayed if search is enabled)
136136
sidebar_search_disable: true
137137
sidebar_menu_foldable: true
138+
sidebar_root_enabled: true
138139

139140
# Adds a H2 section titled "Feedback" to the bottom of each doc. The responses are sent to Google Analytics as events.
140141
# This feature depends on [services.googleAnalytics] and will be disabled if "services.googleAnalytics.id" is not set.

0 commit comments

Comments
 (0)