-
-
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 branch 'release/1.0.11' into v1
- Loading branch information
Showing
20 changed files
with
1,444 additions
and
1,061 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
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
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
This file was deleted.
Oops, something went wrong.
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,38 @@ | ||
import {defineConfig} from 'vitepress' | ||
|
||
export default defineConfig({ | ||
title: 'FastCGI Cache Bust Plugin', | ||
description: 'Documentation for the FastCGI Cache Bust plugin', | ||
base: '/docs/fastcgi-cache-bust/', | ||
lang: 'en-US', | ||
head: [ | ||
['meta', {content: 'https://github.com/nystudio107', property: 'og:see_also',}], | ||
['meta', {content: 'https://twitter.com/nystudio107', property: 'og:see_also',}], | ||
['meta', {content: 'https://youtube.com/nystudio107', property: 'og:see_also',}], | ||
['meta', {content: 'https://www.facebook.com/newyorkstudio107', property: 'og:see_also',}], | ||
], | ||
themeConfig: { | ||
socialLinks: [ | ||
{icon: 'github', link: 'https://github.com/nystudio107'}, | ||
{icon: 'twitter', link: 'https://twitter.com/nystudio107'}, | ||
], | ||
logo: '/img/plugin-logo.svg', | ||
editLink: { | ||
pattern: 'https://github.com/nystudio107/craft-fastcgicachebust/edit/develop-v3/docs/docs/:path', | ||
text: 'Edit this page on GitHub' | ||
}, | ||
algolia: { | ||
appId: '3JUO5TO2MP', | ||
apiKey: '21bdcc520664f952bfd3f25e5549f384', | ||
indexName: 'nystudio107-fastcgi-cache-bust' | ||
}, | ||
lastUpdatedText: 'Last Updated', | ||
sidebar: [], | ||
nav: [ | ||
{text: 'Home', link: 'https://nystudio107.com/plugins/fastcgi-cache-bust'}, | ||
{text: 'Store', link: 'https://plugins.craftcms.com/fastcgi-cache-bust'}, | ||
{text: 'Changelog', link: 'https://nystudio107.com/plugins/fastcgi-cache-bust/changelog'}, | ||
{text: 'Issues', link: 'https://github.com/nystudio107/craft-fastcgicachebust/issues'}, | ||
] | ||
}, | ||
}); |
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,3 @@ | ||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"> | ||
<url><loc>https://nystudio107.com/docs/fastcgi-cache-bust/</loc></url> | ||
</urlset> |
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
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 |
---|---|---|
|
@@ -10,3 +10,7 @@ | |
.DocSearch { | ||
--docsearch-primary-color: var(--c-brand) !important; | ||
} | ||
|
||
a > img { | ||
display: inline-block; | ||
} |
This file was deleted.
Oops, something went wrong.
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,42 @@ | ||
import Theme from 'vitepress/theme' | ||
import {h, watch} from 'vue' | ||
import './custom.css' | ||
|
||
import NYSLogo from './NYSLogo.vue'; | ||
|
||
// Could also come from .env | ||
const GA_ID = 'UA-69117511-1'; | ||
|
||
export default { | ||
...Theme, | ||
Layout() { | ||
return h(Theme.Layout, null, { | ||
'aside-bottom': () => h(NYSLogo) | ||
} | ||
) | ||
}, | ||
enhanceApp: (ctx) => { | ||
// Google analytics integration | ||
if (import.meta.env.PROD && GA_ID && typeof window !== 'undefined') { | ||
(function (i, s, o, g, r, a, m) { | ||
i['GoogleAnalyticsObject'] = r | ||
i[r] = i[r] || function () { | ||
(i[r].q = i[r].q || []).push(arguments) | ||
} | ||
i[r].l = 1 * new Date() | ||
a = s.createElement(o) | ||
m = s.getElementsByTagName(o)[0] | ||
a.async = 1 | ||
a.src = g | ||
m.parentNode.insertBefore(a, m) | ||
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga') | ||
ga('create', GA_ID, 'auto') | ||
ga('set', 'anonymizeIp', true) | ||
// Send a page view any time the route changes | ||
watch(ctx.router.route, (newValue, oldValue) => { | ||
ga('set', 'page', newValue.path) | ||
ga('send', 'pageview') | ||
}) | ||
} | ||
} | ||
} |
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,7 @@ | ||
declare module "*.vue" { | ||
import Vue from 'vue'; | ||
export default Vue; | ||
} | ||
|
||
declare module 'rollup-plugin-sitemap'; | ||
declare module 'NYSLogo'; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.