You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Useful options to enforce blogging best practices
59
+
// Useful options to enforce blogging best practices
58
60
onInlineTags: 'warn',
59
61
onInlineAuthors: 'warn',
60
62
onUntruncatedBlogPosts: 'warn',
61
63
},
62
-
// commands: {
63
-
// sidebarPath: './sidebars.ts',
64
-
// editUrl:
65
-
// '',
66
-
// },
67
64
theme: {
68
65
customCss: './src/css/custom.css',
69
66
},
@@ -93,10 +90,17 @@ const config: Config = {
93
90
],
94
91
95
92
themeConfig: {
96
-
// Replace with your project's social card
93
+
announcementBar: {
94
+
id: 'announcement',// Unique ID for the announcement
95
+
content:
96
+
'⭐️ If you like this project, give it a star on <a target="_blank" rel="noopener noreferrer" href="https://github.com/anveshmuppeda/kubernetes">GitHub</a> and follow me on <a target="_blank" rel="noopener noreferrer" href="https://www.linkedin.com/in/anveshmuppeda/">LinkedIn</a> ⭐️',
97
+
backgroundColor: '#fafbfc',// Background color
98
+
textColor: '#091E42',// Text color
99
+
isCloseable: true,// Allow users to close the bar
100
+
},
97
101
image: 'img/docusaurus-social-card.jpg',
98
102
navbar: {
99
-
title: 'Kubernetes Guides',
103
+
title: 'Kubernetes Guides',// Keep the title as is
100
104
logo: {
101
105
alt: 'Kubernetes Logo',
102
106
src: 'img/logo.png',
@@ -123,6 +127,12 @@ const config: Config = {
123
127
type: 'search',// Add the search bar to the navbar
124
128
position: 'right',
125
129
},
130
+
{
131
+
type: 'html',// Use a custom component for the version number
132
+
position: 'right',// Place it after the search bar
133
+
value: `<a href="https://github.com/anveshmuppeda/kubernetes/releases/tag/${version}" target="_blank" rel="noopener noreferrer" class="navbar-version">Version ${version}</a>`,// Use a link with a custom class
0 commit comments