Skip to content

Commit fb225dd

Browse files
committed
docs: merge docs repo back to main repo
1 parent 4ee072e commit fb225dd

21 files changed

+246
-204
lines changed

Diff for: .vitepress/theme/components/DemoEditor.vue

+10-3
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,27 @@
1313
padding: 10px;
1414
border-radius: 7px;
1515
position: relative;
16-
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 0 30px 1px rgba(0, 0, 0, 0.15);
16+
box-shadow:
17+
0 0 0 1px rgba(0, 0, 0, 0.05),
18+
0 0 30px 1px rgba(0, 0, 0, 0.15);
1719
}
1820
.dark .demo-editor {
1921
@apply bg-[#161618] border border-gray-400 border-opacity-10;
2022
}
2123
.demo-editor::after {
22-
content: "";
24+
content: '';
2325
position: absolute;
2426
top: 12px;
2527
left: 10px;
2628
width: 12px;
2729
height: 12px;
2830
background: #f95c5b;
2931
border-radius: 100%;
30-
box-shadow: 0 0 0 1px #da3d42, 22px 0 0 0 #fabe3b, 22px 0 0 1px #ecb03e, 44px 0 0 0 #38cd46, 44px 0 0 1px #2eae32;
32+
box-shadow:
33+
0 0 0 1px #da3d42,
34+
22px 0 0 0 #fabe3b,
35+
22px 0 0 1px #ecb03e,
36+
44px 0 0 0 #38cd46,
37+
44px 0 0 1px #2eae32;
3138
}
3239
</style>

Diff for: .vitepress/theme/components/DemoSlide.vue

+3-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
line-height: 1.2em;
1515
border-radius: 7px;
1616
position: relative;
17-
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 0 30px 1px rgba(0, 0, 0, 0.15);
17+
box-shadow:
18+
0 0 0 1px rgba(0, 0, 0, 0.05),
19+
0 0 30px 1px rgba(0, 0, 0, 0.15);
1820
@apply mt-4 transform translate-x-20 -translate-y-20 overflow-hidden;
1921
}
2022

Diff for: .vitepress/theme/styles/custom.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.icon-btn {
22
--uno: inline-block cursor-pointer select-none important-outline-none;
33
--uno: opacity-75 transition duration-200 ease-in-out align-middle rounded p-2;
4-
--uno: hover:(opacity-100 bg-gray-400 bg-opacity-10);
4+
--uno: hover-(opacity-100 bg-gray-400 bg-opacity-10);
55
}
66

77
.icon-btn.disabled {

Diff for: .vitepress/theme/styles/vars.css

+4-4
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@
4444
* -------------------------------------------------------------------------- */
4545

4646
:root {
47-
--vp-c-brand-1: #3AB9D4;
47+
--vp-c-brand-1: #3ab9d4;
4848
--vp-c-brand-2: #60c4db;
4949
--vp-c-brand-3: #6fcce1;
50-
--vp-c-brand-soft: #3AB9D450;
50+
--vp-c-brand-soft: #3ab9d450;
5151
--vp-c-bg-alt: #f9f9f9;
5252

5353
--vp-font-family-mono: theme('fontFamily.mono');
@@ -56,8 +56,8 @@
5656
.dark {
5757
--vp-c-brand-1: #6fcce1;
5858
--vp-c-brand-2: #60c4db;
59-
--vp-c-brand-3: #3AB9D4;
60-
--vp-c-brand-soft: #3AB9D450;
59+
--vp-c-brand-3: #3ab9d4;
60+
--vp-c-brand-soft: #3ab9d450;
6161
--vp-c-bg-alt: #18181b;
6262
--vp-c-gutter: #8883;
6363
}

Diff for: README.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@ Documentation for [Slidev](https://github.com/slidevjs/slidev)
44

55
## Translations
66

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-el) | [ja.sli.dev](https://ja.sli.dev) | [@IkumaTadokoro](https://github.com/IkumaTadokoro) |
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-el) | [ja.sli.dev](https://ja.sli.dev) | [@IkumaTadokoro](https://github.com/IkumaTadokoro) |
1919

2020
## Start Server Locally
2121

Diff for: TRANSLATIONS.md

+2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ You can find the repositories for each existing translation in [README.md](./REA
99
If the language you want to contribute isn't on the list, join [our Discord server](https://chat.sli.dev), and find the `#translations` channel to see if someone is already working on the language you want, consider joining them and translate together. If not, you can start a new translation project with the following steps.
1010

1111
In case it's already been translated but you're wondering how to maintain it, skip to the end.
12+
1213
## Some tips before you get started
14+
1315
- It is recommended that you use your IDE of choice (e.g VSCode) paired with a development server running, so you can see your translation changes in real-time.
1416
- You can mark these checkmarks as the translation progresses or use your own workflow. The translations don't need to be made in any particular order.
1517
- Translations don't need to be literal, but they should convey the same message. In case you're not sure how to translate something, you can either leave it as it is or use online tools like WordReference or Linguee to aid you.

Diff for: addons/use.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Addons are sets of additional components, layouts, styles, configuration...etc.
44

55
They are quite similar to [themes](/themes/use), but in general:
66

7-
* they don't affect the global styles of your slides
8-
* you can use multiple addons in one presentation
7+
- they don't affect the global styles of your slides
8+
- you can use multiple addons in one presentation
99

1010
To use addons, you have to install them manually via:
1111

0 commit comments

Comments
 (0)