chore(i18n,docs): update translations (#42942)
This commit is contained in:
@@ -1,54 +1,54 @@
|
||||
# How to work on the docs theme
|
||||
# Como trabalhar no tema da documentação
|
||||
|
||||
> [!NOTE] A quick reminder that you do not need to setup anything for working on the content for the documentation site.
|
||||
> [!NOTE] Um lembrete rápido de que você não precisa configurar nada para ajudar no conteúdo da documentação do site.
|
||||
>
|
||||
> To work on the contributing guidelines, you can edit or add files in the `docs` directory [available here](https://github.com/freeCodeCamp/freeCodeCamp/tree/main/docs). When your changes are merged, it will be made available automatically at the documentation site.
|
||||
> Para trabalhar nas diretrizes de contribuição, você pode editar ou adicionar arquivos no diretório `docs` [disponível aqui](https://github.com/freeCodeCamp/freeCodeCamp/tree/main/docs). Ao fazermos o merge de suas alterações, elas são disponibilizadas automaticamente no site da documentação.
|
||||
|
||||
## Structure of the docs website
|
||||
## Estrutura do site da documentação
|
||||
|
||||
The site is generated using [`docsify`](https://docsify.js.org), and served using GitHub pages.
|
||||
O site é gerado usando [`docsify`](https://docsify.js.org) e veiculado usando GitHub Pages.
|
||||
|
||||
Typically you would not need to change any configuration or build the site locally. In case you are interested, here is how it works:
|
||||
Normalmente, você não precisaria alterar nenhuma configuração ou compilar o site localmente. Caso esteja interessado, funciona assim:
|
||||
|
||||
- The homepage's source for this site is available in [`docs/index.html`](index.html).
|
||||
- We serve this file as a SPA using `docsify` and GitHub Pages.
|
||||
- The `docsify` script generates the content of `markdown` files in `docs` directory on demand.
|
||||
- The homepage is generated from the [`_coverpage.md`](_coverpage.md).
|
||||
- the sidebar navigation is generated from [`_sidebar.md`](_sidebar.md).
|
||||
- A fonte da página inicial para este site está disponível em [`docs/index.html`](index.html).
|
||||
- Veiculamos este arquivo como uma SPA usando `docsify` e GitHub Pages.
|
||||
- O script `docsify` gera o conteúdo de `arquivos` markdown no diretório `docs` sob demanda.
|
||||
- A página inicial é gerada a partir do [`_coverpage.md`](_coverpage.md).
|
||||
- a navegação da barra lateral é gerada a partir de [`_sidebar.md`](_sidebar.md).
|
||||
|
||||
## Serving the documentation site locally
|
||||
## Veiculando localmente o site da documentação
|
||||
|
||||
Clone freeCodeCamp:
|
||||
Clone o freeCodeCamp:
|
||||
|
||||
```console
|
||||
git clone https://github.com/freeCodeCamp/freeCodeCamp.git
|
||||
docsify serve docs
|
||||
```
|
||||
|
||||
Install `docsify`:
|
||||
Instale o `docsify`:
|
||||
|
||||
```console
|
||||
npm install -g docsify
|
||||
```
|
||||
|
||||
and serve the `/docs` directory
|
||||
e veicule o diretório `/docs`
|
||||
|
||||
```console
|
||||
docsify serve docs
|
||||
```
|
||||
|
||||
Alternatively, if you have installed freeCodeCamp locally (see the local setup guide), we bundle the CLI with the development tools so you can run any of the below commands as needed from the root of the repo:
|
||||
Como alternativa, se você tiver instalado o freeCodeCamp localmente (veja o guia de instalação local), nós empacotamos o CLI com as ferramentas de desenvolvimento para que você possa executar qualquer um dos comandos abaixo, conforme necessário, a partir da raiz do repositório:
|
||||
|
||||
### Serve and launch the documentation site only
|
||||
### Veicule e inicie apenas o site da documentação
|
||||
|
||||
```console
|
||||
npm run docs:serve
|
||||
```
|
||||
|
||||
### Serve the documentation site alongside freeCodeCamp locally:
|
||||
### Veicule localmente o site da documentação juntamente com o freeCodeCamp:
|
||||
|
||||
```console
|
||||
npm run develop
|
||||
```
|
||||
|
||||
> The documentation site should be available at <http://localhost:3200>
|
||||
> O site da documentação deve estar disponível em <http://localhost:3200>
|
||||
|
Reference in New Issue
Block a user