-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from stakater/SA-1400
Removed lastUpdated and contributorName
- Loading branch information
Showing
305 changed files
with
9,838 additions
and
2,712 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,4 +11,4 @@ maintainers: | |
- name: Stakater | ||
email: [email protected] | ||
- name: Hussnain Ahmad | ||
email: [email protected] | ||
email: [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | ||
}) | ||
], | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' }], | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
export * from "./sidebar"; | ||
export * from "./navbar"; | ||
export * from "./head"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.