Skip to content

Translation/es-tour #272

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Cheat Sheet

Haz clic en la vista previa para descargar el PDF.

<a href="https://terrastruct-site-assets.s3.us-west-1.amazonaws.com/documents/d2_cheat_sheet.pdf">
<img src={require('@site/static/img/screenshots/cheatsheet.png').default} alt="d2 cheat sheet" style={{width:'600px'}}/>
</a>
35 changes: 35 additions & 0 deletions i18n/es/docusaurus-plugin-content-docs/current/tour/comments.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Comentarios

D2 tiene comentarios de línea y comentarios de bloque.

## Comentarios de línea

Los comentarios de línea comienzan con un símbolo de numeral (`#`).

Pueden añadirse como una línea independiente:

```d2
# Los comentarios inician con un carácter numeral y continúan hasta la siguiente línea o hasta el final del archivo (EOF).
x -> y
```

o al final de la línea:

```d2
x -> y # Estoy al final de la línea
```

## Comentarios de bloque

Los comentarios de bloque comienzan y terminan con tres comillas dobles ("""):

```d2
x -> y

"""
Esto es un
comentario de bloque
"""

y -> z
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Ayuda y Comunidad

- Tenemos un canal de Discord, [Discord Server](https://discord.gg/NF6X8K4eDq). Si tienes alguna pregunta o necesitas ayuda, recibirás respuestas más rápido por ese canal.
- ¿Tienes una propuesta, encontraste un error, o quieres discutir algo con el equipo y la comunidad? D2 utiliza [GitHub Issues](https://github.com/terrastruct/d2) para dar seguimiento a todas las tareas pendientes, y [GitHub Discussions](https://github.com/terrastruct/d2/discussions) para solicitudes de funcionalidades e ideas.
- Si tienes una consulta privada, por favor escríbenos a: [email protected].
16 changes: 16 additions & 0 deletions i18n/es/docusaurus-plugin-content-docs/current/tour/hello-word.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
pagination_next: tour/shapes
---
import CodeBlock from '@theme/CodeBlock';
import HelloWorld from '@site/static/d2/hello-world.d2';

# Hello World

<CodeBlock className="language-d2">
{HelloWorld}
</CodeBlock>

<div
className="embedSVG" dangerouslySetInnerHTML={{__html: require('@site/static/img/generated/hello-world.svg2')}}></div>

Esto declara una conexión entre dos formas, `x` y `y`, con la etiqueta `hello world`.