Skip to content

Commit 44d7d1b

Browse files
committed
docs-es
1 parent cf7f27b commit 44d7d1b

21 files changed

+113
-75
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
## docsify
1+
# docsify
22

33
> Un generador mágico de sitios de documentación.
44
55
## Qué es
66

7-
docsify genera su sitio web de documentación sobre la marcha. A diferencia de GitBook, no genera archivos estáticos html. En cambio, carga y analiza de forma inteligente sus archivos de Markdown y los muestra como sitio web. Todo lo que necesita hacer es crear un `index.html` para comenzar y [desplegarlo en GitHub Pages](deploy.md).
7+
docsify genera su sitio web de documentación sobre la marcha. A diferencia de GitBook, no genera archivos estáticos html. En cambio, carga y analiza de forma inteligente sus archivos de Markdown y los muestra como sitio web. Todo lo que necesita hacer es crear un `index.html` para comenzar y [desplegarlo en GitHub Pages](/es/deploy.md).
88

9-
Lee la guía [Inicio Rápido](quickstart.md) para más detalles.
9+
Lee la guía [Inicio Rápido](/es/quickstart.md) para más detalles.
1010

1111
## Características
1212

@@ -21,7 +21,7 @@ Lee la guía [Inicio Rápido](quickstart.md) para más detalles.
2121

2222
## Ejemplos
2323

24-
Mira nuestro [Showcase](awesome.md) de docsify en uso.
24+
Mira nuestro [Showcase](/es/awesome.md) de docsify en uso.
2525

2626
## Donaciones
2727

_coverpage.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![logo](_media/icon.svg)
1+
![logo](/es/_media/icon.svg)
22

33
# docsify <small>4.6.10</small>
44

@@ -9,4 +9,4 @@
99
* Multiples Diseños
1010

1111
[GitHub](https://github.com/QingWei-Li/docsify/)
12-
[Empezar](#docsify)
12+
[Empezar](/es/#docsify)

_images/deploy-github-pages.png

82.1 KB
Loading

_images/nested-navbar.png

81 KB
Loading

_media/example.html

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<h1>¡Al infinito y más allá!</h1>

_media/example.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
> Esto es de `example.md`

_media/favicon.ico

66.1 KB
Binary file not shown.

_media/icon.svg

+30
Loading

_navbar.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
- [:cn: 中文](https://docsify.js.org/#/zh-cn/)
33
- [:de: Deutsch](https://docsify.js.org/#/de-de/)
44
- [:uk: English](https://docsify.js.org/#/)
5-
- [:es: Spanish](/)
5+
- [:es: Spanish](/es/)
66
- [:ru: Russian](https://docsify-ru.js.org)

_sidebar.md

+19-19
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
* Empezando
22

3-
* [Inicio Rápido](quickstart.md)
4-
* [Escribir más páginas](more-pages.md)
5-
* [Personalizar navbar](custom-navbar.md)
6-
* [Página Cover](cover.md)
3+
* [Inicio Rápido](/es/quickstart.md)
4+
* [Escribir más páginas](/es/more-pages.md)
5+
* [Personalizar navbar](/es/custom-navbar.md)
6+
* [Página Cover](/es/cover.md)
77

88
* Personalización
99

10-
* [Configuración](configuration.md)
11-
* [Diseños](themes.md)
12-
* [Lista de Plugins](plugins.md)
13-
* [Escribe un Plugin](write-a-plugin.md)
14-
* [Configuración de Markdown](markdown.md)
15-
* [Resaltar Lenguajes](language-highlight.md)
10+
* [Configuración](/es/configuration.md)
11+
* [Diseños](/es/themes.md)
12+
* [Lista de Plugins](/es/plugins.md)
13+
* [Escribe un Plugin](/es/write-a-plugin.md)
14+
* [Configuración de Markdown](/es/markdown.md)
15+
* [Resaltar Lenguajes](/es/language-highlight.md)
1616

1717
* Guía
1818

19-
* [Desplegar](deploy.md)
20-
* [Helpers](helpers.md)
21-
* [Vue compatible](vue.md)
22-
* [CDN](cdn.md)
23-
* [Modo Offline (PWA)](pwa.md)
24-
* [Server-Side Rendering(SSR)](ssr.md)
25-
* [Archivos Embebidos <sup style="color:red">(nuevo)<sup>](embed-files.md)
19+
* [Desplegar](/es/deploy.md)
20+
* [Helpers](/es/helpers.md)
21+
* [Vue compatible](/es/vue.md)
22+
* [CDN](/es/cdn.md)
23+
* [Modo Offline (PWA)](/es/pwa.md)
24+
* [Server-Side Rendering(SSR)](/es/ssr.md)
25+
* [Archivos Embebidos <sup style="color:red">(nuevo)<sup>](/es/embed-files.md)
2626

27-
* [Awesome docsify](awesome.md)
28-
* [Changelog](changelog.md)
27+
* [Awesome docsify](/es/awesome.md)
28+
* [Changelog](/es/changelog.md)

cdn.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Recomendado: [unpkg](//unpkg.com), que reflejará la última versión tan pronto
1212
<script src="//unpkg.com/docsify/lib/docsify.js"></script>
1313
```
1414

15-
Como alternativa, puedes usar [archivos comprimidos](#compressed-file).
15+
Como alternativa, puedes usar [archivos comprimidos](/es/#compressed-file).
1616

1717
## Versión Específica
1818

configuration.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ window.$docsify = {
157157
* Type: `Boolean|String|String[]|Object`
158158
* Default: `false`
159159

160-
Activate the [cover feature](cover.md). If true, it will load from `_coverpage.md`.
160+
Activate the [cover feature](/es/cover.md). If true, it will load from `_coverpage.md`.
161161

162162
```js
163163
window.$docsify = {
@@ -212,7 +212,7 @@ window.$docsify = {
212212

213213
* Type: `Function`
214214

215-
See [Markdown configuration](markdown.md).
215+
See [Markdown configuration](/es/markdown.md).
216216

217217
```js
218218
window.$docsify = {
@@ -281,7 +281,7 @@ window.$docsify = {
281281

282282
* type: `Boolean`
283283

284-
Execute the script on the page. Only parse the first script tag([demo](themes)). If Vue is present, it is turned on by default.
284+
Execute the script on the page. Only parse the first script tag([demo](/es/themes)). If Vue is present, it is turned on by default.
285285

286286
```js
287287
window.$docsify = {
@@ -428,7 +428,6 @@ Example:
428428
- then try to fetch the default page `/overview` (depending on the default language). If this page exists, it'll be displayed
429429
- then display 404 page.
430430

431-
432431
```js
433432
window.$docsify = {
434433
fallbackLanguages: [
@@ -438,26 +437,28 @@ window.$docsify = {
438437
};
439438
```
440439

441-
442440
## notFoundPage
443441

444442
* type: `Boolean` | `String` | `Object`
445443

446444
Load the `_404.md` file:
445+
447446
```js
448447
window.$docsify = {
449448
notFoundPage: true
450449
};
451450
```
452451

453452
Load the customised path of the 404 page:
453+
454454
```js
455455
window.$docsify = {
456456
notFoundPage: 'my404.md'
457457
};
458458
```
459459

460460
Load the right 404 page according to the localisation:
461+
461462
```js
462463
window.$docsify = {
463464
notFoundPage: {
@@ -466,4 +467,5 @@ window.$docsify = {
466467
}
467468
};
468469
```
470+
469471
> Note: The options with fallbackLanguages didn't work with the `notFoundPage` options.

cover.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Cover
22

3-
Activa la característica de cover cambiando la configuración `coverpage` a **true**, comparar [configuración de coverpage](configuration.md#coverpage).
3+
Activa la característica de cover cambiando la configuración `coverpage` a **true**, comparar [configuración de coverpage](/es/configuration.md#coverpage).
44

55
## Uso básico
66

@@ -20,7 +20,7 @@ Poner `coverpage` a **true**, y crear un `_coverpage.md`:
2020
```markdown
2121
<!-- _coverpage.md -->
2222

23-
![logo](_media/icon.svg)
23+
![logo](/es/_media/icon.svg)
2424

2525
# docsify <small>3.5</small>
2626

@@ -31,7 +31,7 @@ Poner `coverpage` a **true**, y crear un `_coverpage.md`:
3131
* Multiple themes
3232

3333
[GitHub](https://github.com/QingWei-Li/docsify/)
34-
[Get Started](#docsify)
34+
[Get Started](/es/#docsify)
3535
```
3636

3737
!> ¡Un sitio de documentación puede tener solo una página de portada!
@@ -46,11 +46,11 @@ El color de fondo (o color del background) es general aleatoriamente por defecto
4646
# docsify <small>3.5</small>
4747

4848
[GitHub](https://github.com/QingWei-Li/docsify/)
49-
[Get Started](#quick-start)
49+
[Get Started](/es/#quick-start)
5050

5151
<!-- background image -->
5252

53-
![](_media/bg.png)
53+
![](/es/_media/bg.png)
5454

5555
<!-- background color -->
5656

@@ -59,7 +59,7 @@ El color de fondo (o color del background) es general aleatoriamente por defecto
5959

6060
## Coverpage como página de inicio
6161

62-
Normalmente, la portada y la página de inicio aparecen al mismo tiempo. Por supuesto, también puede separar la portada por [opción onlyCover](configuration.md#onlycover).
62+
Normalmente, la portada y la página de inicio aparecen al mismo tiempo. Por supuesto, también puede separar la portada por [opción onlyCover](/es/configuration.md#onlycover).
6363

6464
## Portadas múltiples
6565

custom-navbar.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ If you need custom navigation, you can create a HTML-based navigation bar.
2222

2323
## Markdown
2424

25-
Alternatively, you can create a custom markdown-based navigation file by setting `loadNavbar` to **true** and creating `_navbar.md`, compare [loadNavbar configuration](configuration.md#loadnavbar).
25+
Alternatively, you can create a custom markdown-based navigation file by setting `loadNavbar` to **true** and creating `_navbar.md`, compare [loadNavbar configuration](/es/configuration.md#loadnavbar).
2626

2727
```html
2828
<!-- index.html -->
@@ -55,26 +55,26 @@ You can create sub-lists by indenting items that are under a certain parent.
5555

5656
* Getting started
5757

58-
* [Quick start](quickstart.md)
59-
* [Writing more pages](more-pages.md)
60-
* [Custom navbar](custom-navbar.md)
61-
* [Cover page](cover.md)
58+
* [Quick start](/es/quickstart.md)
59+
* [Writing more pages](/es/more-pages.md)
60+
* [Custom navbar](/es/custom-navbar.md)
61+
* [Cover page](/es/cover.md)
6262

6363
* Configuration
64-
* [Configuration](configuration.md)
65-
* [Themes](themes.md)
66-
* [Using plugins](plugins.md)
67-
* [Markdown configuration](markdown.md)
68-
* [Language highlight](language-highlight.md)
64+
* [Configuration](/es/configuration.md)
65+
* [Themes](/es/themes.md)
66+
* [Using plugins](/es/plugins.md)
67+
* [Markdown configuration](/es/markdown.md)
68+
* [Language highlight](/es/language-highlight.md)
6969
```
7070

7171
renders as
7272

73-
![Nesting navbar](_images/nested-navbar.png 'Nesting navbar')
73+
![Nesting navbar](/es/_images/nested-navbar.png 'Nesting navbar')
7474

7575
## Combining custom navbars with the emoji plugin
7676

77-
If you use the [emoji plugin](plugins#emoji):
77+
If you use the [emoji plugin](/es/plugins#emoji):
7878

7979
```html
8080
<!-- index.html -->

deploy.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ There're three places to populate your docs for your Github repository:
1414

1515
It is recommended that you save your files to the `./docs` subfolder of the `master` branch of your repository. Then select `master branch /docs folder` as your Github Pages source in your repositories' settings page.
1616

17-
![github pages](_images/deploy-github-pages.png)
17+
![github pages](/es/_images/deploy-github-pages.png)
1818

1919
!> You can also save files in the root directory and select `master branch`.
2020
You'll need to place a `.nojekyll` file in the deploy location (such as `/docs` or the gh-pages branch
@@ -48,6 +48,7 @@ pages:
4848
Using Terminal determine and navigate to the directory for your Firebase Project - this could be `~/Projects/Docs` etc. From there, run `firebase init`, choosing `Hosting` from the menu (use **space** to select, **arrow keys** to change options and **enter** to confirm). Follow the setup instructions.
4949

5050
You should have your `firebase.json` file looking similar to this (I changed the deployment directory from `public` to `site`):
51+
5152
```json
5253
{
5354
"hosting": {

embed-files.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ You can embed these files as video, audio, iframes, or code blocks, and even Mar
88
For example, here embedded a Markdown file. You only need to do this:
99

1010
```markdown
11-
[filename](_media/example.md ':include')
11+
[filename](/es/_media/example.md ':include')
1212
```
1313

1414
Then the content of `example.md` will be displayed directly here
1515

16-
[filename](_media/example.md ':include')
16+
[filename](/es/_media/example.md ':include')
1717

18-
You can check the original content for [example.md](_media/example.md ':ignore').
18+
You can check the original content for [example.md](/es/_media/example.md ':ignore').
1919

2020
Normally, this will compiled into a link, but in docsify, if you add `:include` it will be embedded.
2121

@@ -34,12 +34,12 @@ This is a supported embedding type:
3434
Of course, you can force the specified. For example, you want to Markdown file as code block embedded.
3535

3636
```markdown
37-
[filename](_media/example.md ':include :type=code')
37+
[filename](/es/_media/example.md ':include :type=code')
3838
```
3939

4040
You will get it
4141

42-
[filename](_media/example.md ':include :type=code')
42+
[filename](/es/_media/example.md ':include :type=code')
4343

4444
## Tag attribute
4545

@@ -58,11 +58,11 @@ Did you see it? You only need to write directly. You can check [MDN](https://dev
5858
Embedding any type of source code file, you can specify the highlighted language or automatically identify.
5959

6060
```markdown
61-
[](_media/example.html ':include :type=code text')
61+
[](/es/_media/example.html ':include :type=code text')
6262
```
6363

6464
⬇️
6565

66-
[](_media/example.html ':include :type=code text')
66+
[](/es/_media/example.html ':include :type=code text')
6767

68-
?> How to set highlight? You can see [here](language-highlight.md).
68+
?> How to set highlight? You can see [here](/es/language-highlight.md).

0 commit comments

Comments
 (0)