Skip to content

Commit

Permalink
Merge pull request #7 from stakater/SA-1400
Browse files Browse the repository at this point in the history
Removed lastUpdated and contributorName
  • Loading branch information
hussnain612 authored Aug 3, 2022
2 parents 5369eaa + adbb2d3 commit c474657
Show file tree
Hide file tree
Showing 305 changed files with 9,838 additions and 2,712 deletions.
2 changes: 1 addition & 1 deletion deployments/kubernetes/templates/chart/Chart.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ maintainers:
- name: Stakater
email: [email protected]
- name: Hussnain Ahmad
email: [email protected]
email: [email protected]
111 changes: 95 additions & 16 deletions docs/.vuepress/config.ts
Original file line number Diff line number Diff line change
@@ -1,23 +1,102 @@
import { defineUserConfig } from "vuepress";
import { defaultTheme } from "@vuepress/theme-default";
import { sidebarEn } from "./configs";
import { navbarEn } from "./configs";
import { searchPlugin } from "@vuepress/plugin-search";
import { defineUserConfig } from '@vuepress/cli'
import { defaultTheme } from '@vuepress/theme-default'
import { searchPlugin } from '@vuepress/plugin-search';
import { googleAnalyticsPlugin } from '@vuepress/plugin-google-analytics'
import { head, navbarEn, sidebarEn } from './configs'
import { photoSwipePlugin } from "vuepress-plugin-photo-swipe";
import { pwaPlugin } from '@vuepress/plugin-pwa';
import { clipboardPlugin } from 'vuepress-plugin-clipboard'
import { pwaPopupPlugin } from '@vuepress/plugin-pwa-popup';
import { seoPlugin } from "vuepress-plugin-seo2";

export default defineUserConfig({
// base URL
base: "/",
// set site base to default value
base: '/',

//language and other basic information of the website
lang: "en-US",
head: [["link", { rel: "icon", href: "/favicon.png" }]],
title: "Stakater App Agility Platform Documentation",
description: "Stakater App Agility Platform Documentation", //TODO: Add user/search friendly description. abaziz
// extra tags in `<head>`
head,

shouldPrefetch: false,

// site-level locales config
locales: {
'/': {
lang: 'en-US',
title: 'Stakater App Agility Platform',
// Added empty string to override the default value
description: ' ',
},
},

// configure default theme
theme: defaultTheme({
sidebar: sidebarEn,
navbar: navbarEn,
logo: '/favicon.png',
docsDir: 'docs',

repo: "stakater/stakater-cloud-docs-2.0",
editLink: true,
editLinkText: "Help us improve this page!",

lastUpdated: false,
contributors: false,
colorModeSwitch: true,
colorMode: "auto",

// theme-level locales config
locales: {
'/': {
// navbar
navbar: navbarEn,
// sidebar
sidebar: sidebarEn,
},
},

themePlugins: {
git: false,
mediumZoom: false,
activeHeaderLinks: true,
backToTop: true,
},
}),

plugins: [searchPlugin()],
});
plugins: [
searchPlugin({
maxSuggestions: 10,
}),
googleAnalyticsPlugin({
id: 'G-TTH1YYW5TX',
}),
photoSwipePlugin({
delay: 0,
options: {
loop: false,
preload: [3,3],
preloaderDelay: 0,
}
}),
clipboardPlugin({
staticIcon: true,
delay: 0,
backgroundTransitionColor: "var(#000000)"
}),
pwaPlugin({
skipWaiting: false,
cleanupOutdatedCaches: true,
offlineGoogleAnalytics: true,
}),
pwaPopupPlugin({
locales: {
'/': {
message: 'New content is available.',
buttonText: 'Refresh',
},
}
}),
seoPlugin({
hostname: 'stakater',
fallBackImage: '/stakater.png',
autoDescription: true,
})
],
})
6 changes: 6 additions & 0 deletions docs/.vuepress/configs/head.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import type { HeadConfig } from '@vuepress/core'

export const head: HeadConfig[] = [
['link', { rel: 'icon', type: 'image/png', sizes: '16x16', href: `/favicon.png` }],
['link', { rel: 'manifest', href: '/manifest.webmanifest' }],
]
1 change: 1 addition & 0 deletions docs/.vuepress/configs/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export * from "./sidebar";
export * from "./navbar";
export * from "./head";
6 changes: 1 addition & 5 deletions docs/.vuepress/configs/navbar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { NavbarConfig } from "@vuepress/theme-default";
export const navbarEn: NavbarConfig = [
{
text: "Docs Home",
link: "/sre/introduction/introduction.html",
link: "/content/sre/introduction/introduction.html",
},

{
Expand All @@ -30,10 +30,6 @@ export const navbarEn: NavbarConfig = [
text: "Events",
link: "https://www.stakater.com/events",
},
{
text: "Recordings",
link: "https://www.stakater.com/events",
},
],
},
{
Expand Down
Loading

0 comments on commit c474657

Please sign in to comment.