Skip to content

Commit 146f186

Browse files
committed
Basic config + Index
1 parent 0005a29 commit 146f186

File tree

2 files changed

+155
-71
lines changed

2 files changed

+155
-71
lines changed

docs/index.pt-BR.md

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
Bem vindo à Documentação do Vapor! Vapor é um framework web para Swift, permitindo que você escreva backends, APIs de aplicativos web e servidores HTTP em Swift. Vapor é escrito em Swift, que é uma linguagem moderna, poderosa e segura, proporcionando vários benefícios em relação às linguagens de servidor mais tradicionais.
2+
3+
## Começando
4+
5+
Se esta é sua primeira vez usando o Vapor, vá para [Instalação → macOS](install/macos.md) para instalar o Swift e o Vapor.
6+
7+
Depois de instalar o Vapor, confira [Primeiros Passos → Hello, world](getting-started/hello-world.md) para criar seu primeiro aplicativo Vapor!
8+
9+
## Outras Fontes
10+
11+
Aqui estão alguns outros ótimos lugares para encontrar informações sobre o Vapor.
12+
13+
| nome | descrição | link |
14+
| ------------------- | ----------------------------------------------------------------------- | ------------------------------------------------------------------- |
15+
| Discord do Vapor | Converse com milhares de desenvolvedores Vapor. | [visitar →](https://vapor.team) |
16+
| Documentação da API | Documentação gerada automaticamente a partir dos comentários no código. | [visitar →](https://api.vapor.codes) |
17+
| Stack Overflow | Faça e responda perguntas com a tag `vapor`. | [visitar →](https://stackoverflow.com/questions/tagged/vapor) |
18+
| Fóruns Swift | Poste na seção do Vapor nos fóruns do Swift.org. | [visitar →](https://forums.swift.org/c/related-projects/vapor) |
19+
| Código Fonte | Aprenda como o Vapor funciona internamente. | [visitar →](https://github.com/vapor/vapor) |
20+
| Problemas no GitHub | Relate bugs ou solicite recursos no GitHub. | [visitar →](https://github.com/vapor/vapor/issues) |
21+
22+
## Documentação Antiga
23+
24+
A documentação para versões depreciadas do Vapor, que agora estão fora de uso, pode ser encontrada em [https://legacy.docs.vapor.codes/](https://legacy.docs.vapor.codes/).
25+
26+
## Autores
27+
28+
A Equipe Principal do Vapor e os centenas de membros da comunidade Vapor.

mkdocs.yml

+127-71
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repo_url: http://github.com/vapor/vapor
1010
edit_uri: https://github.com/vapor/documentation/edit/main/docs/
1111

1212
# Copyright
13-
copyright: "Vapor Documentation © 2023 by Vapor is licensed under CC BY-NC-SA 4.0"
13+
copyright: 'Vapor Documentation © 2023 by Vapor is licensed under CC BY-NC-SA 4.0'
1414

1515
# Configuration
1616
theme:
@@ -22,15 +22,15 @@ theme:
2222

2323
palette:
2424
# Palette toggle for light mode
25-
- media: "(prefers-color-scheme: light)"
25+
- media: '(prefers-color-scheme: light)'
2626
primary: black
2727
accent: blue
2828
scheme: default
2929
toggle:
3030
icon: material/brightness-4
3131
name: Switch to dark mode
3232
# Palette toggle for dark mode
33-
- media: "(prefers-color-scheme: dark)"
33+
- media: '(prefers-color-scheme: dark)'
3434
primary: black
3535
accent: blue
3636
scheme: slate
@@ -379,6 +379,62 @@ plugins:
379379
Welcome: Bienvenido
380380
Xcode: Xcode
381381
site_name: Documentación de Vapor
382+
- build: true
383+
default: false
384+
locale: pt-BR
385+
name: Português (Brasil)
386+
nav_translations:
387+
APNS: APNS
388+
Advanced: Avançado
389+
Async: Assíncrono
390+
Authentication: Autenticação
391+
Basics: Básico
392+
Client: Cliente
393+
Commands: Comandos
394+
Content: Conteúdo
395+
Contributing: Contribuir
396+
Contributing Guide: Guia de Contribuição
397+
Controllers: Controladores
398+
Crypto: Criptografia
399+
Custom Tags: Tags Personalizadas
400+
Deploy: Implantação
401+
Environment: Ambiente
402+
Errors: Erros
403+
Files: Arquivos
404+
Fluent: Fluent
405+
Folder Structure: Estrutura de Pastas
406+
Getting Started: Começando
407+
Hello, world: Olá, mundo
408+
Install: Instalação
409+
JWT: JWT
410+
Leaf: Leaf
411+
Legacy Docs: Documentação Antiga
412+
Logging: Log
413+
Middleware: Middleware
414+
Migrations: Migrações
415+
Model: Modelo
416+
Overview: Visão Geral
417+
Passwords: Senhas
418+
Query: Consulta
419+
Queues: Filas
420+
Redis: Redis
421+
Relations: Relações
422+
Routing: Roteamento
423+
Schema: Esquema
424+
Security: Segurança
425+
Server: Servidor
426+
Services: Serviços
427+
Sessions: Sessões
428+
SwiftPM: SwiftPM
429+
Testing: Testando
430+
Transactions: Transações
431+
Upgrading: Atualizando
432+
Validation: Validação
433+
Version (4.0): Versão (4.0)
434+
WebSockets: WebSockets
435+
Welcome: Bem vindo
436+
Xcode: Xcode
437+
site_name: Documentação Vapor
382438
- build: true
383439
default: false
384440
locale: pl
@@ -528,71 +584,71 @@ plugins:
528584
reconfigure_material: true
529585
reconfigure_search: false
530586
nav:
531-
- Welcome: "index.md"
532-
- Install:
533-
- macOS: "install/macos.md"
534-
- Linux: "install/linux.md"
535-
- Getting Started:
536-
- Hello, world: "getting-started/hello-world.md"
537-
- Folder Structure: "getting-started/folder-structure.md"
538-
- SwiftPM: "getting-started/spm.md"
539-
- Xcode: "getting-started/xcode.md"
540-
- Basics:
541-
- Routing: "basics/routing.md"
542-
# TODO: Improve quality
543-
# Mostly just a code sample with little explanation.
544-
- Controllers: "basics/controllers.md"
545-
- Content: "basics/content.md"
546-
- Client: "basics/client.md"
547-
- Validation: "basics/validation.md"
548-
- Async: "basics/async.md"
549-
- Logging: "basics/logging.md"
550-
- Environment: "basics/environment.md"
551-
- Errors: "basics/errors.md"
552-
- Fluent:
553-
- Overview: "fluent/overview.md"
554-
- Model: "fluent/model.md"
555-
- Relations: "fluent/relations.md"
556-
- Migrations: "fluent/migration.md"
557-
- Query: "fluent/query.md"
558-
- Transactions: "fluent/transaction.md"
559-
- Schema: "fluent/schema.md"
560-
- Advanced: "fluent/advanced.md"
561-
- Leaf:
562-
- Getting Started: "leaf/getting-started.md"
563-
- Overview: "leaf/overview.md"
564-
- Custom Tags: "leaf/custom-tags.md"
565-
- Redis:
566-
- Overview: "redis/overview.md"
567-
- Sessions: "redis/sessions.md"
568-
- Advanced:
569-
- Middleware: "advanced/middleware.md"
570-
- Testing: "advanced/testing.md"
571-
- Server: "advanced/server.md"
572-
- Files: "advanced/files.md"
573-
- Commands: "advanced/commands.md"
574-
- Queues: "advanced/queues.md"
575-
- WebSockets: "advanced/websockets.md"
576-
- Sessions: "advanced/sessions.md"
577-
- Services: "advanced/services.md"
578-
- Request: "advanced/request.md"
579-
- APNS: "advanced/apns.md"
580-
- Security:
581-
- Authentication: "security/authentication.md"
582-
- Crypto: "security/crypto.md"
583-
- Passwords: "security/passwords.md"
584-
- JWT: "security/jwt.md"
585-
- Deploy:
586-
- DigitalOcean: "deploy/digital-ocean.md"
587-
- Fly: "deploy/fly.md"
588-
- Heroku: "deploy/heroku.md"
589-
- Supervisor: "deploy/supervisor.md"
590-
- Systemd: "deploy/systemd.md"
591-
- Nginx: "deploy/nginx.md"
592-
- Docker: "deploy/docker.md"
593-
- Contributing:
594-
- Contributing Guide: "contributing/contributing.md"
595-
- Version (4.0):
596-
- Legacy Docs: "version/legacy-docs.md"
597-
- Upgrading: "upgrading.md"
598-
- Release Notes: "release-notes.md"
587+
- Welcome: 'index.md'
588+
- Install:
589+
- macOS: 'install/macos.md'
590+
- Linux: 'install/linux.md'
591+
- Getting Started:
592+
- Hello, world: 'getting-started/hello-world.md'
593+
- Folder Structure: 'getting-started/folder-structure.md'
594+
- SwiftPM: 'getting-started/spm.md'
595+
- Xcode: 'getting-started/xcode.md'
596+
- Basics:
597+
- Routing: 'basics/routing.md'
598+
# TODO: Improve quality
599+
# Mostly just a code sample with little explanation.
600+
- Controllers: 'basics/controllers.md'
601+
- Content: 'basics/content.md'
602+
- Client: 'basics/client.md'
603+
- Validation: 'basics/validation.md'
604+
- Async: 'basics/async.md'
605+
- Logging: 'basics/logging.md'
606+
- Environment: 'basics/environment.md'
607+
- Errors: 'basics/errors.md'
608+
- Fluent:
609+
- Overview: 'fluent/overview.md'
610+
- Model: 'fluent/model.md'
611+
- Relations: 'fluent/relations.md'
612+
- Migrations: 'fluent/migration.md'
613+
- Query: 'fluent/query.md'
614+
- Transactions: 'fluent/transaction.md'
615+
- Schema: 'fluent/schema.md'
616+
- Advanced: 'fluent/advanced.md'
617+
- Leaf:
618+
- Getting Started: 'leaf/getting-started.md'
619+
- Overview: 'leaf/overview.md'
620+
- Custom Tags: 'leaf/custom-tags.md'
621+
- Redis:
622+
- Overview: 'redis/overview.md'
623+
- Sessions: 'redis/sessions.md'
624+
- Advanced:
625+
- Middleware: 'advanced/middleware.md'
626+
- Testing: 'advanced/testing.md'
627+
- Server: 'advanced/server.md'
628+
- Files: 'advanced/files.md'
629+
- Commands: 'advanced/commands.md'
630+
- Queues: 'advanced/queues.md'
631+
- WebSockets: 'advanced/websockets.md'
632+
- Sessions: 'advanced/sessions.md'
633+
- Services: 'advanced/services.md'
634+
- Request: 'advanced/request.md'
635+
- APNS: 'advanced/apns.md'
636+
- Security:
637+
- Authentication: 'security/authentication.md'
638+
- Crypto: 'security/crypto.md'
639+
- Passwords: 'security/passwords.md'
640+
- JWT: 'security/jwt.md'
641+
- Deploy:
642+
- DigitalOcean: 'deploy/digital-ocean.md'
643+
- Fly: 'deploy/fly.md'
644+
- Heroku: 'deploy/heroku.md'
645+
- Supervisor: 'deploy/supervisor.md'
646+
- Systemd: 'deploy/systemd.md'
647+
- Nginx: 'deploy/nginx.md'
648+
- Docker: 'deploy/docker.md'
649+
- Contributing:
650+
- Contributing Guide: 'contributing/contributing.md'
651+
- Version (4.0):
652+
- Legacy Docs: 'version/legacy-docs.md'
653+
- Upgrading: 'upgrading.md'
654+
- Release Notes: 'release-notes.md'

0 commit comments

Comments
 (0)