Skip to content

Commit 92f84c5

Browse files
committed
docs: add deprecation message
1 parent 2f17c11 commit 92f84c5

File tree

4 files changed

+65
-14
lines changed

4 files changed

+65
-14
lines changed

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
contact_links:
2+
- name: Main Repository
3+
url: https://github.com/slidevjs/slidev/
4+
about: This translation is out of date, This translation is outdated, please do not file an issue here.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<script setup lang="ts">
2+
import DefaultTheme from 'vitepress/theme'
3+
4+
const { Layout } = DefaultTheme
5+
</script>
6+
7+
<template>
8+
<div class="deprecate-banner">
9+
Αυτή η μετάφραση δεν συντηρείται πλέον, παρακαλώ επισκεφθείτε
10+
<a href="https://sli.dev/">Αγγλικό έγγραφο</a>.
11+
</div>
12+
<Layout />
13+
</template>
14+
15+
<style>
16+
.deprecate-banner {
17+
position: fixed;
18+
left: 0;
19+
right: 0;
20+
top: -32px;
21+
padding: 4px;
22+
min-height: 32px;
23+
background-color: rgb(250,200,89);
24+
color: black;
25+
text-align: center;
26+
}
27+
28+
.deprecate-banner a {
29+
text-decoration: underline;
30+
color: rgb(4,96,132);
31+
}
32+
33+
:root {
34+
margin-top: 32px;
35+
transform: translateX(0);
36+
}
37+
</style>

.vitepress/theme/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import Theme from 'vitepress/theme'
22
import type { EnhanceAppContext } from 'vitepress'
33
import TwoSlash from '@shikijs/vitepress-twoslash/client'
4+
import Layout from './components/Layout.vue'
45

56
import '@shikijs/vitepress-twoslash/style.css'
67
import './styles/vars.css'
@@ -13,4 +14,5 @@ export default {
1314
enhanceApp({ app }: EnhanceAppContext) {
1415
app.use(TwoSlash as any)
1516
},
17+
Layout,
1618
}

README.md

Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,29 @@
11
# [sli.dev](https://sli.dev)
22

3+
> [!WARNING]
4+
>
5+
> This translation is out-dated and not maintained. Please refer to the [English documentation](https://sli.dev) instead.
6+
37
Οδηγίες χρήσης για το [Slidev](https://github.com/slidevjs/slidev)
48

5-
## Μεταφράσεις
6-
7-
| | Repo | Site | Maintainers |
8-
|---|---|---:|---|
9-
| English | [docs](https://github.com/slidevjs/docs) | [sli.dev](https://sli.dev) | [@antfu](https://github.com/antfu) |
10-
| 简体中文 | [docs-cn](https://github.com/slidevjs/docs-cn) | [cn.sli.dev](https://cn.sli.dev) | [@QC-L](https://github.com/QC-L) [@Ivocin](https://github.com/Ivocin) |
11-
| Français | [docs-fr](https://github.com/slidevjs/docs-fr) | [fr.sli.dev](https://fr.sli.dev) | [@ArthurDanjou](https://github.com/ArthurDanjou) |
12-
| Español | [docs-es](https://github.com/slidevjs/docs-es) | [es.sli.dev](https://es.sli.dev) | [@owlnai](https://github.com/owlnai) |
13-
| Русский | [docs-ru](https://github.com/slidevjs/docs-ru) | [ru.sli.dev](https://ru.sli.dev) | [@xesjkeee](https://github.com/xesjkeee) |
14-
| Việt Nam | [docs-vn](https://github.com/slidevjs/docs-vn) | [vn.sli.dev](https://vn.sli.dev) | [@bongudth](https://github.com/bongudth) |
15-
| Deutsch | [docs-de](https://github.com/slidevjs/docs-de) | [de.sli.dev](https://de.sli.dev) | [@fabiankachlock](https://github.com/fabiankachlock) |
16-
| Português (BR) | [docs-br](https://github.com/slidevjs/docs-br) | [br.sli.dev](https://br.sli.dev) | [@luisfelipesdn12](https://github.com/luisfelipesdn12) |
17-
| Ελληνικά | [docs-el](https://github.com/slidevjs/docs-el) | [el.sli.dev](https://el.sli.dev) | [@GeopJr](https://github.com/GeopJr) |
18-
| 日本語 | [docs-ja](https://github.com/slidevjs/docs-ja) | [ja.sli.dev](https://ja.sli.dev) | [@IkumaTadokoro](https://github.com/IkumaTadokoro) |
9+
## All Translations
10+
11+
> [!WARNING]
12+
>
13+
> Translations with strikethroughs are no longer maintained. The content is outdated and not encouraged to refer.
14+
15+
| | Repo | Site | Maintainers |
16+
| ------------------- | ---------------------------------------------- | -------------------------------: | --------------------------------------------------------------------- |
17+
| English | [docs](https://github.com/slidevjs/docs) | [sli.dev](https://sli.dev) | [@antfu](https://github.com/antfu) |
18+
| 简体中文 | [docs-cn](https://github.com/slidevjs/docs-cn) | [cn.sli.dev](https://cn.sli.dev) | [@QC-L](https://github.com/QC-L) [@Ivocin](https://github.com/Ivocin) |
19+
| <del>Français | [docs-fr](https://github.com/slidevjs/docs-fr) | [fr.sli.dev](https://fr.sli.dev) | [@ArthurDanjou](https://github.com/ArthurDanjou) |
20+
| <del>Español | [docs-es](https://github.com/slidevjs/docs-es) | [es.sli.dev](https://es.sli.dev) | [@owlnai](https://github.com/owlnai) |
21+
| <del>Русский | [docs-ru](https://github.com/slidevjs/docs-ru) | [ru.sli.dev](https://ru.sli.dev) | [@xesjkeee](https://github.com/xesjkeee) |
22+
| <del>Việt Nam | [docs-vn](https://github.com/slidevjs/docs-vn) | [vn.sli.dev](https://vn.sli.dev) | [@bongudth](https://github.com/bongudth) |
23+
| <del>Deutsch | [docs-de](https://github.com/slidevjs/docs-de) | [de.sli.dev](https://de.sli.dev) | [@fabiankachlock](https://github.com/fabiankachlock) |
24+
| <del>Português (BR) | [docs-br](https://github.com/slidevjs/docs-br) | [br.sli.dev](https://br.sli.dev) | [@luisfelipesdn12](https://github.com/luisfelipesdn12) |
25+
| <del>Ελληνικά | [docs-el](https://github.com/slidevjs/docs-el) | [el.sli.dev](https://el.sli.dev) | [@GeopJr](https://github.com/GeopJr) |
26+
| <del>日本語 | [docs-ja](https://github.com/slidevjs/docs-el) | [ja.sli.dev](https://ja.sli.dev) | [@IkumaTadokoro](https://github.com/IkumaTadokoro) |
1927

2028
## Ξεκινήστε τον διακομιστή τοπικά
2129

0 commit comments

Comments
 (0)