Skip to content

Commit caf6477

Browse files
yabellinimaelleIldySilvapedropark99
authored
Add PT-BR automatic translation redirect.Rmd (#777)
* Add PT-BR automatic translation * Review redirect.pt.Rmd (#788) * First Review redirect.pt.Rmd,issue 777 * Update redirect.pt.Rmd Co-authored-by: Pedro Faria <[email protected]> --------- Co-authored-by: Pedro Faria <[email protected]> --------- Co-authored-by: Maëlle Salmon <[email protected]> Co-authored-by: Ildeberto Silva <[email protected]> Co-authored-by: Pedro Faria <[email protected]>
1 parent 0624b1b commit caf6477

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

redirect.pt.Rmd

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# How to set a redirect {#redirect}
1+
# Como definir um redirecionamento {#redirect}
22

3-
## Non GitHub pages site (e.g. Netlify) {#non-git-hub-pages-site-e-g-netlify}
3+
## Site que não seja de páginas do Github Pages (por exemplo, Netlify) {#non-git-hub-pages-site-e-g-netlify}
44

5-
Replace the content of the current website with a `index.html` and `404.html` files both containing:
5+
Substitua o conteúdo do site atual por dois arquivos chamados `index.html` e `404.html`. Ambos os arquivos devem conter o seguinte conteúdo:
66

77
```html
88
<html>
@@ -12,12 +12,12 @@ Replace the content of the current website with a `index.html` and `404.html` fi
1212
</html>
1313
```
1414

15-
## GitHub pages {#git-hub-pages}
15+
## Páginas do GitHub {#git-hub-pages}
1616

17-
You can setup the redirect from your main user gh-pages repository:
17+
Você pode configurar o redirecionamento no repositório gh-pages do seu usuário principal:
1818

19-
- create a new repository (if you don't have one yet): `https://github.com/<username>/<username>.github.io`.
20-
- In this repository create a directory `<pkgname>` containing 2 files: a `index.html` and `404.html` file, which both redirect to the new location (see previous subsection).
21-
- Test that `https://<username>.github.io/<pkgname>/index.html` now redirects.
19+
- crie um novo repositório (se você ainda não tiver um): `https://github.com/<username>/<username>.github.io`.
20+
- Nesse repositório, crie um diretório `<pkgname>` contendo 2 arquivos: um `index.html` e `404.html` que redirecionam para o novo local (consulte a subseção anterior).
21+
- Teste o endereço `https://<username>.github.io/<pkgname>/index.html` que vai redirecionar.
2222

2323

0 commit comments

Comments
 (0)