From 2cf5879b59c0c6c67c4ba6990d7a060432bb11d1 Mon Sep 17 00:00:00 2001 From: Fellyph Cintra Date: Tue, 9 Dec 2025 08:36:19 -0300 Subject: [PATCH 1/9] removing pt folder --- .../main/guides/github-action-pr-preview.md | 451 ------------------ .../current/main/resources.md | 195 -------- 2 files changed, 646 deletions(-) delete mode 100644 packages/docs/site/i18n/pt/docusaurus-plugin-content-docs/current/main/guides/github-action-pr-preview.md delete mode 100644 packages/docs/site/i18n/pt/docusaurus-plugin-content-docs/current/main/resources.md diff --git a/packages/docs/site/i18n/pt/docusaurus-plugin-content-docs/current/main/guides/github-action-pr-preview.md b/packages/docs/site/i18n/pt/docusaurus-plugin-content-docs/current/main/guides/github-action-pr-preview.md deleted file mode 100644 index 6eb1a0a33b..0000000000 --- a/packages/docs/site/i18n/pt/docusaurus-plugin-content-docs/current/main/guides/github-action-pr-preview.md +++ /dev/null @@ -1,451 +0,0 @@ ---- -title: Adicionando Botões de Pré-visualização de PR com GitHub Actions -slug: /guides/github-action-pr-preview -description: Adicione automaticamente botões de pré-visualização do Playground aos pull requests do seu plugin ou tema WordPress. ---- - - - -A ação de Pré-visualização de PR do Playground adiciona um botão de pré-visualização aos seus pull requests. Clicar no botão inicia o Playground com seu plugin ou tema instalado a partir da branch do PR: - -![PR Preview Button](@site/static/img/try-it-in-playground.png) - - - -Para opções de configuração completas e recursos avançados, consulte o [README do workflow action-wp-playground-pr-preview](https://github.com/WordPress/action-wp-playground-pr-preview/tree/v2). - - - -## Como funciona - - - -A ação é executada em eventos de pull request (aberto, atualizado, editado). Ela pode atualizar a descrição do PR com um botão de pré-visualização ou postar o botão como um comentário. - - - -## Configuração básica para plugins - - - -Para plugins sem uma etapa de build, crie `.github/workflows/pr-preview.yml`: - -```yaml -name: PR Preview -on: - pull_request: - types: [opened, synchronize, reopened, edited] - -jobs: - preview: - runs-on: ubuntu-latest - permissions: - contents: read - pull-requests: write - steps: - - name: Post Playground Preview Button - uses: WordPress/action-wp-playground-pr-preview@v2 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - mode: 'append-to-description' - plugin-path: . -``` - - - -A configuração `plugin-path: .` aponta para o diretório do seu plugin. Para subdiretórios como `plugins/my-plugin`, use `plugin-path: plugins/my-plugin`. - - - -Veja [adamziel/preview-in-playground-button-plugin-example](https://github.com/adamziel/preview-in-playground-button-plugin-example/pull/3) para um exemplo ao vivo deste workflow em ação. - - - -## Configuração básica para temas - - - -Para temas, use `theme-path` em vez de `plugin-path`: - -```yaml -name: PR Preview -on: - pull_request: - types: [opened, synchronize, reopened, edited] - -jobs: - preview: - runs-on: ubuntu-latest - permissions: - contents: read - pull-requests: write - steps: - - name: Post Playground Preview Button - uses: WordPress/action-wp-playground-pr-preview@v2 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - theme-path: . -``` - - - -## Posicionamento do botão - - - -Por padrão, a ação atualiza a descrição do PR (`mode: append-to-description`). Para postar como um comentário: - -```yaml -with: - plugin-path: . - mode: comment - github-token: ${{ secrets.GITHUB_TOKEN }} -``` - - - -A ação envolve o botão em marcadores HTML e o atualiza em execuções subsequentes. Por padrão, ela restaura o botão se você o remover. Para evitar a restauração: - -```yaml -with: - plugin-path: . - restore-button-if-removed: false -``` - - - -## Trabalhando com artefatos compilados - - - -Para plugins ou temas que requerem compilação, o workflow envolve compilar o código, expô-lo através de releases do GitHub e criar um blueprint que referencia a URL pública. - - - -Exemplo de workflow (veja a [documentação completa](https://github.com/WordPress/action-wp-playground-pr-preview/tree/v2#advanced-testing-built-ci-artifacts)): - -```yaml -name: PR Preview with Build -on: - pull_request: - types: [opened, synchronize, reopened, edited] - -permissions: - contents: write - pull-requests: write - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Build - run: | - npm install - npm run build - zip -r plugin.zip dist/ - - uses: actions/upload-artifact@v4 - with: - name: built-plugin - path: plugin.zip - - expose-build: - needs: build - runs-on: ubuntu-latest - permissions: - contents: write - outputs: - artifact-url: ${{ steps.expose.outputs.artifact-url }} - steps: - - name: Expose built artifact - id: expose - uses: WordPress/action-wp-playground-pr-preview/.github/actions/expose-artifact-on-public-url@v2 - with: - artifact-name: 'built-plugin' - pr-number: ${{ github.event.pull_request.number }} - commit-sha: ${{ github.sha }} - artifacts-to-keep: '2' - - create-blueprint: - needs: expose-build - runs-on: ubuntu-latest - outputs: - blueprint: ${{ steps.blueprint.outputs.result }} - steps: - - uses: actions/github-script@v7 - id: blueprint - with: - script: | - const blueprint = { - steps: [{ - step: "installPlugin", - pluginZipFile: { - resource: "url", - url: "${{ needs.expose-build.outputs.artifact-url }}" - } - }] - }; - return JSON.stringify(blueprint); - result-encoding: string - - preview: - needs: create-blueprint - runs-on: ubuntu-latest - permissions: - pull-requests: write - steps: - - uses: WordPress/action-wp-playground-pr-preview@v2 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - blueprint: ${{ needs.create-blueprint.outputs.blueprint }} -``` - - - -A configuração `artifacts-to-keep` controla quantos builds manter por PR. Para temas, altere `installPlugin` para `installTheme`. - - - -Veja [adamziel/preview-in-playground-button-built-artifact-example](https://github.com/adamziel/preview-in-playground-button-built-artifact-example/pull/2) para um exemplo completo funcionando. - - - -## Blueprints personalizados - - - -Use blueprints para configurar o ambiente do Playground. Você pode instalar plugins adicionais, definir opções do WordPress, importar conteúdo ou executar PHP personalizado. - - - -Exemplo instalando seu plugin com WooCommerce: - -```yaml -jobs: - create-blueprint: - name: Create Blueprint - runs-on: ubuntu-latest - outputs: - blueprint: ${{ steps.blueprint.outputs.result }} - steps: - - name: Create Blueprint - id: blueprint - uses: actions/github-script@v7 - with: - script: | - const blueprint = { - steps: [ - { - step: "installPlugin", - pluginData: { - resource: "git:directory", - url: `https://github.com/${context.repo.owner}/${context.repo.repo}.git`, - ref: context.payload.pull_request.head.ref, - path: "/" - } - }, - { - step: "installPlugin", - pluginData: { - resource: "wordpress.org/plugins", - slug: "woocommerce" - } - } - ] - }; - return JSON.stringify(blueprint); - result-encoding: string - - preview: - needs: create-blueprint - runs-on: ubuntu-latest - permissions: - pull-requests: write - steps: - - uses: WordPress/action-wp-playground-pr-preview@v2 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - blueprint: ${{ needs.create-blueprint.outputs.blueprint }} -``` - - - -Ou referencie um blueprint externo: - -```yaml -with: - blueprint-url: https://example.com/path/to/blueprint.json -``` - - - -Consulte a [documentação de Blueprints](/blueprints) para todos os passos disponíveis e opções de configuração. - - - -## Personalização de template - - - -Personalize o conteúdo da pré-visualização usando variáveis de template: - -```yaml -with: - plugin-path: . - description-template: | - ### Test this PR in WordPress Playground - - {{PLAYGROUND_BUTTON}} - - **Branch:** {{PR_HEAD_REF}} -``` - - - -Variáveis disponíveis: `{{PLAYGROUND_BUTTON}}`, `{{PLUGIN_SLUG}}`, `{{THEME_SLUG}}`, `{{PR_NUMBER}}`, `{{PR_TITLE}}`, `{{PR_HEAD_REF}}`, e mais. - - - -Consulte o README do workflow para a [lista completa](https://github.com/WordPress/action-wp-playground-pr-preview/tree/v2#description-template). - - - -## Exposição de artefatos - - - -A ação `expose-artifact-on-public-url` faz upload de arquivos compilados para um único release (marcado como `ci-artifacts` por padrão). Cada artefato recebe um nome de arquivo único como `pr-123-abc1234.zip`. Artefatos antigos são automaticamente limpos com base em `artifacts-to-keep`. - - - -Opções de configuração: [Expose Artifact Inputs](https://github.com/WordPress/action-wp-playground-pr-preview/tree/v2#expose-artifact-inputs) - - - -## Solução de problemas - - - -**Botão não aparece:** O arquivo de workflow deve existir no branch padrão. Verifique a aba Actions para erros. - - - -**Pré-visualização falha ao carregar:** Verifique se o caminho aponta para um diretório válido de plugin/tema. Verifique os logs de build para artefatos. - - - -**Não ativado:** Verifique o console do navegador para erros de PHP. As dependências podem estar faltando. - - - -**Erros de permissão:** Defina permissões no nível do job. - - - -Mais informações: [README do workflow](https://github.com/WordPress/action-wp-playground-pr-preview/tree/v2) - - - -## Exemplos - - - -- [WordPress/blueprints](https://github.com/WordPress/blueprints/pull/155) - Pré-visualizações de blueprint -- [adamziel/preview-in-playground-button-plugin-example](https://github.com/adamziel/preview-in-playground-button-plugin-example/pull/3) - Plugin sem build -- [adamziel/preview-in-playground-button-built-artifact-example](https://github.com/adamziel/preview-in-playground-button-built-artifact-example/pull/2) - Plugin com build - - - -## Próximos passos - - - -- Adicionar conteúdo de demonstração ([guia](/guides/providing-content-for-your-demo)) -- Criar blueprints personalizados ([documentação](/blueprints)) -- Integrar com workflows de testes -- Personalizar templates para revisores diff --git a/packages/docs/site/i18n/pt/docusaurus-plugin-content-docs/current/main/resources.md b/packages/docs/site/i18n/pt/docusaurus-plugin-content-docs/current/main/resources.md deleted file mode 100644 index 240e5527ee..0000000000 --- a/packages/docs/site/i18n/pt/docusaurus-plugin-content-docs/current/main/resources.md +++ /dev/null @@ -1,195 +0,0 @@ ---- -title: Links e Recursos -slug: /resources -description: Uma lista selecionada de links úteis para aplicativos, ferramentas, artigos e vídeos para aprender mais sobre o WordPress Playground. ---- - - - -# Links e Recursos - - - -:::tip - -Há um conjunto de redirecionamentos disponíveis para facilitar o acesso a algumas das ferramentas relacionadas ao Playground: - - -::: - - - -## Links frequentemente procurados - - - -- [Demo](https://playground.wordpress.net/) -- [Repositório no GitHub](https://github.com/WordPress/wordpress-playground) -- [Documentação](https://wordpress.github.io/wordpress-playground/) -- [Repositório de ferramentas do Playground](https://github.com/WordPress/playground-tools) - - - -## Aplicativos construídos com WordPress Playground - - - -- [Demo oficial](https://playground.wordpress.net/) e o aplicativo [showcase](https://developer.wordpress.org/playground) – instale um tema, experimente um plugin, crie algumas páginas, exporte o que você construiu -- [@wp-playground/cli](https://www.npmjs.com/package/@wp-playground/cli) – uma ferramenta CLI para ambiente de desenvolvimento WordPress instantâneo -- [WordPress Playground para VS Code](https://marketplace.visualstudio.com/items?itemName=WordPressPlayground.wordpress-playground) -- Traduções ao vivo: [App](https://translate.wordpress.org/projects/wp-plugins/friends/dev/pl/default/playground/), [anúncio](https://make.wordpress.org/polyglots/2023/04/19/wp-translation-playground/), [mais detalhes](https://make.wordpress.org/polyglots/2023/05/08/translate-live-updates-to-the-translation-playground/) -- [Bloco de código interativo](https://wordpress.org/plugins/interactive-code-block/) que alimenta o [tutorial do Processador de Tags HTML](https://adamadam.blog/2023/02/16/how-to-modify-html-in-a-php-wordpress-plugin-using-the-new-tag-processor-api/) e o [tutorial da API JS do Playground](https://wordpress.github.io/wordpress-playground/developers/apis/javascript-api/) -- [Visualizador de Pull Request do Gutenberg](https://playground.wordpress.net/gutenberg.html) -- [Demo ao vivo do plugin de notificações](https://johnhooks.io/playground-experiment/) -- [GraphQL REPL](https://www.wpgraphql.com/2023/06/15/announcing-the-wpgraphql-repl) -- [Blocknotes](https://twitter.com/adamzielin/status/1669478239771799552) – o primeiro aplicativo iOS que executa WordPress no seu telefone -- [Incorporador de Playground](https://joost.blog/embedded-playground/) para incorporar exemplos do Playground na documentação do WordPress.org usando shortcodes -- [Demos de plugins no wp.org](https://gist.github.com/adamziel/0fe3ffc1fb5202a907a87d055ee37135) – um script de usuário que adiciona uma aba "demo" às páginas de plugins no WordPress.org -- [Visualizador de Pull Request do WordPress](https://playground.wordpress.net/wordpress.html) -- [Sincronização entre dois Playgrounds](https://playground.wordpress.net/demos/sync.html) -- [Viagem no Tempo](https://playground.wordpress.net/demos/time-traveling.html) -- [WP-CLI](https://playground.wordpress.net/demos/wp-cli.html) -- [Implementação PHP de Blueprints](https://playground.wordpress.net/demos/php-blueprints.html) - - - -## Material de leitura - - - -- [Construa experiências WordPress no navegador com WordPress Playground e WebAssembly](https://web.dev/wordpress-playground/) -- [WordPress Playground no developer.wordpress.org](https://developer.wordpress.org/playground) -- [Demos técnicos de WordPress no navegador: Desenvolvimento WordPress com WordPress Playground](https://make.wordpress.org/core/2023/04/13/in-browser-wordpress-tech-demos-wordpress-development-with-wordpress-playground/) -- [Anúncio inicial no make.wordpress.org](https://make.wordpress.org/core/2022/09/23/client-side-webassembly-wordpress-with-no-server/) -- [Discussão no Hackernews](https://news.ycombinator.com/item?id=32960560) - - - -## Vídeos - - - -- Vídeos do Developer Hours: - - [Região Américas (23 de maio, 2023)](https://wordpress.tv/2023/05/23/developer-hours-wordpress-playground-americas/) - - [Região APAC/EMEA (24 de maio, 2023)](https://wordpress.tv/2023/05/24/developer-hours-wordpress-playground-apac-emea/) - - [Criando Blueprints do WordPress Playground para Testes e Demos (28 de maio, 2024)](https://wordpress.tv/2024/05/28/developer-hours-creating-wordpress-playground-blueprints-for-testing-and-demos/) por Birgit Pauli-Haack & Nick Diego - - [Developer Hours: Tudo o que você precisa saber sobre WordPress Playground (17 de dezembro, 2024)](https://wordpress.tv/2024/12/17/developer-hours-everything-you-need-to-know-about-wordpress-playground/) por Nick Diego & Ryan Welcher -- [Playground no State of the Word](https://youtu.be/VeigCZuxnfY?t=2912) -- [Playground no WCEU 2023](https://www.youtube.com/watch?v=e-CwouzTGp4&t=26946s) -- [Assista "WordPress Playground: a ferramenta definitiva de aprendizado, teste e ensino para WordPress"](https://www.youtube.com/watch?v=dN_LaenY8bI) por Anne McCarthy -- [WordPress Playground para desenvolvedores](https://wordpress.tv/2024/12/16/wordpress-playground-for-developers/) por Berislav Grgicak e Jonathan Bossenger -- [Suporte a temas do editor de código de blocos do WordPress Playground](https://wordpress.tv/2024/10/05/wordpress-playground-block-code-editor-theme-support/) por Jonathan Bossenger -- [WordPress Playground – use WordPress sem servidor no WCEU 2024](https://wordpress.tv/2024/07/03/wordpress-playground-use-wordpress-without-a-server/) por Adam Zielinski -- [Código, Teste, Repita: Acelerando o Desenvolvimento com WordPress Playground no WordCamp Larissa 2024](https://wordpress.tv/2024/12/13/code-test-repeat-accelerating-development-with-wordpress-playground/) por Uros Tasic -- [Liberando dados com WordPress Playground em uma Extensão de Navegador no WordCamp Netherlands 2024](https://wordpress.tv/2024/12/24/liberating-data-with-wordpress-playground-in-a-browser-extension/) por Alex Kirk -- [Além do Playground: WordPress como Construtor de Ferramentas e Produtos no WCUS 2024](https://wordpress.tv/2024/10/10/beyond-the-playground-wordpress-as-a-tool-and-product-builder/) por Dennis Snell -- [Crie uma demo com Playground no WC Asia 2025](https://wordpress.tv/2025/04/30/create-a-demo-with-playground/) por Birgit Pauli-Haack -- [Dissecando WordPress Playground no WordCamp Nepal 2025](https://wordpress.tv/2025/04/30/dissecting-wordpress-playground/) por Sakar Upadhyaya Khatiwada -- [Construindo Testes Automatizados com WordPress Playground no WCEU 2025](https://wordpress.tv/2025/06/07/building-automated-tests-with-wordpress-playground/) por Berislav Grgicak -- [Do Zero à Demo: Dominando Blueprints do WordPress Playground no WCEU 2025](https://wordpress.tv/2025/06/07/from-zero-to-demo-mastering-wordpress-playground-blueprints/) por Birgit Pauli-Haack -- [Playground no WordCamp Gliwice (em polonês)](https://www.youtube.com/watch?v=AUHklF9GdL8&list=PLiCne9CeL82_hGuJOAJlsc84WxVDSH-c9&index=4) por Adam Zielinski -- [WordPress Playground no WordCamp Wrocław 2024 (em polonês)](https://wordpress.tv/2024/12/02/wordpress-playground-przelom-w-wordpressie-2/) por Adam Zielinski -- [WordPress Playground no WordCamp Gdynia 2025 (em polonês)](https://wordpress.tv/2025/04/21/wordpress-playground/) por Magdalena Paciorek -- [Descobrindo Playground, a ferramenta de demo (em espanhol)](https://wordpress.tv/2024/08/09/descubriendo-playground-la-herramienta-para-hacer-demos/) por Alex Cuadra -- [WordPress Playground: Instalação completa e funcional do WordPress (em espanhol)](https://wordpress.tv/2024/02/07/wordpress-playground-instalacion-completa-y-funcional-de-wordpress/) por Fernando García Rebolledo -- [Playground: Um WordPress descartável dentro do seu navegador no WordCamp Madrid 2025 (em espanhol)](https://wordpress.tv/2025/03/09/playground-un-wordpress-de-usar-y-tirar-dentro-de-tu-navegador/) por Álvaro Gómez Velasco -- [Use WordPress apenas com um navegador! Tutorial do WordPress Playground: Uso básico do Playground (em japonês)](https://www.youtube.com/watch?v=6s_B0WvJauU) por Shimomura Tomoki -- [WordPress Playground: Como usar Blueprints](https://www.youtube.com/watch?v=Vcao6uXguWg) por Shimomura Tomoki -- [Desenvolvimento Simplificado de Temas de Blocos: Usando WordPress Playground e GitHub para Controle de Versão Sem Código de Alterações do Editor de Sites](https://wordpress.tv/2025/09/30/streamlined-block-theme-development-using-wordpress-playground-and-github-for-no-code-version-contr/) por Birgit Pauli-Haack -- [Playground, a melhor ferramenta já inventada para ensinar WordPress (em espanhol)](https://wordpress.tv/2025/10/05/playground-la-mejor-herramienta-jamas-inventada-para-ensenar-wordpress/) por Nilo Vélez -- [Testando Mais Rápido que um Pit Stop da Red Bull: WordPress Playground e Blueprints do WooCommerce](https://wordpress.tv/2025/09/30/testing-faster-than-a-red-bull-pit-stop-wordpress-playground-and-woocommerce-blueprints/) por Daniel Dudzic -- [O WordPress Playground é apenas para desenvolvedores?](https://wordpress.tv/2025/10/25/is-wordpress-playground-only-for-developers/) por Fellyph Cintra -- [Como testar a próxima versão do WordPress com WordPress Playground](https://wordpress.tv/2025/11/13/how-to-test-the-next-wordpress-release-with-wordpress-playground/) por Fellyph Cintra -- [Executando WordPress diretamente do código JavaScript com runCLI](https://wordpress.tv/2025/10/22/running-wordpress-directly-from-the-javascript-code-with-runcli/) por Fellyph Cintra From 0cac57f5f7650860e366192ee5fda38c01b9de48 Mon Sep 17 00:00:00 2001 From: Fellyph Cintra Date: Tue, 9 Dec 2025 08:37:09 -0300 Subject: [PATCH 2/9] updating resource page --- .../current/main/resources.md | 152 ++++++++++-------- 1 file changed, 85 insertions(+), 67 deletions(-) diff --git a/packages/docs/site/i18n/pt-BR/docusaurus-plugin-content-docs/current/main/resources.md b/packages/docs/site/i18n/pt-BR/docusaurus-plugin-content-docs/current/main/resources.md index 883bea07c5..722aa44c1c 100644 --- a/packages/docs/site/i18n/pt-BR/docusaurus-plugin-content-docs/current/main/resources.md +++ b/packages/docs/site/i18n/pt-BR/docusaurus-plugin-content-docs/current/main/resources.md @@ -1,30 +1,42 @@ --- title: Links e Recursos slug: /resources -description: Uma lista de links úteis para aplicativos, ferramentas, artigos e vídeos para aprender mais sobre o WordPress Playground. +description: Uma lista selecionada de links úteis para aplicativos, ferramentas, artigos e vídeos para aprender mais sobre o WordPress Playground. --- -# Links e Recursos - -:::tip +# Links e Recursos -Existe um conjunto de redirecionamentos para facilitar o acesso a algumas das ferramentas relacionadas ao Playground: +:::tip + +Há um conjunto de redirecionamentos disponíveis para facilitar o acesso a algumas das ferramentas relacionadas ao Playground: ::: @@ -41,20 +53,20 @@ Existe um conjunto de redirecionamentos para facilitar o acesso a algumas das fe - [Playground tools Repository](https://github.com/WordPress/playground-tools) --> -- [Demonstração](https://playground.wordpress.net/) -- [Repositório no GitHub](https://github.com/WordPress/wordpress-playground) -- [Documentação](https://wordpress.github.io/wordpress-playground/) -- [Repositório das ferramentas do Playground](https://github.com/WordPress/playground-tools) +- [Demo](https://playground.wordpress.net/) +- [Repositório no GitHub](https://github.com/WordPress/wordpress-playground) +- [Documentação](https://wordpress.github.io/wordpress-playground/) +- [Repositório de ferramentas do Playground](https://github.com/WordPress/playground-tools) -## Aplicações construídas com o WordPress Playground +## Aplicativos construídos com WordPress Playground -- [Demonstração oficial](https://playground.wordpress.net/) e a aplicação de [vitrine](https://developer.wordpress.org/playground) – instale um tema, experimente um plugin, crie algumas páginas, exporte o que você construiu -- [@wp-playground/cli](https://www.npmjs.com/package/@wp-playground/cli) – uma ferramenta CLI para ambientes de desenvolvimento WordPress instantâneos -- [WordPress Playground para VS Code](https://marketplace.visualstudio.com/items?itemName=WordPressPlayground.wordpress-playground) -- Traduções ao vivo: [Aplicação](https://translate.wordpress.org/projects/wp-plugins/friends/dev/pl/default/playground/), [anúncio](https://make.wordpress.org/polyglots/2023/04/19/wp-translation-playground/), [mais detalhes](https://make.wordpress.org/polyglots/2023/05/08/translate-live-updates-to-the-translation-playground/) -- [Bloco de código interativo](https://wordpress.org/plugins/interactive-code-block/) que alimenta o [tutorial do Processador de Tags HTML](https://adamadam.blog/2023/02/16/how-to-modify-html-in-a-php-wordpress-plugin-using-the-new-tag-processor-api/) e o [tutorial da API JS do Playground](https://wordpress.github.io/wordpress-playground/developers/apis/javascript-api/) -- [Visualizador de Pull Requests do Gutenberg](https://playground.wordpress.net/gutenberg.html) -- [Demonstração ao vivo do plugin de notificações](https://johnhooks.io/playground-experiment/) -- [REPL do GraphQL](https://www.wpgraphql.com/2023/06/15/announcing-the-wpgraphql-repl) -- [Blocknotes](https://twitter.com/adamzielin/status/1669478239771799552) – o primeiro aplicativo para iOS a rodar WordPress no seu celular -- [Incorporador do Playground](https://joost.blog/embedded-playground/) para incorporar exemplos do Playground na documentação do WordPress.org usando shortcodes -- [Demonstrações de plugins no wp.org](https://gist.github.com/adamziel/0fe3ffc1fb5202a907a87d055ee37135) – um script de usuário que adiciona uma aba "demo" às páginas de plugins no WordPress.org -- [Visualizador de Pull Requests do WordPress](https://playground.wordpress.net/wordpress.html) -- [Sincronização entre dois Playgrounds](https://playground.wordpress.net/demos/sync.html) -- [Viagem no Tempo](https://playground.wordpress.net/demos/time-traveling.html) -- [WP-CLI](https://playground.wordpress.net/demos/wp-cli.html) -- [Implementação de Blueprints em PHP](https://playground.wordpress.net/demos/php-blueprints.html) +- [Demo oficial](https://playground.wordpress.net/) e o aplicativo [showcase](https://developer.wordpress.org/playground) – instale um tema, experimente um plugin, crie algumas páginas, exporte o que você construiu +- [@wp-playground/cli](https://www.npmjs.com/package/@wp-playground/cli) – uma ferramenta CLI para ambiente de desenvolvimento WordPress instantâneo +- [WordPress Playground para VS Code](https://marketplace.visualstudio.com/items?itemName=WordPressPlayground.wordpress-playground) +- Traduções ao vivo: [App](https://translate.wordpress.org/projects/wp-plugins/friends/dev/pl/default/playground/), [anúncio](https://make.wordpress.org/polyglots/2023/04/19/wp-translation-playground/), [mais detalhes](https://make.wordpress.org/polyglots/2023/05/08/translate-live-updates-to-the-translation-playground/) +- [Bloco de código interativo](https://wordpress.org/plugins/interactive-code-block/) que alimenta o [tutorial do Processador de Tags HTML](https://adamadam.blog/2023/02/16/how-to-modify-html-in-a-php-wordpress-plugin-using-the-new-tag-processor-api/) e o [tutorial da API JS do Playground](https://wordpress.github.io/wordpress-playground/developers/apis/javascript-api/) +- [Visualizador de Pull Request do Gutenberg](https://playground.wordpress.net/gutenberg.html) +- [Demo ao vivo do plugin de notificações](https://johnhooks.io/playground-experiment/) +- [GraphQL REPL](https://www.wpgraphql.com/2023/06/15/announcing-the-wpgraphql-repl) +- [Blocknotes](https://twitter.com/adamzielin/status/1669478239771799552) – o primeiro aplicativo iOS que executa WordPress no seu telefone +- [Incorporador de Playground](https://joost.blog/embedded-playground/) para incorporar exemplos do Playground na documentação do WordPress.org usando shortcodes +- [Demos de plugins no wp.org](https://gist.github.com/adamziel/0fe3ffc1fb5202a907a87d055ee37135) – um script de usuário que adiciona uma aba "demo" às páginas de plugins no WordPress.org +- [Visualizador de Pull Request do WordPress](https://playground.wordpress.net/wordpress.html) +- [Sincronização entre dois Playgrounds](https://playground.wordpress.net/demos/sync.html) +- [Viagem no Tempo](https://playground.wordpress.net/demos/time-traveling.html) +- [WP-CLI](https://playground.wordpress.net/demos/wp-cli.html) +- [Implementação PHP de Blueprints](https://playground.wordpress.net/demos/php-blueprints.html) -## Materiais de leitura +## Material de leitura -- [Crie experiências WordPress no navegador com WordPress Playground e WebAssembly](https://web.dev/wordpress-playground/) -- [WordPress Playground em developer.wordpress.org](https://developer.wordpress.org/playground) -- [Demonstrações técnicas de WordPress no navegador: Desenvolvimento WordPress com WordPress Playground](https://make.wordpress.org/core/2023/04/13/in-browser-wordpress-tech-demos-wordpress-development-with-wordpress-playground/) -- [Anúncio inicial em make.wordpress.org](https://make.wordpress.org/core/2022/09/23/client-side-webassembly-wordpress-with-no-server/) -- [Discussão no Hackernews](https://news.ycombinator.com/item?id=32960560) +- [Construa experiências WordPress no navegador com WordPress Playground e WebAssembly](https://web.dev/wordpress-playground/) +- [WordPress Playground no developer.wordpress.org](https://developer.wordpress.org/playground) +- [Demos técnicos de WordPress no navegador: Desenvolvimento WordPress com WordPress Playground](https://make.wordpress.org/core/2023/04/13/in-browser-wordpress-tech-demos-wordpress-development-with-wordpress-playground/) +- [Anúncio inicial no make.wordpress.org](https://make.wordpress.org/core/2022/09/23/client-side-webassembly-wordpress-with-no-server/) +- [Discussão no Hackernews](https://news.ycombinator.com/item?id=32960560) -- Vídeos do Developer Hours: - - [Região das Américas, 23 de maio de 2023 (em inglês)](https://wordpress.tv/2023/05/23/developer-hours-wordpress-playground-americas/) - - [Região APAC/EMEA, 24 de maio de 2023 (em inglês)](https://wordpress.tv/2023/05/24/developer-hours-wordpress-playground-apac-emea/) - - [Criando Blueprints do WordPress Playground para Testes e Demos, 28 de maio de 2024 (em inglês)](https://wordpress.tv/2024/05/28/developer-hours-creating-wordpress-playground-blueprints-for-testing-and-demos/) por Birgit Pauli-Haack & Nick Diego - - [Developer Hours: Tudo que você precisa saber sobre o WordPress Playground, 17 de dezembro de 2024 (em inglês)](https://wordpress.tv/2024/12/17/developer-hours-everything-you-need-to-know-about-wordpress-playground/) por Nick Diego & Ryan Welcher -- [Playground no State of the Word (em inglês)](https://youtu.be/VeigCZuxnfY?t=2912) -- [Playground no WCEU 2023 (em inglês)](https://www.youtube.com/watch?v=e-CwouzTGp4&t=26946s) -- [Assista "WordPress Playground: a ferramenta definitiva de aprendizado, teste e ensino para WordPress" (em inglês)](https://www.youtube.com/watch?v=dN_LaenY8bI) por Anne McCarthy -- [WordPress Playground para desenvolvedores (em inglês)](https://wordpress.tv/2024/12/16/wordpress-playground-for-developers/) por Berislav Grgicak e Jonathan Bossenger -- [WordPress Playground Block code editor theme support (em inglês)](https://wordpress.tv/2024/10/05/wordpress-playground-block-code-editor-theme-support/) por Jonathan Bossenger -- [WordPress Playground – use WordPress sem servidor no WCEU 2024 (em inglês)](https://wordpress.tv/2024/07/03/wordpress-playground-use-wordpress-without-a-server/) por Adam Zielinski -- [Code, Test, Repeat: Acelerando o Desenvolvimento com WordPress Playground no WordCamp Larissa 2024 (em inglês)](https://wordpress.tv/2024/12/13/code-test-repeat-accelerating-development-with-wordpress-playground/) por Uros Tasic -- [Liberando dados com WordPress Playground em uma extensão de navegador no WordCamp Netherlands 2024 (em inglês)](https://wordpress.tv/2024/12/24/liberating-data-with-wordpress-playground-in-a-browser-extension/) por Alex Kirk -- [Além do Playground: WordPress como Ferramenta e Construtor de Produtos no WCUS 2024 (em inglês)](https://wordpress.tv/2024/10/10/beyond-the-playground-wordpress-as-a-tool-and-product-builder/) por Dennis Snell -- [Crie uma demo com Playground no WC Asia 2025 (em inglês)](https://wordpress.tv/2025/04/30/create-a-demo-with-playground/) por Birgit Pauli-Haack -- [Dissecando o WordPress Playground no WordCamp Nepal 2025 (em inglês)](https://wordpress.tv/2025/04/30/dissecting-wordpress-playground/) por Sakar Upadhyaya Khatiwada -- [Construindo Testes Automatizados com WordPress Playground no WCEU 2025 (em inglês)](https://wordpress.tv/2025/06/07/building-automated-tests-with-wordpress-playground/) por Berislav Grgicak -- [Do Zero à Demo: Dominando Blueprints do WordPress Playground no WCEU 2025 (em inglês)](https://wordpress.tv/2025/06/07/from-zero-to-demo-mastering-wordpress-playground-blueprints/) por Birgit Pauli-Haack -- [Playground no WordCamp Gliwice (em polonês)](https://www.youtube.com/watch?v=AUHklF9GdL8&list=PLiCne9CeL82_hGuJOAJlsc84WxVDSH-c9&index=4) por Adam Zielinski -- [WordPress Playground no WordCamp Wrocław 2024 (em polonês)](https://wordpress.tv/2024/12/02/wordpress-playground-przelom-w-wordpressie-2/) por Adam Zielinski -- [WordPress Playground no WordCamp Gdynia 2025 (em polonês)](https://wordpress.tv/2025/04/21/wordpress-playground/) por Magdalena Paciorek -- [Descobrindo o Playground, a ferramenta de demonstração (em espanhol)](https://wordpress.tv/2024/08/09/descubriendo-playground-la-herramienta-para-hacer-demos/) por Alex Cuadra -- [WordPress Playground: Instalação completa e funcional do WordPress (em espanhol)](https://wordpress.tv/2024/02/07/wordpress-playground-instalacion-completa-y-funcional-de-wordpress/) por Fernando García Rebolledo -- [Playground: Um WordPress descartável dentro do seu navegador no WordCamp Madrid 2025 (em espanhol)](https://wordpress.tv/2025/03/09/playground-un-wordpress-de-usar-y-tirar-dentro-de-tu-navegador/) por Álvaro Gómez Velasco -- [Use WordPress com apenas um navegador! Tutorial do WordPress Playground: Uso básico do Playground (em japonês)](https://www.youtube.com/watch?v=6s_B0WvJauU) por Shimomura Tomoki -- [WordPress Playground: Como usar Blueprints (em japonês)](https://www.youtube.com/watch?v=Vcao6uXguWg) por Shimomura Tomoki -- [Desenvolvimento simplificado de temas em blocos: Usando WordPress Playground e GitHub para controle de versão sem código de alterações no editor de sites (em inglês)](https://wordpress.tv/2025/09/30/streamlined-block-theme-development-using-wordpress-playground-and-github-for-no-code-version-contr/) por Birgit Pauli-Haack -- [Playground, a melhor ferramenta já inventada para ensinar WordPress (em espanhol)](https://wordpress.tv/2025/10/05/playground-la-mejor-herramienta-jamas-inventada-para-ensenar-wordpress/) por Nilo Vélez -- [Testando mais rápido que um pit stop da Red Bull: WordPress Playground e Blueprints do WooCommerce (em inglês)](https://wordpress.tv/2025/09/30/testing-faster-than-a-red-bull-pit-stop-wordpress-playground-and-woocommerce-blueprints/) por Daniel Dudzic +- Vídeos do Developer Hours: + - [Região Américas (23 de maio, 2023)](https://wordpress.tv/2023/05/23/developer-hours-wordpress-playground-americas/) + - [Região APAC/EMEA (24 de maio, 2023)](https://wordpress.tv/2023/05/24/developer-hours-wordpress-playground-apac-emea/) + - [Criando Blueprints do WordPress Playground para Testes e Demos (28 de maio, 2024)](https://wordpress.tv/2024/05/28/developer-hours-creating-wordpress-playground-blueprints-for-testing-and-demos/) por Birgit Pauli-Haack & Nick Diego + - [Developer Hours: Tudo o que você precisa saber sobre WordPress Playground (17 de dezembro, 2024)](https://wordpress.tv/2024/12/17/developer-hours-everything-you-need-to-know-about-wordpress-playground/) por Nick Diego & Ryan Welcher +- [Playground no State of the Word](https://youtu.be/VeigCZuxnfY?t=2912) +- [Playground no WCEU 2023](https://www.youtube.com/watch?v=e-CwouzTGp4&t=26946s) +- [Assista "WordPress Playground: a ferramenta definitiva de aprendizado, teste e ensino para WordPress"](https://www.youtube.com/watch?v=dN_LaenY8bI) por Anne McCarthy +- [WordPress Playground para desenvolvedores](https://wordpress.tv/2024/12/16/wordpress-playground-for-developers/) por Berislav Grgicak e Jonathan Bossenger +- [Suporte a temas do editor de código de blocos do WordPress Playground](https://wordpress.tv/2024/10/05/wordpress-playground-block-code-editor-theme-support/) por Jonathan Bossenger +- [WordPress Playground – use WordPress sem servidor no WCEU 2024](https://wordpress.tv/2024/07/03/wordpress-playground-use-wordpress-without-a-server/) por Adam Zielinski +- [Código, Teste, Repita: Acelerando o Desenvolvimento com WordPress Playground no WordCamp Larissa 2024](https://wordpress.tv/2024/12/13/code-test-repeat-accelerating-development-with-wordpress-playground/) por Uros Tasic +- [Liberando dados com WordPress Playground em uma Extensão de Navegador no WordCamp Netherlands 2024](https://wordpress.tv/2024/12/24/liberating-data-with-wordpress-playground-in-a-browser-extension/) por Alex Kirk +- [Além do Playground: WordPress como Construtor de Ferramentas e Produtos no WCUS 2024](https://wordpress.tv/2024/10/10/beyond-the-playground-wordpress-as-a-tool-and-product-builder/) por Dennis Snell +- [Crie uma demo com Playground no WC Asia 2025](https://wordpress.tv/2025/04/30/create-a-demo-with-playground/) por Birgit Pauli-Haack +- [Dissecando WordPress Playground no WordCamp Nepal 2025](https://wordpress.tv/2025/04/30/dissecting-wordpress-playground/) por Sakar Upadhyaya Khatiwada +- [Construindo Testes Automatizados com WordPress Playground no WCEU 2025](https://wordpress.tv/2025/06/07/building-automated-tests-with-wordpress-playground/) por Berislav Grgicak +- [Do Zero à Demo: Dominando Blueprints do WordPress Playground no WCEU 2025](https://wordpress.tv/2025/06/07/from-zero-to-demo-mastering-wordpress-playground-blueprints/) por Birgit Pauli-Haack +- [Playground no WordCamp Gliwice (em polonês)](https://www.youtube.com/watch?v=AUHklF9GdL8&list=PLiCne9CeL82_hGuJOAJlsc84WxVDSH-c9&index=4) por Adam Zielinski +- [WordPress Playground no WordCamp Wrocław 2024 (em polonês)](https://wordpress.tv/2024/12/02/wordpress-playground-przelom-w-wordpressie-2/) por Adam Zielinski +- [WordPress Playground no WordCamp Gdynia 2025 (em polonês)](https://wordpress.tv/2025/04/21/wordpress-playground/) por Magdalena Paciorek +- [Descobrindo Playground, a ferramenta de demo (em espanhol)](https://wordpress.tv/2024/08/09/descubriendo-playground-la-herramienta-para-hacer-demos/) por Alex Cuadra +- [WordPress Playground: Instalação completa e funcional do WordPress (em espanhol)](https://wordpress.tv/2024/02/07/wordpress-playground-instalacion-completa-y-funcional-de-wordpress/) por Fernando García Rebolledo +- [Playground: Um WordPress descartável dentro do seu navegador no WordCamp Madrid 2025 (em espanhol)](https://wordpress.tv/2025/03/09/playground-un-wordpress-de-usar-y-tirar-dentro-de-tu-navegador/) por Álvaro Gómez Velasco +- [Use WordPress apenas com um navegador! Tutorial do WordPress Playground: Uso básico do Playground (em japonês)](https://www.youtube.com/watch?v=6s_B0WvJauU) por Shimomura Tomoki +- [WordPress Playground: Como usar Blueprints](https://www.youtube.com/watch?v=Vcao6uXguWg) por Shimomura Tomoki +- [Desenvolvimento Simplificado de Temas de Blocos: Usando WordPress Playground e GitHub para Controle de Versão Sem Código de Alterações do Editor de Sites](https://wordpress.tv/2025/09/30/streamlined-block-theme-development-using-wordpress-playground-and-github-for-no-code-version-contr/) por Birgit Pauli-Haack +- [Playground, a melhor ferramenta já inventada para ensinar WordPress (em espanhol)](https://wordpress.tv/2025/10/05/playground-la-mejor-herramienta-jamas-inventada-para-ensenar-wordpress/) por Nilo Vélez +- [Testando Mais Rápido que um Pit Stop da Red Bull: WordPress Playground e Blueprints do WooCommerce](https://wordpress.tv/2025/09/30/testing-faster-than-a-red-bull-pit-stop-wordpress-playground-and-woocommerce-blueprints/) por Daniel Dudzic +- [O WordPress Playground é apenas para desenvolvedores?](https://wordpress.tv/2025/10/25/is-wordpress-playground-only-for-developers/) por Fellyph Cintra +- [Como testar a próxima versão do WordPress com WordPress Playground](https://wordpress.tv/2025/11/13/how-to-test-the-next-wordpress-release-with-wordpress-playground/) por Fellyph Cintra +- [Executando WordPress diretamente do código JavaScript com runCLI](https://wordpress.tv/2025/10/22/running-wordpress-directly-from-the-javascript-code-with-runcli/) por Fellyph Cintra From 9c7ef00dfd730b91ff2d3f76596f5cc985e5fbaa Mon Sep 17 00:00:00 2001 From: Fellyph Cintra Date: Tue, 9 Dec 2025 08:38:04 -0300 Subject: [PATCH 3/9] moving actions pr preview page to correct folder --- .../main/guides/github-action-pr-preview.md | 451 ++++++++++++++++++ 1 file changed, 451 insertions(+) create mode 100644 packages/docs/site/i18n/pt-BR/docusaurus-plugin-content-docs/current/main/guides/github-action-pr-preview.md diff --git a/packages/docs/site/i18n/pt-BR/docusaurus-plugin-content-docs/current/main/guides/github-action-pr-preview.md b/packages/docs/site/i18n/pt-BR/docusaurus-plugin-content-docs/current/main/guides/github-action-pr-preview.md new file mode 100644 index 0000000000..eb1d28acef --- /dev/null +++ b/packages/docs/site/i18n/pt-BR/docusaurus-plugin-content-docs/current/main/guides/github-action-pr-preview.md @@ -0,0 +1,451 @@ +--- +title: Adicionando Botões de Pré-visualização de PR com GitHub Actions +slug: /guides/github-action-pr-preview +description: Adicione automaticamente botões de pré-visualização do Playground aos pull requests do seu plugin ou tema WordPress. +--- + + + +A ação de Pré-visualização de PR do Playground adiciona um botão de pré-visualização aos seus pull requests. Clicar no botão inicia o Playground com seu plugin ou tema instalado a partir da branch do PR: + +![PR Preview Button](@site/static/img/try-it-in-playground.png) + + + +Para opções de configuração completas e recursos avançados, consulte o [README do workflow action-wp-playground-pr-preview](https://github.com/WordPress/action-wp-playground-pr-preview/tree/v2). + + + +## Como funciona + + + +A ação é executada em eventos de pull request (aberto, atualizado, editado). Ela pode atualizar a descrição do PR com um botão de pré-visualização ou postar o botão como um comentário. + + + +## Configuração básica para plugins + + + +Para plugins sem uma etapa de build, crie `.github/workflows/pr-preview.yml`: + +```yaml +name: PR Preview +on: + pull_request: + types: [opened, synchronize, reopened, edited] + +jobs: + preview: + runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: write + steps: + - name: Post Playground Preview Button + uses: WordPress/action-wp-playground-pr-preview@v2 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + mode: 'append-to-description' + plugin-path: . +``` + + + +A configuração `plugin-path: .` aponta para o diretório do seu plugin. Para subdiretórios como `plugins/my-plugin`, use `plugin-path: plugins/my-plugin`. + + + +Veja [adamziel/preview-in-playground-button-plugin-example](https://github.com/adamziel/preview-in-playground-button-plugin-example/pull/3) para um exemplo ao vivo deste workflow em ação. + + + +## Configuração básica para temas + + + +Para temas, use `theme-path` em vez de `plugin-path`: + +```yaml +name: PR Preview +on: + pull_request: + types: [opened, synchronize, reopened, edited] + +jobs: + preview: + runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: write + steps: + - name: Post Playground Preview Button + uses: WordPress/action-wp-playground-pr-preview@v2 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + theme-path: . +``` + + + +## Posicionamento do botão + + + +Por padrão, a ação atualiza a descrição do PR (`mode: append-to-description`). Para postar como um comentário: + +```yaml +with: + plugin-path: . + mode: comment + github-token: ${{ secrets.GITHUB_TOKEN }} +``` + + + +A ação envolve o botão em marcadores HTML e o atualiza em execuções subsequentes. Por padrão, ela restaura o botão se você o remover. Para evitar a restauração: + +```yaml +with: + plugin-path: . + restore-button-if-removed: false +``` + + + +## Trabalhando com artefatos compilados + + + +Para plugins ou temas que requerem compilação, o workflow envolve compilar o código, expô-lo através de releases do GitHub e criar um blueprint que referencia a URL pública. + + + +Exemplo de workflow (veja a [documentação completa](https://github.com/WordPress/action-wp-playground-pr-preview/tree/v2#advanced-testing-built-ci-artifacts)): + +```yaml +name: PR Preview with Build +on: + pull_request: + types: [opened, synchronize, reopened, edited] + +permissions: + contents: write + pull-requests: write + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Build + run: | + npm install + npm run build + zip -r plugin.zip dist/ + - uses: actions/upload-artifact@v4 + with: + name: built-plugin + path: plugin.zip + + expose-build: + needs: build + runs-on: ubuntu-latest + permissions: + contents: write + outputs: + artifact-url: ${{ steps.expose.outputs.artifact-url }} + steps: + - name: Expose built artifact + id: expose + uses: WordPress/action-wp-playground-pr-preview/.github/actions/expose-artifact-on-public-url@v2 + with: + artifact-name: 'built-plugin' + pr-number: ${{ github.event.pull_request.number }} + commit-sha: ${{ github.sha }} + artifacts-to-keep: '2' + + create-blueprint: + needs: expose-build + runs-on: ubuntu-latest + outputs: + blueprint: ${{ steps.blueprint.outputs.result }} + steps: + - uses: actions/github-script@v7 + id: blueprint + with: + script: | + const blueprint = { + steps: [{ + step: "installPlugin", + pluginZipFile: { + resource: "url", + url: "${{ needs.expose-build.outputs.artifact-url }}" + } + }] + }; + return JSON.stringify(blueprint); + result-encoding: string + + preview: + needs: create-blueprint + runs-on: ubuntu-latest + permissions: + pull-requests: write + steps: + - uses: WordPress/action-wp-playground-pr-preview@v2 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + blueprint: ${{ needs.create-blueprint.outputs.blueprint }} +``` + + + +A configuração `artifacts-to-keep` controla quantos builds manter por PR. Para temas, altere `installPlugin` para `installTheme`. + + + +Veja [adamziel/preview-in-playground-button-built-artifact-example](https://github.com/adamziel/preview-in-playground-button-built-artifact-example/pull/2) para um exemplo completo funcionando. + + + +## Blueprints personalizados + + + +Use blueprints para configurar o ambiente do Playground. Você pode instalar plugins adicionais, definir opções do WordPress, importar conteúdo ou executar PHP personalizado. + + + +Exemplo instalando seu plugin com WooCommerce: + +```yaml +jobs: + create-blueprint: + name: Create Blueprint + runs-on: ubuntu-latest + outputs: + blueprint: ${{ steps.blueprint.outputs.result }} + steps: + - name: Create Blueprint + id: blueprint + uses: actions/github-script@v7 + with: + script: | + const blueprint = { + steps: [ + { + step: "installPlugin", + pluginData: { + resource: "git:directory", + url: `https://github.com/${context.repo.owner}/${context.repo.repo}.git`, + ref: context.payload.pull_request.head.ref, + path: "/" + } + }, + { + step: "installPlugin", + pluginData: { + resource: "wordpress.org/plugins", + slug: "woocommerce" + } + } + ] + }; + return JSON.stringify(blueprint); + result-encoding: string + + preview: + needs: create-blueprint + runs-on: ubuntu-latest + permissions: + pull-requests: write + steps: + - uses: WordPress/action-wp-playground-pr-preview@v2 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + blueprint: ${{ needs.create-blueprint.outputs.blueprint }} +``` + + + +Ou referencie um blueprint externo: + +```yaml +with: + blueprint-url: https://example.com/path/to/blueprint.json +``` + + + +Consulte a [documentação de Blueprints](/blueprints) para todos os passos disponíveis e opções de configuração. + + + +## Personalização de template + + + +Personalize o conteúdo da pré-visualização usando variáveis de template: + +```yaml +with: + plugin-path: . + description-template: | + ### Test this PR in WordPress Playground + + {{PLAYGROUND_BUTTON}} + + **Branch:** {{PR_HEAD_REF}} +``` + + + +Variáveis disponíveis: `{{PLAYGROUND_BUTTON}}`, `{{PLUGIN_SLUG}}`, `{{THEME_SLUG}}`, `{{PR_NUMBER}}`, `{{PR_TITLE}}`, `{{PR_HEAD_REF}}`, e mais. + + + +Consulte o README do workflow para a [lista completa](https://github.com/WordPress/action-wp-playground-pr-preview/tree/v2#description-template). + + + +## Exposição de artefatos + + + +A ação `expose-artifact-on-public-url` faz upload de arquivos compilados para um único release (marcado como `ci-artifacts` por padrão). Cada artefato recebe um nome de arquivo único como `pr-123-abc1234.zip`. Artefatos antigos são automaticamente limpos com base em `artifacts-to-keep`. + + + +Opções de configuração: [Expose Artifact Inputs](https://github.com/WordPress/action-wp-playground-pr-preview/tree/v2#expose-artifact-inputs) + + + +## Solução de problemas + + + +**Botão não aparece:** O arquivo de workflow deve existir no branch padrão. Verifique a aba Actions para erros. + + + +**Pré-visualização falha ao carregar:** Verifique se o caminho aponta para um diretório válido de plugin/tema. Verifique os logs de build para artefatos. + + + +**Não ativado:** Verifique o console do navegador para erros de PHP. As dependências podem estar faltando. + + + +**Erros de permissão:** Defina permissões no nível do job. + + + +Mais informações: [README do workflow](https://github.com/WordPress/action-wp-playground-pr-preview/tree/v2) + + + +## Exemplos + + + +- [WordPress/blueprints](https://github.com/WordPress/blueprints/pull/155) - Pré-visualizações de blueprint +- [adamziel/preview-in-playground-button-plugin-example](https://github.com/adamziel/preview-in-playground-button-plugin-example/pull/3) - Plugin sem build +- [adamziel/preview-in-playground-button-built-artifact-example](https://github.com/adamziel/preview-in-playground-button-built-artifact-example/pull/2) - Plugin com build + + + +## Próximos passos + + + +- Adicionar conteúdo de demonstração ([guia](/guides/providing-content-for-your-demo)) +- Criar blueprints personalizados ([documentação](/blueprints)) +- Integrar com workflows de testes +- Personalizar templates para revisores From 915fbb14cf1896a4a9c9417df1954c88f4d85db0 Mon Sep 17 00:00:00 2001 From: Fellyph Cintra Date: Tue, 9 Dec 2025 08:42:29 -0300 Subject: [PATCH 4/9] Updating titles for portuguese guides --- .../current/main/guides/for-plugin-developers.md | 12 ++++++------ .../current/main/guides/for-theme-developers.md | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/docs/site/i18n/pt-BR/docusaurus-plugin-content-docs/current/main/guides/for-plugin-developers.md b/packages/docs/site/i18n/pt-BR/docusaurus-plugin-content-docs/current/main/guides/for-plugin-developers.md index b9424c0bfb..7b78ff78a0 100644 --- a/packages/docs/site/i18n/pt-BR/docusaurus-plugin-content-docs/current/main/guides/for-plugin-developers.md +++ b/packages/docs/site/i18n/pt-BR/docusaurus-plugin-content-docs/current/main/guides/for-plugin-developers.md @@ -1,5 +1,5 @@ --- -title: WordPress Playground for Plugin Developers +title: WordPress Playground para desenvolvedores de plugins slug: /guides/for-plugin-developers description: Um guia para desenvolvedores de plugins sobre como usar o Playground para construir, testar e criar demos de seus plugins. --- @@ -236,9 +236,9 @@ Some useful tools and resources provided by the Playground project to work with Algumas ferramentas e recursos úteis fornecidos pelo projeto Playground para trabalhar com blueprints são: -- Verifique a [Galeria de Blueprints](https://github.com/WordPress/blueprints/blob/trunk/GALLERY.md) para explorar exemplos de código reais de uso do WordPress Playground para iniciar um site WordPress com várias configurações. -- A ferramenta [Biblioteca de Passos do WordPress Playground](https://akirk.github.io/playground-step-library/#) fornece uma interface visual para arrastar ou clicar nos passos para criar um blueprint para o WordPress Playground. Você também pode criar seus próprios passos! -- A ferramenta [Construtor de Blueprints](https://playground.wordpress.net/builder/builder.html) permite editar seu blueprint online e executá-lo diretamente em uma instância do Playground. +- Verifique a [Galeria de Blueprints](https://github.com/WordPress/blueprints/blob/trunk/GALLERY.md) para explorar exemplos de código reais de uso do WordPress Playground para iniciar um site WordPress com várias configurações. +- A ferramenta [Biblioteca de Passos do WordPress Playground](https://akirk.github.io/playground-step-library/#) fornece uma interface visual para arrastar ou clicar nos passos para criar um blueprint para o WordPress Playground. Você também pode criar seus próprios passos! +- A ferramenta [Construtor de Blueprints](https://playground.wordpress.net/builder/builder.html) permite editar seu blueprint online e executá-lo diretamente em uma instância do Playground. ::: @@ -406,8 +406,8 @@ Com o Google Chrome, você pode sincronizar uma instância do Playground com o c - Create PRs in the GitHub repo with your changes --> -- Ver ao vivo (na instância do Playground) suas alterações locais -- Criar PRs no repo GitHub com suas alterações +- Ver ao vivo (na instância do Playground) suas alterações locais +- Criar PRs no repo GitHub com suas alterações -- [Demo](https://playground.wordpress.net/) -- [Repositorio de GitHub](https://github.com/WordPress/wordpress-playground) -- [Documentación](https://wordpress.github.io/wordpress-playground/) -- [Repositorio de herramientas de Playground](https://github.com/WordPress/playground-tools) +- [Demo](https://playground.wordpress.net/) +- [Repositorio de GitHub](https://github.com/WordPress/wordpress-playground) +- [Documentación](https://wordpress.github.io/wordpress-playground/) +- [Repositorio de herramientas de Playground](https://github.com/WordPress/playground-tools) -- [Demo oficial](https://playground.wordpress.net/) y la aplicación [showcase](https://developer.wordpress.org/playground) – instala un tema, prueba un plugin, crea algunas páginas, exporta lo que has construido -- [@wp-playground/cli](https://www.npmjs.com/package/@wp-playground/cli) – una herramienta CLI para entorno de desarrollo WordPress instantáneo -- [WordPress Playground para VS Code](https://marketplace.visualstudio.com/items?itemName=WordPressPlayground.wordpress-playground) -- Traducciones en vivo: [App](https://translate.wordpress.org/projects/wp-plugins/friends/dev/pl/default/playground/), [anuncio](https://make.wordpress.org/polyglots/2023/04/19/wp-translation-playground/), [más detalles](https://make.wordpress.org/polyglots/2023/05/08/translate-live-updates-to-the-translation-playground/) -- [Bloque de código interactivo](https://wordpress.org/plugins/interactive-code-block/) que potencia el [tutorial del Procesador de Etiquetas HTML](https://adamadam.blog/2023/02/16/how-to-modify-html-in-a-php-wordpress-plugin-using-the-new-tag-processor-api/) y el [tutorial de la API JS de Playground](https://wordpress.github.io/wordpress-playground/developers/apis/javascript-api/) -- [Previsualizador de Pull Request de Gutenberg](https://playground.wordpress.net/gutenberg.html) -- [Demo en vivo del plugin de notificaciones](https://johnhooks.io/playground-experiment/) -- [GraphQL REPL](https://www.wpgraphql.com/2023/06/15/announcing-the-wpgraphql-repl) -- [Blocknotes](https://twitter.com/adamzielin/status/1669478239771799552) – la primera aplicación iOS que ejecuta WordPress en tu teléfono -- [Incrustador de Playground](https://joost.blog/embedded-playground/) para incrustar ejemplos de Playground en la documentación de WordPress.org usando shortcodes -- [Demos de plugins en wp.org](https://gist.github.com/adamziel/0fe3ffc1fb5202a907a87d055ee37135) – un script de usuario que agrega una pestaña "demo" a las páginas de plugins en WordPress.org -- [Previsualizador de Pull Request de WordPress](https://playground.wordpress.net/wordpress.html) -- [Sincronización entre dos Playgrounds](https://playground.wordpress.net/demos/sync.html) -- [Viaje en el Tiempo](https://playground.wordpress.net/demos/time-traveling.html) -- [WP-CLI](https://playground.wordpress.net/demos/wp-cli.html) -- [Implementación PHP de Blueprints](https://playground.wordpress.net/demos/php-blueprints.html) +- [Demo oficial](https://playground.wordpress.net/) y la aplicación [showcase](https://developer.wordpress.org/playground) – instala un tema, prueba un plugin, crea algunas páginas, exporta lo que has construido +- [@wp-playground/cli](https://www.npmjs.com/package/@wp-playground/cli) – una herramienta CLI para entorno de desarrollo WordPress instantáneo +- [WordPress Playground para VS Code](https://marketplace.visualstudio.com/items?itemName=WordPressPlayground.wordpress-playground) +- Traducciones en vivo: [App](https://translate.wordpress.org/projects/wp-plugins/friends/dev/pl/default/playground/), [anuncio](https://make.wordpress.org/polyglots/2023/04/19/wp-translation-playground/), [más detalles](https://make.wordpress.org/polyglots/2023/05/08/translate-live-updates-to-the-translation-playground/) +- [Bloque de código interactivo](https://wordpress.org/plugins/interactive-code-block/) que potencia el [tutorial del Procesador de Etiquetas HTML](https://adamadam.blog/2023/02/16/how-to-modify-html-in-a-php-wordpress-plugin-using-the-new-tag-processor-api/) y el [tutorial de la API JS de Playground](https://wordpress.github.io/wordpress-playground/developers/apis/javascript-api/) +- [Previsualizador de Pull Request de Gutenberg](https://playground.wordpress.net/gutenberg.html) +- [Demo en vivo del plugin de notificaciones](https://johnhooks.io/playground-experiment/) +- [GraphQL REPL](https://www.wpgraphql.com/2023/06/15/announcing-the-wpgraphql-repl) +- [Blocknotes](https://twitter.com/adamzielin/status/1669478239771799552) – la primera aplicación iOS que ejecuta WordPress en tu teléfono +- [Incrustador de Playground](https://joost.blog/embedded-playground/) para incrustar ejemplos de Playground en la documentación de WordPress.org usando shortcodes +- [Demos de plugins en wp.org](https://gist.github.com/adamziel/0fe3ffc1fb5202a907a87d055ee37135) – un script de usuario que agrega una pestaña "demo" a las páginas de plugins en WordPress.org +- [Previsualizador de Pull Request de WordPress](https://playground.wordpress.net/wordpress.html) +- [Sincronización entre dos Playgrounds](https://playground.wordpress.net/demos/sync.html) +- [Viaje en el Tiempo](https://playground.wordpress.net/demos/time-traveling.html) +- [WP-CLI](https://playground.wordpress.net/demos/wp-cli.html) +- [Implementación PHP de Blueprints](https://playground.wordpress.net/demos/php-blueprints.html) -- [Construye experiencias WordPress en el navegador con WordPress Playground y WebAssembly](https://web.dev/wordpress-playground/) -- [WordPress Playground en developer.wordpress.org](https://developer.wordpress.org/playground) -- [Demos técnicos de WordPress en el navegador: Desarrollo WordPress con WordPress Playground](https://make.wordpress.org/core/2023/04/13/in-browser-wordpress-tech-demos-wordpress-development-with-wordpress-playground/) -- [Anuncio inicial en make.wordpress.org](https://make.wordpress.org/core/2022/09/23/client-side-webassembly-wordpress-with-no-server/) -- [Discusión en Hackernews](https://news.ycombinator.com/item?id=32960560) +- [Construye experiencias WordPress en el navegador con WordPress Playground y WebAssembly](https://web.dev/wordpress-playground/) +- [WordPress Playground en developer.wordpress.org](https://developer.wordpress.org/playground) +- [Demos técnicos de WordPress en el navegador: Desarrollo WordPress con WordPress Playground](https://make.wordpress.org/core/2023/04/13/in-browser-wordpress-tech-demos-wordpress-development-with-wordpress-playground/) +- [Anuncio inicial en make.wordpress.org](https://make.wordpress.org/core/2022/09/23/client-side-webassembly-wordpress-with-no-server/) +- [Discusión en Hackernews](https://news.ycombinator.com/item?id=32960560) -- Videos de Developer Hours: - - [Región Américas (23 de mayo, 2023)](https://wordpress.tv/2023/05/23/developer-hours-wordpress-playground-americas/) - - [Región APAC/EMEA (24 de mayo, 2023)](https://wordpress.tv/2023/05/24/developer-hours-wordpress-playground-apac-emea/) - - [Creando Blueprints de WordPress Playground para Pruebas y Demos (28 de mayo, 2024)](https://wordpress.tv/2024/05/28/developer-hours-creating-wordpress-playground-blueprints-for-testing-and-demos/) por Birgit Pauli-Haack & Nick Diego - - [Developer Hours: Todo lo que necesitas saber sobre WordPress Playground (17 de diciembre, 2024)](https://wordpress.tv/2024/12/17/developer-hours-everything-you-need-to-know-about-wordpress-playground/) por Nick Diego & Ryan Welcher -- [Playground en State of the Word](https://youtu.be/VeigCZuxnfY?t=2912) -- [Playground en WCEU 2023](https://www.youtube.com/watch?v=e-CwouzTGp4&t=26946s) -- [Ver "WordPress Playground: la herramienta definitiva de aprendizaje, prueba y enseñanza para WordPress"](https://www.youtube.com/watch?v=dN_LaenY8bI) por Anne McCarthy -- [WordPress Playground para desarrolladores](https://wordpress.tv/2024/12/16/wordpress-playground-for-developers/) por Berislav Grgicak y Jonathan Bossenger -- [Soporte de temas del editor de código de bloques de WordPress Playground](https://wordpress.tv/2024/10/05/wordpress-playground-block-code-editor-theme-support/) por Jonathan Bossenger -- [WordPress Playground – usa WordPress sin servidor en WCEU 2024](https://wordpress.tv/2024/07/03/wordpress-playground-use-wordpress-without-a-server/) por Adam Zielinski -- [Código, Prueba, Repite: Acelerando el Desarrollo con WordPress Playground en WordCamp Larissa 2024](https://wordpress.tv/2024/12/13/code-test-repeat-accelerating-development-with-wordpress-playground/) por Uros Tasic -- [Liberando datos con WordPress Playground en una Extensión de Navegador en WordCamp Netherlands 2024](https://wordpress.tv/2024/12/24/liberating-data-with-wordpress-playground-in-a-browser-extension/) por Alex Kirk -- [Más allá del Playground: WordPress como Constructor de Herramientas y Productos en WCUS 2024](https://wordpress.tv/2024/10/10/beyond-the-playground-wordpress-as-a-tool-and-product-builder/) por Dennis Snell -- [Crea una demo con Playground en WC Asia 2025](https://wordpress.tv/2025/04/30/create-a-demo-with-playground/) por Birgit Pauli-Haack -- [Diseccionando WordPress Playground en WordCamp Nepal 2025](https://wordpress.tv/2025/04/30/dissecting-wordpress-playground/) por Sakar Upadhyaya Khatiwada -- [Construyendo Pruebas Automatizadas con WordPress Playground en WCEU 2025](https://wordpress.tv/2025/06/07/building-automated-tests-with-wordpress-playground/) por Berislav Grgicak -- [De Cero a Demo: Dominando los Blueprints de WordPress Playground en WCEU 2025](https://wordpress.tv/2025/06/07/from-zero-to-demo-mastering-wordpress-playground-blueprints/) por Birgit Pauli-Haack -- [Playground en WordCamp Gliwice (en polaco)](https://www.youtube.com/watch?v=AUHklF9GdL8&list=PLiCne9CeL82_hGuJOAJlsc84WxVDSH-c9&index=4) por Adam Zielinski -- [WordPress Playground en WordCamp Wrocław 2024 (en polaco)](https://wordpress.tv/2024/12/02/wordpress-playground-przelom-w-wordpressie-2/) por Adam Zielinski -- [WordPress Playground en WordCamp Gdynia 2025 (en polaco)](https://wordpress.tv/2025/04/21/wordpress-playground/) por Magdalena Paciorek -- [Descubriendo Playground, la herramienta para hacer demos (en español)](https://wordpress.tv/2024/08/09/descubriendo-playground-la-herramienta-para-hacer-demos/) por Alex Cuadra -- [WordPress Playground: Instalación completa y funcional de WordPress (en español)](https://wordpress.tv/2024/02/07/wordpress-playground-instalacion-completa-y-funcional-de-wordpress/) por Fernando García Rebolledo -- [Playground: Un WordPress de usar y tirar dentro de tu navegador en WordCamp Madrid 2025 (en español)](https://wordpress.tv/2025/03/09/playground-un-wordpress-de-usar-y-tirar-dentro-de-tu-navegador/) por Álvaro Gómez Velasco -- [¡Usa WordPress solo con un navegador! Tutorial de WordPress Playground: Uso básico de Playground (en japonés)](https://www.youtube.com/watch?v=6s_B0WvJauU) por Shimomura Tomoki -- [WordPress Playground: Cómo usar Blueprints](https://www.youtube.com/watch?v=Vcao6uXguWg) por Shimomura Tomoki -- [Desarrollo Simplificado de Temas de Bloques: Usando WordPress Playground y GitHub para Control de Versiones Sin Código de Cambios del Editor de Sitios](https://wordpress.tv/2025/09/30/streamlined-block-theme-development-using-wordpress-playground-and-github-for-no-code-version-contr/) por Birgit Pauli-Haack -- [Playground, la mejor herramienta jamás inventada para enseñar WordPress (en español)](https://wordpress.tv/2025/10/05/playground-la-mejor-herramienta-jamas-inventada-para-ensenar-wordpress/) por Nilo Vélez -- [Probando Más Rápido que un Pit Stop de Red Bull: WordPress Playground y Blueprints de WooCommerce](https://wordpress.tv/2025/09/30/testing-faster-than-a-red-bull-pit-stop-wordpress-playground-and-woocommerce-blueprints/) por Daniel Dudzic +- Videos de Developer Hours: + - [Región Américas (23 de mayo, 2023)](https://wordpress.tv/2023/05/23/developer-hours-wordpress-playground-americas/) + - [Región APAC/EMEA (24 de mayo, 2023)](https://wordpress.tv/2023/05/24/developer-hours-wordpress-playground-apac-emea/) + - [Creando Blueprints de WordPress Playground para Pruebas y Demos (28 de mayo, 2024)](https://wordpress.tv/2024/05/28/developer-hours-creating-wordpress-playground-blueprints-for-testing-and-demos/) por Birgit Pauli-Haack & Nick Diego + - [Developer Hours: Todo lo que necesitas saber sobre WordPress Playground (17 de diciembre, 2024)](https://wordpress.tv/2024/12/17/developer-hours-everything-you-need-to-know-about-wordpress-playground/) por Nick Diego & Ryan Welcher +- [Playground en State of the Word](https://youtu.be/VeigCZuxnfY?t=2912) +- [Playground en WCEU 2023](https://www.youtube.com/watch?v=e-CwouzTGp4&t=26946s) +- [Ver "WordPress Playground: la herramienta definitiva de aprendizaje, prueba y enseñanza para WordPress"](https://www.youtube.com/watch?v=dN_LaenY8bI) por Anne McCarthy +- [WordPress Playground para desarrolladores](https://wordpress.tv/2024/12/16/wordpress-playground-for-developers/) por Berislav Grgicak y Jonathan Bossenger +- [Soporte de temas del editor de código de bloques de WordPress Playground](https://wordpress.tv/2024/10/05/wordpress-playground-block-code-editor-theme-support/) por Jonathan Bossenger +- [WordPress Playground – usa WordPress sin servidor en WCEU 2024](https://wordpress.tv/2024/07/03/wordpress-playground-use-wordpress-without-a-server/) por Adam Zielinski +- [Código, Prueba, Repite: Acelerando el Desarrollo con WordPress Playground en WordCamp Larissa 2024](https://wordpress.tv/2024/12/13/code-test-repeat-accelerating-development-with-wordpress-playground/) por Uros Tasic +- [Liberando datos con WordPress Playground en una Extensión de Navegador en WordCamp Netherlands 2024](https://wordpress.tv/2024/12/24/liberating-data-with-wordpress-playground-in-a-browser-extension/) por Alex Kirk +- [Más allá del Playground: WordPress como Constructor de Herramientas y Productos en WCUS 2024](https://wordpress.tv/2024/10/10/beyond-the-playground-wordpress-as-a-tool-and-product-builder/) por Dennis Snell +- [Crea una demo con Playground en WC Asia 2025](https://wordpress.tv/2025/04/30/create-a-demo-with-playground/) por Birgit Pauli-Haack +- [Diseccionando WordPress Playground en WordCamp Nepal 2025](https://wordpress.tv/2025/04/30/dissecting-wordpress-playground/) por Sakar Upadhyaya Khatiwada +- [Construyendo Pruebas Automatizadas con WordPress Playground en WCEU 2025](https://wordpress.tv/2025/06/07/building-automated-tests-with-wordpress-playground/) por Berislav Grgicak +- [De Cero a Demo: Dominando los Blueprints de WordPress Playground en WCEU 2025](https://wordpress.tv/2025/06/07/from-zero-to-demo-mastering-wordpress-playground-blueprints/) por Birgit Pauli-Haack +- [Playground en WordCamp Gliwice (en polaco)](https://www.youtube.com/watch?v=AUHklF9GdL8&list=PLiCne9CeL82_hGuJOAJlsc84WxVDSH-c9&index=4) por Adam Zielinski +- [WordPress Playground en WordCamp Wrocław 2024 (en polaco)](https://wordpress.tv/2024/12/02/wordpress-playground-przelom-w-wordpressie-2/) por Adam Zielinski +- [WordPress Playground en WordCamp Gdynia 2025 (en polaco)](https://wordpress.tv/2025/04/21/wordpress-playground/) por Magdalena Paciorek +- [Descubriendo Playground, la herramienta para hacer demos (en español)](https://wordpress.tv/2024/08/09/descubriendo-playground-la-herramienta-para-hacer-demos/) por Alex Cuadra +- [WordPress Playground: Instalación completa y funcional de WordPress (en español)](https://wordpress.tv/2024/02/07/wordpress-playground-instalacion-completa-y-funcional-de-wordpress/) por Fernando García Rebolledo +- [Playground: Un WordPress de usar y tirar dentro de tu navegador en WordCamp Madrid 2025 (en español)](https://wordpress.tv/2025/03/09/playground-un-wordpress-de-usar-y-tirar-dentro-de-tu-navegador/) por Álvaro Gómez Velasco +- [¡Usa WordPress solo con un navegador! Tutorial de WordPress Playground: Uso básico de Playground (en japonés)](https://www.youtube.com/watch?v=6s_B0WvJauU) por Shimomura Tomoki +- [WordPress Playground: Cómo usar Blueprints](https://www.youtube.com/watch?v=Vcao6uXguWg) por Shimomura Tomoki +- [Desarrollo Simplificado de Temas de Bloques: Usando WordPress Playground y GitHub para Control de Versiones Sin Código de Cambios del Editor de Sitios](https://wordpress.tv/2025/09/30/streamlined-block-theme-development-using-wordpress-playground-and-github-for-no-code-version-contr/) por Birgit Pauli-Haack +- [Playground, la mejor herramienta jamás inventada para enseñar WordPress (en español)](https://wordpress.tv/2025/10/05/playground-la-mejor-herramienta-jamas-inventada-para-ensenar-wordpress/) por Nilo Vélez +- [Probando Más Rápido que un Pit Stop de Red Bull: WordPress Playground y Blueprints de WooCommerce](https://wordpress.tv/2025/09/30/testing-faster-than-a-red-bull-pit-stop-wordpress-playground-and-woocommerce-blueprints/) por Daniel Dudzic -- [¿WordPress Playground es solo para desarrolladores?](https://wordpress.tv/2025/10/25/is-wordpress-playground-only-for-developers/) por Fellyph Cintra -- [Cómo probar la próxima versión de WordPress con WordPress Playground](https://wordpress.tv/2025/11/13/how-to-test-the-next-wordpress-release-with-wordpress-playground/) por Fellyph Cintra -- [Ejecutando WordPress directamente desde el código JavaScript con runCLI](https://wordpress.tv/2025/10/22/running-wordpress-directly-from-the-javascript-code-with-runcli/) por Fellyph Cintra +- [¿WordPress Playground es solo para desarrolladores?](https://wordpress.tv/2025/10/25/is-wordpress-playground-only-for-developers/) por Fellyph Cintra +- [Cómo probar la próxima versión de WordPress con WordPress Playground](https://wordpress.tv/2025/11/13/how-to-test-the-next-wordpress-release-with-wordpress-playground/) por Fellyph Cintra +- [Ejecutando WordPress directamente desde el código JavaScript con runCLI](https://wordpress.tv/2025/10/22/running-wordpress-directly-from-the-javascript-code-with-runcli/) por Fellyph Cintra +- [WordPress Playground: El Camino hacia la Automatización de Pruebas](https://wordpress.tv/2025/11/24/wordpress-playground-the-path-to-test-automation/) por Fellyph Cintra From 8944009f4038318213572cc140ada3bcb5e0bc1f Mon Sep 17 00:00:00 2001 From: Fellyph Cintra Date: Tue, 9 Dec 2025 09:54:08 -0300 Subject: [PATCH 7/9] updating french translation --- .../current/main/resources.md | 116 +++++++++--------- 1 file changed, 59 insertions(+), 57 deletions(-) diff --git a/packages/docs/site/i18n/fr/docusaurus-plugin-content-docs/current/main/resources.md b/packages/docs/site/i18n/fr/docusaurus-plugin-content-docs/current/main/resources.md index f4597149e9..1a0393d8e2 100644 --- a/packages/docs/site/i18n/fr/docusaurus-plugin-content-docs/current/main/resources.md +++ b/packages/docs/site/i18n/fr/docusaurus-plugin-content-docs/current/main/resources.md @@ -41,10 +41,10 @@ Un ensemble de redirections est en place pour faciliter l'accès à certains out - [Playground tools Repository](https://github.com/WordPress/playground-tools) --> -- [Démo](https://playground.wordpress.net/) -- [Dépôt GitHub](https://github.com/WordPress/wordpress-playground) -- [Documentation](https://wordpress.github.io/wordpress-playground/) -- [Dépôt des outils Playground](https://github.com/WordPress/playground-tools) +- [Démo](https://playground.wordpress.net/) +- [Dépôt GitHub](https://github.com/WordPress/wordpress-playground) +- [Documentation](https://wordpress.github.io/wordpress-playground/) +- [Dépôt des outils Playground](https://github.com/WordPress/playground-tools) -- [Démo officielle](https://playground.wordpress.net/) et l'application [vitrine](https://developer.wordpress.org/playground) – installez un thème, essayez une extension, créez quelques pages, exportez ce que vous avez construit -- [@wp-playground/cli](https://www.npmjs.com/package/@wp-playground/cli) – un outil CLI pour un environnement de développement WordPress instantané -- [WordPress Playground pour VS Code](https://marketplace.visualstudio.com/items?itemName=WordPressPlayground.wordpress-playground) -- Traductions en direct : [Application](https://translate.wordpress.org/projects/wp-plugins/friends/dev/pl/default/playground/), [annonce](https://make.wordpress.org/polyglots/2023/04/19/wp-translation-playground/), [plus de détails](https://make.wordpress.org/polyglots/2023/05/08/translate-live-updates-to-the-translation-playground/) -- [Bloc de code interactif](https://wordpress.org/plugins/interactive-code-block/) qui alimente le [tutoriel HTML Tag Processor](https://adamadam.blog/2023/02/16/how-to-modify-html-in-a-php-wordpress-plugin-using-the-new-tag-processor-api/) et le [tutoriel API JS de Playground](https://wordpress.github.io/wordpress-playground/developers/apis/javascript-api/) -- [Visualiseur de Pull Request Gutenberg](https://playground.wordpress.net/gutenberg.html) -- [Démo en direct de l'extension Notifications](https://johnhooks.io/playground-experiment/) -- [GraphQL REPL](https://www.wpgraphql.com/2023/06/15/announcing-the-wpgraphql-repl) -- [Blocknotes](https://twitter.com/adamzielin/status/1669478239771799552) – la toute première application iOS exécutant WordPress sur votre téléphone -- [Intégrateur Playground](https://joost.blog/embedded-playground/) pour intégrer des exemples Playground dans la documentation WordPress.org à l'aide de shortcodes -- [Démos d'extensions sur wp.org](https://gist.github.com/adamziel/0fe3ffc1fb5202a907a87d055ee37135) – un script utilisateur qui ajoute un onglet « démo » aux pages d'extensions sur WordPress.org -- [Visualiseur de Pull Request WordPress](https://playground.wordpress.net/wordpress.html) -- [Synchronisation entre deux Playgrounds](https://playground.wordpress.net/demos/sync.html) -- [Voyage dans le temps](https://playground.wordpress.net/demos/time-traveling.html) -- [WP-CLI](https://playground.wordpress.net/demos/wp-cli.html) -- [Implémentation PHP des Blueprints](https://playground.wordpress.net/demos/php-blueprints.html) +- [Démo officielle](https://playground.wordpress.net/) et l'application [vitrine](https://developer.wordpress.org/playground) – installez un thème, essayez une extension, créez quelques pages, exportez ce que vous avez construit +- [@wp-playground/cli](https://www.npmjs.com/package/@wp-playground/cli) – un outil CLI pour un environnement de développement WordPress instantané +- [WordPress Playground pour VS Code](https://marketplace.visualstudio.com/items?itemName=WordPressPlayground.wordpress-playground) +- Traductions en direct : [Application](https://translate.wordpress.org/projects/wp-plugins/friends/dev/pl/default/playground/), [annonce](https://make.wordpress.org/polyglots/2023/04/19/wp-translation-playground/), [plus de détails](https://make.wordpress.org/polyglots/2023/05/08/translate-live-updates-to-the-translation-playground/) +- [Bloc de code interactif](https://wordpress.org/plugins/interactive-code-block/) qui alimente le [tutoriel HTML Tag Processor](https://adamadam.blog/2023/02/16/how-to-modify-html-in-a-php-wordpress-plugin-using-the-new-tag-processor-api/) et le [tutoriel API JS de Playground](https://wordpress.github.io/wordpress-playground/developers/apis/javascript-api/) +- [Visualiseur de Pull Request Gutenberg](https://playground.wordpress.net/gutenberg.html) +- [Démo en direct de l'extension Notifications](https://johnhooks.io/playground-experiment/) +- [GraphQL REPL](https://www.wpgraphql.com/2023/06/15/announcing-the-wpgraphql-repl) +- [Blocknotes](https://twitter.com/adamzielin/status/1669478239771799552) – la toute première application iOS exécutant WordPress sur votre téléphone +- [Intégrateur Playground](https://joost.blog/embedded-playground/) pour intégrer des exemples Playground dans la documentation WordPress.org à l'aide de shortcodes +- [Démos d'extensions sur wp.org](https://gist.github.com/adamziel/0fe3ffc1fb5202a907a87d055ee37135) – un script utilisateur qui ajoute un onglet « démo » aux pages d'extensions sur WordPress.org +- [Visualiseur de Pull Request WordPress](https://playground.wordpress.net/wordpress.html) +- [Synchronisation entre deux Playgrounds](https://playground.wordpress.net/demos/sync.html) +- [Voyage dans le temps](https://playground.wordpress.net/demos/time-traveling.html) +- [WP-CLI](https://playground.wordpress.net/demos/wp-cli.html) +- [Implémentation PHP des Blueprints](https://playground.wordpress.net/demos/php-blueprints.html) -- [Créer des expériences WordPress dans le navigateur avec WordPress Playground et WebAssembly (en anglais)](https://web.dev/wordpress-playground/) -- [WordPress Playground sur developer.wordpress.org (en anglais)](https://developer.wordpress.org/playground) -- [Démos techniques WordPress dans le navigateur : développement WordPress avec WordPress Playground (en anglais)](https://make.wordpress.org/core/2023/04/13/in-browser-wordpress-tech-demos-wordpress-development-with-wordpress-playground/) -- [Annonce initiale sur make.wordpress.org (en anglais)](https://make.wordpress.org/core/2022/09/23/client-side-webassembly-wordpress-with-no-server/) -- [Discussion Hackernews (en anglais)](https://news.ycombinator.com/item?id=32960560) +- [Créer des expériences WordPress dans le navigateur avec WordPress Playground et WebAssembly (en anglais)](https://web.dev/wordpress-playground/) +- [WordPress Playground sur developer.wordpress.org (en anglais)](https://developer.wordpress.org/playground) +- [Démos techniques WordPress dans le navigateur : développement WordPress avec WordPress Playground (en anglais)](https://make.wordpress.org/core/2023/04/13/in-browser-wordpress-tech-demos-wordpress-development-with-wordpress-playground/) +- [Annonce initiale sur make.wordpress.org (en anglais)](https://make.wordpress.org/core/2022/09/23/client-side-webassembly-wordpress-with-no-server/) +- [Discussion Hackernews (en anglais)](https://news.ycombinator.com/item?id=32960560) -- Vidéos Developer Hours : - - [Région Amériques (23 mai 2023) (en anglais)](https://wordpress.tv/2023/05/23/developer-hours-wordpress-playground-americas/) - - [Région APAC/EMEA (24 mai 2023) (en anglais)](https://wordpress.tv/2023/05/24/developer-hours-wordpress-playground-apac-emea/) - - [Création de Blueprints WordPress Playground pour les tests et démos (28 mai 2024) (en anglais)](https://wordpress.tv/2024/05/28/developer-hours-creating-wordpress-playground-blueprints-for-testing-and-demos/) par Birgit Pauli-Haack & Nick Diego - - [Developer Hours : Tout ce que vous devez savoir sur WordPress Playground (17 décembre 2024) (en anglais)](https://wordpress.tv/2024/12/17/developer-hours-everything-you-need-to-know-about-wordpress-playground/) par Nick Diego & Ryan Welcher -- [Playground au State of the Word (en anglais)](https://youtu.be/VeigCZuxnfY?t=2912) -- [Playground au WCEU 2023 (en anglais)](https://www.youtube.com/watch?v=e-CwouzTGp4&t=26946s) -- [Regarder « WordPress Playground : l'outil ultime d'apprentissage, de test et d'enseignement pour WordPress » (en anglais)](https://www.youtube.com/watch?v=dN_LaenY8bI) par Anne McCarthy -- [WordPress Playground pour les développeurs (en anglais)](https://wordpress.tv/2024/12/16/wordpress-playground-for-developers/) par Berislav Grgicak et Jonathan Bossenger -- [Support des thèmes de l'éditeur de code du bloc WordPress Playground (en anglais)](https://wordpress.tv/2024/10/05/wordpress-playground-block-code-editor-theme-support/) par Jonathan Bossenger -- [WordPress Playground – utiliser WordPress sans serveur au WCEU 2024 (en anglais)](https://wordpress.tv/2024/07/03/wordpress-playground-use-wordpress-without-a-server/) par Adam Zielinski -- [Coder, Tester, Répéter : Accélérer le développement avec WordPress Playground au WordCamp Larissa 2024 (en anglais)](https://wordpress.tv/2024/12/13/code-test-repeat-accelerating-development-with-wordpress-playground/) par Uros Tasic -- [Libérer les données avec WordPress Playground dans une extension de navigateur au WordCamp Pays-Bas 2024 (en anglais)](https://wordpress.tv/2024/12/24/liberating-data-with-wordpress-playground-in-a-browser-extension/) par Alex Kirk -- [Au-delà de Playground : WordPress comme outil et créateur de produits au WCUS 2024 (en anglais)](https://wordpress.tv/2024/10/10/beyond-the-playground-wordpress-as-a-tool-and-product-builder/) par Dennis Snell -- [Créer une démo avec Playground au WC Asia 2025 (en anglais)](https://wordpress.tv/2025/04/30/create-a-demo-with-playground/) par Birgit Pauli-Haack -- [Disséquer WordPress Playground au WordCamp Népal 2025 (en anglais)](https://wordpress.tv/2025/04/30/dissecting-wordpress-playground/) par Sakar Upadhyaya Khatiwada -- [Créer des tests automatisés avec WordPress Playground au WCEU 2025 (en anglais)](https://wordpress.tv/2025/06/07/building-automated-tests-with-wordpress-playground/) par Berislav Grgicak -- [De zéro à la démo : Maîtriser les Blueprints WordPress Playground au WCEU 2025 (en anglais)](https://wordpress.tv/2025/06/07/from-zero-to-demo-mastering-wordpress-playground-blueprints/) par Birgit Pauli-Haack -- [Playground au WordCamp Gliwice (en polonais)](https://www.youtube.com/watch?v=AUHklF9GdL8&list=PLiCne9CeL82_hGuJOAJlsc84WxVDSH-c9&index=4) par Adam Zielinski -- [WordPress Playground au WordCamp Wrocław 2024 (en polonais)](https://wordpress.tv/2024/12/02/wordpress-playground-przelom-w-wordpressie-2/) par Adam Zielinski -- [WordPress Playground au WordCamp Gdynia 2025 (en polonais)](https://wordpress.tv/2025/04/21/wordpress-playground/) par Magdalena Paciorek -- [Découvrir Playground, l'outil de démo (en espagnol)](https://wordpress.tv/2024/08/09/descubriendo-playground-la-herramienta-para-hacer-demos/) par Alex Cuadra -- [WordPress Playground : Installation complète et fonctionnelle de WordPress (en espagnol)](https://wordpress.tv/2024/02/07/wordpress-playground-instalacion-completa-y-funcional-de-wordpress/) par Fernando García Rebolledo -- [Playground : Un WordPress jetable dans votre navigateur au WordCamp Madrid 2025 (en espagnol)](https://wordpress.tv/2025/03/09/playground-un-wordpress-de-usar-y-tirar-dentro-de-tu-navegador/) par Álvaro Gómez Velasco -- [Utilisez WordPress avec juste un navigateur ! Tutoriel WordPress Playground : Utilisation de base de Playground (en japonais)](https://www.youtube.com/watch?v=6s_B0WvJauU) par Shimomura Tomoki -- [WordPress Playground : Comment utiliser les Blueprints (en japonais)](https://www.youtube.com/watch?v=Vcao6uXguWg) par Shimomura Tomoki -- [Développement rationalisé de thèmes de blocs : Utiliser WordPress Playground et GitHub pour le contrôle de version sans code des modifications de l'éditeur de site (en anglais)](https://wordpress.tv/2025/09/30/streamlined-block-theme-development-using-wordpress-playground-and-github-for-no-code-version-contr/) par Birgit Pauli-Haack -- [Playground, le meilleur outil jamais inventé pour enseigner WordPress (en espagnol)](https://wordpress.tv/2025/10/05/playground-la-mejor-herramienta-jamas-inventada-para-ensenar-wordpress/) par Nilo Vélez -- [Tester plus vite qu'un arrêt au stand de Red Bull : WordPress Playground et Blueprints WooCommerce (en anglais)](https://wordpress.tv/2025/09/30/testing-faster-than-a-red-bull-pit-stop-wordpress-playground-and-woocommerce-blueprints/) par Daniel Dudzic -- [WordPress Playground est-il uniquement pour les développeurs ? (en anglais)](https://wordpress.tv/2025/10/25/is-wordpress-playground-only-for-developers/) par Fellyph Cintra -- [Comment tester la prochaine version de WordPress avec WordPress Playground (en anglais)](https://wordpress.tv/2025/11/13/how-to-test-the-next-wordpress-release-with-wordpress-playground/) par Fellyph Cintra -- [Exécuter WordPress directement depuis le code JavaScript avec runCLI (en anglais)](https://wordpress.tv/2025/10/22/running-wordpress-directly-from-the-javascript-code-with-runcli/) par Fellyph Cintra +- Vidéos Developer Hours : + - [Région Amériques (23 mai 2023) (en anglais)](https://wordpress.tv/2023/05/23/developer-hours-wordpress-playground-americas/) + - [Région APAC/EMEA (24 mai 2023) (en anglais)](https://wordpress.tv/2023/05/24/developer-hours-wordpress-playground-apac-emea/) + - [Création de Blueprints WordPress Playground pour les tests et démos (28 mai 2024) (en anglais)](https://wordpress.tv/2024/05/28/developer-hours-creating-wordpress-playground-blueprints-for-testing-and-demos/) par Birgit Pauli-Haack & Nick Diego + - [Developer Hours : Tout ce que vous devez savoir sur WordPress Playground (17 décembre 2024) (en anglais)](https://wordpress.tv/2024/12/17/developer-hours-everything-you-need-to-know-about-wordpress-playground/) par Nick Diego & Ryan Welcher +- [Playground au State of the Word (en anglais)](https://youtu.be/VeigCZuxnfY?t=2912) +- [Playground au WCEU 2023 (en anglais)](https://www.youtube.com/watch?v=e-CwouzTGp4&t=26946s) +- [Regarder « WordPress Playground : l'outil ultime d'apprentissage, de test et d'enseignement pour WordPress » (en anglais)](https://www.youtube.com/watch?v=dN_LaenY8bI) par Anne McCarthy +- [WordPress Playground pour les développeurs (en anglais)](https://wordpress.tv/2024/12/16/wordpress-playground-for-developers/) par Berislav Grgicak et Jonathan Bossenger +- [Support des thèmes de l'éditeur de code du bloc WordPress Playground (en anglais)](https://wordpress.tv/2024/10/05/wordpress-playground-block-code-editor-theme-support/) par Jonathan Bossenger +- [WordPress Playground – utiliser WordPress sans serveur au WCEU 2024 (en anglais)](https://wordpress.tv/2024/07/03/wordpress-playground-use-wordpress-without-a-server/) par Adam Zielinski +- [Coder, Tester, Répéter : Accélérer le développement avec WordPress Playground au WordCamp Larissa 2024 (en anglais)](https://wordpress.tv/2024/12/13/code-test-repeat-accelerating-development-with-wordpress-playground/) par Uros Tasic +- [Libérer les données avec WordPress Playground dans une extension de navigateur au WordCamp Pays-Bas 2024 (en anglais)](https://wordpress.tv/2024/12/24/liberating-data-with-wordpress-playground-in-a-browser-extension/) par Alex Kirk +- [Au-delà de Playground : WordPress comme outil et créateur de produits au WCUS 2024 (en anglais)](https://wordpress.tv/2024/10/10/beyond-the-playground-wordpress-as-a-tool-and-product-builder/) par Dennis Snell +- [Créer une démo avec Playground au WC Asia 2025 (en anglais)](https://wordpress.tv/2025/04/30/create-a-demo-with-playground/) par Birgit Pauli-Haack +- [Disséquer WordPress Playground au WordCamp Népal 2025 (en anglais)](https://wordpress.tv/2025/04/30/dissecting-wordpress-playground/) par Sakar Upadhyaya Khatiwada +- [Créer des tests automatisés avec WordPress Playground au WCEU 2025 (en anglais)](https://wordpress.tv/2025/06/07/building-automated-tests-with-wordpress-playground/) par Berislav Grgicak +- [De zéro à la démo : Maîtriser les Blueprints WordPress Playground au WCEU 2025 (en anglais)](https://wordpress.tv/2025/06/07/from-zero-to-demo-mastering-wordpress-playground-blueprints/) par Birgit Pauli-Haack +- [Playground au WordCamp Gliwice (en polonais)](https://www.youtube.com/watch?v=AUHklF9GdL8&list=PLiCne9CeL82_hGuJOAJlsc84WxVDSH-c9&index=4) par Adam Zielinski +- [WordPress Playground au WordCamp Wrocław 2024 (en polonais)](https://wordpress.tv/2024/12/02/wordpress-playground-przelom-w-wordpressie-2/) par Adam Zielinski +- [WordPress Playground au WordCamp Gdynia 2025 (en polonais)](https://wordpress.tv/2025/04/21/wordpress-playground/) par Magdalena Paciorek +- [Découvrir Playground, l'outil de démo (en espagnol)](https://wordpress.tv/2024/08/09/descubriendo-playground-la-herramienta-para-hacer-demos/) par Alex Cuadra +- [WordPress Playground : Installation complète et fonctionnelle de WordPress (en espagnol)](https://wordpress.tv/2024/02/07/wordpress-playground-instalacion-completa-y-funcional-de-wordpress/) par Fernando García Rebolledo +- [Playground : Un WordPress jetable dans votre navigateur au WordCamp Madrid 2025 (en espagnol)](https://wordpress.tv/2025/03/09/playground-un-wordpress-de-usar-y-tirar-dentro-de-tu-navegador/) par Álvaro Gómez Velasco +- [Utilisez WordPress avec juste un navigateur ! Tutoriel WordPress Playground : Utilisation de base de Playground (en japonais)](https://www.youtube.com/watch?v=6s_B0WvJauU) par Shimomura Tomoki +- [WordPress Playground : Comment utiliser les Blueprints (en japonais)](https://www.youtube.com/watch?v=Vcao6uXguWg) par Shimomura Tomoki +- [Développement rationalisé de thèmes de blocs : Utiliser WordPress Playground et GitHub pour le contrôle de version sans code des modifications de l'éditeur de site (en anglais)](https://wordpress.tv/2025/09/30/streamlined-block-theme-development-using-wordpress-playground-and-github-for-no-code-version-contr/) par Birgit Pauli-Haack +- [Playground, le meilleur outil jamais inventé pour enseigner WordPress (en espagnol)](https://wordpress.tv/2025/10/05/playground-la-mejor-herramienta-jamas-inventada-para-ensenar-wordpress/) par Nilo Vélez +- [Tester plus vite qu'un arrêt au stand de Red Bull : WordPress Playground et Blueprints WooCommerce (en anglais)](https://wordpress.tv/2025/09/30/testing-faster-than-a-red-bull-pit-stop-wordpress-playground-and-woocommerce-blueprints/) par Daniel Dudzic +- [WordPress Playground est-il uniquement pour les développeurs ? (en anglais)](https://wordpress.tv/2025/10/25/is-wordpress-playground-only-for-developers/) par Fellyph Cintra +- [Comment tester la prochaine version de WordPress avec WordPress Playground (en anglais)](https://wordpress.tv/2025/11/13/how-to-test-the-next-wordpress-release-with-wordpress-playground/) par Fellyph Cintra +- [Exécuter WordPress directement depuis le code JavaScript avec runCLI (en anglais)](https://wordpress.tv/2025/10/22/running-wordpress-directly-from-the-javascript-code-with-runcli/) par Fellyph Cintra +- [WordPress Playground : Le chemin vers l'automatisation des tests (en anglais)](https://wordpress.tv/2025/11/24/wordpress-playground-the-path-to-test-automation/) par Fellyph Cintra From c42c45552a31bd8657cb153e32ca7721db9e29a1 Mon Sep 17 00:00:00 2001 From: Fellyph Cintra Date: Tue, 9 Dec 2025 12:25:58 -0300 Subject: [PATCH 8/9] adding japanese translation --- .../current/main/resources.md | 132 ++++++++++-------- 1 file changed, 76 insertions(+), 56 deletions(-) diff --git a/packages/docs/site/i18n/ja/docusaurus-plugin-content-docs/current/main/resources.md b/packages/docs/site/i18n/ja/docusaurus-plugin-content-docs/current/main/resources.md index df604d34ed..ebaf5f78b2 100644 --- a/packages/docs/site/i18n/ja/docusaurus-plugin-content-docs/current/main/resources.md +++ b/packages/docs/site/i18n/ja/docusaurus-plugin-content-docs/current/main/resources.md @@ -10,12 +10,24 @@ description: WordPress Playground について詳しく知るためのアプリ # Links and Resources --> + +:::tip + Playground に関連するいくつかのツールへのアクセスを容易にするために、一連のリダイレクトが用意されています。
    @@ -41,10 +53,10 @@ Playground に関連するいくつかのツールへのアクセスを容易に - [Playground tools Repository](https://github.com/WordPress/playground-tools) --> -- [Demo](https://playground.wordpress.net/) -- [GitHub Repository](https://github.com/WordPress/wordpress-playground) -- [Documentation](https://wordpress.github.io/wordpress-playground/) -- [Playground tools Repository](https://github.com/WordPress/playground-tools) +- [Demo](https://playground.wordpress.net/) +- [GitHub Repository](https://github.com/WordPress/wordpress-playground) +- [Documentation](https://wordpress.github.io/wordpress-playground/) +- [Playground tools Repository](https://github.com/WordPress/playground-tools) -- [公式デモ](https://playground.wordpress.net/)と[ショーケース](https://developer.wordpress.org/playground)アプリ – テーマをインストールし、プラグインを試し、いくつかのページを作成し、構築したものをエクスポートします -- [@wp-playground/cli](https://www.npmjs.com/package/@wp-playground/cli) – すぐに WordPress 開発環境を構築できる CLI ツール -- [WordPress Playground for VS Code](https://marketplace.visualstudio.com/items?itemName=WordPressPlayground.wordpress-playground) -- ライブ翻訳: [アプリ](https://translate.wordpress.org/projects/wp-plugins/friends/dev/pl/default/playground/), [アナウンス](https://make.wordpress.org/polyglots/2023/04/19/wp-translation-playground/), [詳細](https://make.wordpress.org/polyglots/2023/05/08/translate-live-updates-to-the-translation-playground/) -- [HTML タグ プロセッサ チュートリアル](https://adamadam.blog/2023/02/16/how-to-modify-html-in-a-php-wordpress-plugin-using-the-new-tag-processor-api/)と[Playground JS API チュートリアル](https://wordpress.github.io/wordpress-playground/developers/apis/javascript-api/)を支える[インタラクティブ コード ブロック](https://wordpress.org/plugins/interactive-code-block/) -- [Gutenberg Pull Request プレビューアー](https://playground.wordpress.net/gutenberg.html) -- [Notifications プラグインライブデモ](https://johnhooks.io/playground-experiment/) -- [GraphQL REPL](https://www.wpgraphql.com/2023/06/15/announcing-the-wpgraphql-repl) -- [Blocknotes](https://twitter.com/adamzielin/status/1669478239771799552) – スマートフォンで WordPress を実行する初の iOS アプリ -- [Playground embedder](https://joost.blog/embedded-playground/) – ショートコードを使用して WordPress.org のドキュメントに Playground の例を埋め込む -- [wp.org のプラグインデモ](https://gist.github.com/adamziel/0fe3ffc1fb5202a907a87d055ee37135) – WordPress.org のプラグインページに「デモ」タブを追加するユーザースクリプト -- [WordPress Pull Request プレビューアー](https://playground.wordpress.net/wordpress.html) -- [2 つの Playground 間の同期](https://playground.wordpress.net/demos/sync.html) -- [タイムトラベル](https://playground.wordpress.net/demos/time-traveling.html) -- [WP-CLI](https://playground.wordpress.net/demos/wp-cli.html) -- [Blueprints の PHP 実装](https://playground.wordpress.net/demos/php-blueprints.html) +- [公式デモ](https://playground.wordpress.net/)と[ショーケース](https://developer.wordpress.org/playground)アプリ – テーマをインストールし、プラグインを試し、いくつかのページを作成し、構築したものをエクスポートします +- [@wp-playground/cli](https://www.npmjs.com/package/@wp-playground/cli) – すぐに WordPress 開発環境を構築できる CLI ツール +- [WordPress Playground for VS Code](https://marketplace.visualstudio.com/items?itemName=WordPressPlayground.wordpress-playground) +- ライブ翻訳: [アプリ](https://translate.wordpress.org/projects/wp-plugins/friends/dev/pl/default/playground/), [アナウンス](https://make.wordpress.org/polyglots/2023/04/19/wp-translation-playground/), [詳細](https://make.wordpress.org/polyglots/2023/05/08/translate-live-updates-to-the-translation-playground/) +- [HTML タグ プロセッサ チュートリアル](https://adamadam.blog/2023/02/16/how-to-modify-html-in-a-php-wordpress-plugin-using-the-new-tag-processor-api/)と[Playground JS API チュートリアル](https://wordpress.github.io/wordpress-playground/developers/apis/javascript-api/)を支える[インタラクティブ コード ブロック](https://wordpress.org/plugins/interactive-code-block/) +- [Gutenberg Pull Request プレビューアー](https://playground.wordpress.net/gutenberg.html) +- [Notifications プラグインライブデモ](https://johnhooks.io/playground-experiment/) +- [GraphQL REPL](https://www.wpgraphql.com/2023/06/15/announcing-the-wpgraphql-repl) +- [Blocknotes](https://twitter.com/adamzielin/status/1669478239771799552) – スマートフォンで WordPress を実行する初の iOS アプリ +- [Playground embedder](https://joost.blog/embedded-playground/) – ショートコードを使用して WordPress.org のドキュメントに Playground の例を埋め込む +- [wp.org のプラグインデモ](https://gist.github.com/adamziel/0fe3ffc1fb5202a907a87d055ee37135) – WordPress.org のプラグインページに「デモ」タブを追加するユーザースクリプト +- [WordPress Pull Request プレビューアー](https://playground.wordpress.net/wordpress.html) +- [2 つの Playground 間の同期](https://playground.wordpress.net/demos/sync.html) +- [タイムトラベル](https://playground.wordpress.net/demos/time-traveling.html) +- [WP-CLI](https://playground.wordpress.net/demos/wp-cli.html) +- [Blueprints の PHP 実装](https://playground.wordpress.net/demos/php-blueprints.html) -- [WordPress Playground と WebAssembly でブラウザ内 WordPress 体験を構築する](https://web.dev/wordpress-playground/) -- [developer.wordpress.org の WordPress Playground](https://developer.wordpress.org/playground) -- [ブラウザ内 WordPress テクノロジーデモ: WordPress Playground による WordPress 開発](https://make.wordpress.org/core/2023/04/13/in-browser-wordpress-tech-demos-wordpress-development-with-wordpress-playground/) -- [make.wordpress.org での初期アナウンス](https://make.wordpress.org/core/2022/09/23/client-side-webassembly-wordpress-with-no-server/) -- [Hackernews ディスカッション](https://news.ycombinator.com/item?id=32960560) +- [WordPress Playground と WebAssembly でブラウザ内 WordPress 体験を構築する](https://web.dev/wordpress-playground/) +- [developer.wordpress.org の WordPress Playground](https://developer.wordpress.org/playground) +- [ブラウザ内 WordPress テクノロジーデモ: WordPress Playground による WordPress 開発](https://make.wordpress.org/core/2023/04/13/in-browser-wordpress-tech-demos-wordpress-development-with-wordpress-playground/) +- [make.wordpress.org での初期アナウンス](https://make.wordpress.org/core/2022/09/23/client-side-webassembly-wordpress-with-no-server/) +- [Hackernews ディスカッション](https://news.ycombinator.com/item?id=32960560) -- Developer Hours ビデオ: - - [アメリカ地域 (2023 年 5 月 23 日)](https://wordpress.tv/2023/05/23/developer-hours-wordpress-playground-americas/) - - [APAC/EMEA 地域 (2023 年 5 月 24 日)](https://wordpress.tv/2023/05/24/developer-hours-wordpress-playground-apac-emea/) - - [テストとデモのための WordPress Playground Blueprints の作成 (2024 年 5 月 28 日)](https://wordpress.tv/2024/05/28/developer-hours-creating-wordpress-playground-blueprints-for-testing-and-demos/) Birgit Pauli-Haack & Nick Diego - - [Developer Hours: WordPress Playground について知っておくべきすべて (2024 年 12 月 17 日)](https://wordpress.tv/2024/12/17/developer-hours-everything-you-need-to-know-about-wordpress-playground/) Nick Diego & Ryan Welcher -- [State of the Word での Playground](https://youtu.be/VeigCZuxnfY?t=2912) -- [WCEU 2023 での Playground](https://www.youtube.com/watch?v=e-CwouzTGp4&t=26946s) -- [「WordPress Playground: WordPress のための究極の学習、テスト、教育ツール」を見る](https://www.youtube.com/watch?v=dN_LaenY8bI) Anne McCarthy -- [開発者のための WordPress Playground](https://wordpress.tv/2024/12/16/wordpress-playground-for-developers/) Berislav Grgicak、Jonathan Bossenger -- [WordPress Playground Block コードエディターテーマサポート](https://wordpress.tv/2024/10/05/wordpress-playground-block-code-editor-theme-support/) Jonathan Bossenger -- [WordPress Playground – WCEU 2024 でサーバーなしで WordPress を使用](https://wordpress.tv/2024/07/03/wordpress-playground-use-wordpress-without-a-server/) Adam Zielinski -- [コード、テスト、リピート: WordCamp Larissa 2024 での WordPress Playground による開発の加速](https://wordpress.tv/2024/12/13/code-test-repeat-accelerating-development-with-wordpress-playground/) Uros Tasic -- [WordCamp オランダ 2024 でブラウザ拡張機能の WordPress Playground によるデータの解放](https://wordpress.tv/2024/12/24/liberating-data-with-wordpress-playground-in-a-browser-extension/) Alex Kirk -- [Playground を超えて: WCUS 2024 でのツールおよび製品ビルダーとしての WordPress](https://wordpress.tv/2024/10/10/beyond-the-playground-wordpress-as-a-tool-and-product-builder/) Dennis Snell -- [WC Asia 2025 で Playground を使用してデモを作成](https://wordpress.tv/2025/04/30/create-a-demo-with-playground/) Birgit Pauli-Haack -- [WordCamp ネパール 2025 での WordPress Playground の解剖](https://wordpress.tv/2025/04/30/dissecting-wordpress-playground/) Sakar Upadhyaya Khatiwada -- [WCEU 2025 での WordPress Playground による自動テストの構築](https://wordpress.tv/2025/06/07/building-automated-tests-with-wordpress-playground/) Berislav Grgicak -- [ゼロからデモへ: WCEU 2025 での WordPress Playground Blueprints のマスタリング](https://wordpress.tv/2025/06/07/from-zero-to-demo-mastering-wordpress-playground-blueprints/) Birgit Pauli-Haack -- [WordCamp Gliwice での Playground (ポーランド語)](https://www.youtube.com/watch?v=AUHklF9GdL8&list=PLiCne9CeL82_hGuJOAJlsc84WxVDSH-c9&index=4) Adam Zielinski -- [WordCamp Wrocław 2024 での WordPress Playground (ポーランド語)](https://wordpress.tv/2024/12/02/wordpress-playground-przelom-w-wordpressie-2/) Adam Zielinski -- [WordCamp Gdynia 2025 での WordPress Playground (ポーランド語)](https://wordpress.tv/2025/04/21/wordpress-playground/) Magdalena Paciorek -- [Playground の発見、デモツール (スペイン語)](https://wordpress.tv/2024/08/09/descubriendo-playground-la-herramienta-para-hacer-demos/) Alex Cuadra -- [WordPress Playground: 完全かつ機能的な WordPress インストール (スペイン語)](https://wordpress.tv/2024/02/07/wordpress-playground-instalacion-completa-y-funcional-de-wordpress/) Fernando García Rebolledo -- [Playground: WordCamp Madrid 2025 でのブラウザ内使い捨て WordPress (スペイン語)](https://wordpress.tv/2025/03/09/playground-un-wordpress-de-usar-y-tirar-dentro-de-tu-navegador/) Álvaro Gómez Velasco -- [ブラウザだけで WordPress が使える!WordPress Playground チュートリアル 1 Playground の基本的な使い方 (日本語)](https://www.youtube.com/watch?v=6s_B0WvJauU) Shimomura Tomoki -- [WordPress Playground: ブループリントの使い方 (日本語)](https://www.youtube.com/watch?v=Vcao6uXguWg) Shimomura Tomoki -- [合理化されたブロックテーマ開発: サイトエディターの変更のノーコードバージョン管理のための WordPress Playground と GitHub の使用](https://wordpress.tv/2025/09/30/streamlined-block-theme-development-using-wordpress-playground-and-github-for-no-code-version-contr/) Birgit Pauli-Haack -- [Playground、WordPress を教えるためにこれまでに発明された最高のツール (スペイン語)](https://wordpress.tv/2025/10/05/playground-la-mejor-herramienta-jamas-inventada-para-ensenar-wordpress/) Nilo Vélez -- [レッドブルのピットストップよりも速いテスト: WordPress Playground と WooCommerce Blueprints](https://wordpress.tv/2025/09/30/testing-faster-than-a-red-bull-pit-stop-wordpress-playground-and-woocommerce-blueprints/) Daniel Dudzic +- Developer Hours ビデオ: + - [アメリカ地域 (2023 年 5 月 23 日)](https://wordpress.tv/2023/05/23/developer-hours-wordpress-playground-americas/) + - [APAC/EMEA 地域 (2023 年 5 月 24 日)](https://wordpress.tv/2023/05/24/developer-hours-wordpress-playground-apac-emea/) + - [テストとデモのための WordPress Playground Blueprints の作成 (2024 年 5 月 28 日)](https://wordpress.tv/2024/05/28/developer-hours-creating-wordpress-playground-blueprints-for-testing-and-demos/) Birgit Pauli-Haack & Nick Diego + - [Developer Hours: WordPress Playground について知っておくべきすべて (2024 年 12 月 17 日)](https://wordpress.tv/2024/12/17/developer-hours-everything-you-need-to-know-about-wordpress-playground/) Nick Diego & Ryan Welcher +- [State of the Word での Playground](https://youtu.be/VeigCZuxnfY?t=2912) +- [WCEU 2023 での Playground](https://www.youtube.com/watch?v=e-CwouzTGp4&t=26946s) +- [「WordPress Playground: WordPress のための究極の学習、テスト、教育ツール」を見る](https://www.youtube.com/watch?v=dN_LaenY8bI) Anne McCarthy +- [開発者のための WordPress Playground](https://wordpress.tv/2024/12/16/wordpress-playground-for-developers/) Berislav Grgicak、Jonathan Bossenger +- [WordPress Playground Block コードエディターテーマサポート](https://wordpress.tv/2024/10/05/wordpress-playground-block-code-editor-theme-support/) Jonathan Bossenger +- [WordPress Playground – WCEU 2024 でサーバーなしで WordPress を使用](https://wordpress.tv/2024/07/03/wordpress-playground-use-wordpress-without-a-server/) Adam Zielinski +- [コード、テスト、リピート: WordCamp Larissa 2024 での WordPress Playground による開発の加速](https://wordpress.tv/2024/12/13/code-test-repeat-accelerating-development-with-wordpress-playground/) Uros Tasic +- [WordCamp オランダ 2024 でブラウザ拡張機能の WordPress Playground によるデータの解放](https://wordpress.tv/2024/12/24/liberating-data-with-wordpress-playground-in-a-browser-extension/) Alex Kirk +- [Playground を超えて: WCUS 2024 でのツールおよび製品ビルダーとしての WordPress](https://wordpress.tv/2024/10/10/beyond-the-playground-wordpress-as-a-tool-and-product-builder/) Dennis Snell +- [WC Asia 2025 で Playground を使用してデモを作成](https://wordpress.tv/2025/04/30/create-a-demo-with-playground/) Birgit Pauli-Haack +- [WordCamp ネパール 2025 での WordPress Playground の解剖](https://wordpress.tv/2025/04/30/dissecting-wordpress-playground/) Sakar Upadhyaya Khatiwada +- [WCEU 2025 での WordPress Playground による自動テストの構築](https://wordpress.tv/2025/06/07/building-automated-tests-with-wordpress-playground/) Berislav Grgicak +- [ゼロからデモへ: WCEU 2025 での WordPress Playground Blueprints のマスタリング](https://wordpress.tv/2025/06/07/from-zero-to-demo-mastering-wordpress-playground-blueprints/) Birgit Pauli-Haack +- [WordCamp Gliwice での Playground (ポーランド語)](https://www.youtube.com/watch?v=AUHklF9GdL8&list=PLiCne9CeL82_hGuJOAJlsc84WxVDSH-c9&index=4) Adam Zielinski +- [WordCamp Wrocław 2024 での WordPress Playground (ポーランド語)](https://wordpress.tv/2024/12/02/wordpress-playground-przelom-w-wordpressie-2/) Adam Zielinski +- [WordCamp Gdynia 2025 での WordPress Playground (ポーランド語)](https://wordpress.tv/2025/04/21/wordpress-playground/) Magdalena Paciorek +- [Playground の発見、デモツール (スペイン語)](https://wordpress.tv/2024/08/09/descubriendo-playground-la-herramienta-para-hacer-demos/) Alex Cuadra +- [WordPress Playground: 完全かつ機能的な WordPress インストール (スペイン語)](https://wordpress.tv/2024/02/07/wordpress-playground-instalacion-completa-y-funcional-de-wordpress/) Fernando García Rebolledo +- [Playground: WordCamp Madrid 2025 でのブラウザ内使い捨て WordPress (スペイン語)](https://wordpress.tv/2025/03/09/playground-un-wordpress-de-usar-y-tirar-dentro-de-tu-navegador/) Álvaro Gómez Velasco +- [ブラウザだけで WordPress が使える!WordPress Playground チュートリアル 1 Playground の基本的な使い方 (日本語)](https://www.youtube.com/watch?v=6s_B0WvJauU) Shimomura Tomoki +- [WordPress Playground: ブループリントの使い方 (日本語)](https://www.youtube.com/watch?v=Vcao6uXguWg) Shimomura Tomoki +- [合理化されたブロックテーマ開発: サイトエディターの変更のノーコードバージョン管理のための WordPress Playground と GitHub の使用](https://wordpress.tv/2025/09/30/streamlined-block-theme-development-using-wordpress-playground-and-github-for-no-code-version-contr/) Birgit Pauli-Haack +- [Playground、WordPress を教えるためにこれまでに発明された最高のツール (スペイン語)](https://wordpress.tv/2025/10/05/playground-la-mejor-herramienta-jamas-inventada-para-ensenar-wordpress/) Nilo Vélez +- [レッドブルのピットストップよりも速いテスト: WordPress Playground と WooCommerce Blueprints](https://wordpress.tv/2025/09/30/testing-faster-than-a-red-bull-pit-stop-wordpress-playground-and-woocommerce-blueprints/) Daniel Dudzic +- [WordPress Playground は開発者専用ですか?](https://wordpress.tv/2025/10/25/is-wordpress-playground-only-for-developers/) Fellyph Cintra +- [WordPress Playground で次の WordPress リリースをテストする方法](https://wordpress.tv/2025/11/13/how-to-test-the-next-wordpress-release-with-wordpress-playground/) Fellyph Cintra +- [runCLI で JavaScript コードから直接 WordPress を実行する](https://wordpress.tv/2025/10/22/running-wordpress-directly-from-the-javascript-code-with-runcli/) Fellyph Cintra +- [WordPress Playground: テスト自動化への道](https://wordpress.tv/2025/11/24/wordpress-playground-the-path-to-test-automation/) Fellyph Cintra From 417b6d6d7b21cce88705e7aa0240b1faeb6e3524 Mon Sep 17 00:00:00 2001 From: Fellyph Cintra Date: Tue, 9 Dec 2025 12:26:30 -0300 Subject: [PATCH 9/9] adding Portuguese Brazilian translation --- .../docusaurus-plugin-content-docs/current/main/resources.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/docs/site/i18n/pt-BR/docusaurus-plugin-content-docs/current/main/resources.md b/packages/docs/site/i18n/pt-BR/docusaurus-plugin-content-docs/current/main/resources.md index 722aa44c1c..478ed20a13 100644 --- a/packages/docs/site/i18n/pt-BR/docusaurus-plugin-content-docs/current/main/resources.md +++ b/packages/docs/site/i18n/pt-BR/docusaurus-plugin-content-docs/current/main/resources.md @@ -159,6 +159,7 @@ Há um conjunto de redirecionamentos disponíveis para facilitar o acesso a algu - [Is WordPress playground only for developers?](https://wordpress.tv/2025/10/25/is-wordpress-playground-only-for-developers/) by Fellyph Cintra - [How to test the next WordPress release with WordPress Playground](https://wordpress.tv/2025/11/13/how-to-test-the-next-wordpress-release-with-wordpress-playground/) by Fellyph cintra - [Running WordPress directly from the JavaScript code with runCLI](https://wordpress.tv/2025/10/22/running-wordpress-directly-from-the-javascript-code-with-runcli/) by Fellyph Cintra +- [WordPress Playground: The Path to Test Automation](https://wordpress.tv/2025/11/24/wordpress-playground-the-path-to-test-automation/) by Fellyph Cintra --> - Vídeos do Developer Hours: @@ -193,3 +194,4 @@ Há um conjunto de redirecionamentos disponíveis para facilitar o acesso a algu - [O WordPress Playground é apenas para desenvolvedores?](https://wordpress.tv/2025/10/25/is-wordpress-playground-only-for-developers/) por Fellyph Cintra - [Como testar a próxima versão do WordPress com WordPress Playground](https://wordpress.tv/2025/11/13/how-to-test-the-next-wordpress-release-with-wordpress-playground/) por Fellyph Cintra - [Executando WordPress diretamente do código JavaScript com runCLI](https://wordpress.tv/2025/10/22/running-wordpress-directly-from-the-javascript-code-with-runcli/) por Fellyph Cintra +- [WordPress Playground: O Caminho para Automação de Testes](https://wordpress.tv/2025/11/24/wordpress-playground-the-path-to-test-automation/) por Fellyph Cintra