Skip to content

Commit

Permalink
chore(docs): Updated copyright and dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
Skyost committed Feb 1, 2024
1 parent 0f2698f commit afcd5e3
Show file tree
Hide file tree
Showing 7 changed files with 4,810 additions and 3,928 deletions.
4 changes: 3 additions & 1 deletion docs/components/Page/PageFooter.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<script setup lang="ts">
import { siteMeta } from '~/meta'
const year = (new Date()).getFullYear()
</script>

<template>
Expand All @@ -12,7 +14,7 @@ import { siteMeta } from '~/meta'
</p>
<p>
<small>
Copyright &copy; 2023, <a href="https://skyost.eu">Skyost</a>.
Copyright &copy; {{ year }}, <a href="https://skyost.eu">Skyost</a>.
Revision <current-commit-sha />.
</small>
</p>
Expand Down
3 changes: 3 additions & 0 deletions docs/components/ShikijiCode.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,11 @@ const codeHtml = computed(() => shiki.codeToHtml(
const lineCount = computed(() => code.value.split(/\r\n|\r|\n/).length)
const content = ref<HTMLDivElement>()
const copy = () => {
// @ts-ignore
if (window.clipboardData && window.clipboardData.setData) {
// @ts-ignore
return window.clipboardData.setData('Text', code.value)
} else if (document.queryCommandSupported && document.queryCommandSupported('copy')) {
const textarea = document.createElement('textarea')
Expand Down
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions docs/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ export default defineNuxtConfig({
},

modules: [
'~/modules/generate-cname',
'~/modules/generate-commit-sha-file',
'~/modules/cname-generator',
'~/modules/commit-sha-file-generator',
'skimple-components/nuxt',
'@nuxt/content',
'@nuxtjs/google-fonts',
'nuxt-link-checker',
'nuxt-simple-sitemap',
'@nuxtjs/sitemap',
'nuxt-simple-robots'
],

Expand Down

0 comments on commit afcd5e3

Please sign in to comment.