Skip to content

Commit 8a9c2a5

Browse files
committed
Updated prettier version
Signed-off-by: George Araújo <george.gcac@gmail.com>
1 parent b3782b2 commit 8a9c2a5

File tree

4 files changed

+6
-31
lines changed

4 files changed

+6
-31
lines changed

.github/agents/customize.agent.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -415,40 +415,32 @@ For Portuguese, create `_data/pt-br/cv.yml` with translated content:
415415
When helping users customize their site:
416416

417417
1. **Understand the request** – Ask clarifying questions if needed; never assume technical knowledge
418-
419418
- If working with multilingual content, confirm which languages they're customizing
420419
- If the user mentions a relevant issue, discussion, or past question, listen for context but don't require them to provide a link
421420

422421
2. **Review related issues/discussions** – If a user references or describes a related issue/discussion, acknowledge the context but verify currency
423-
424422
- Example: "I see this relates to discussion #123. Let me verify the current approach and address your specific needs."
425423
- Caveat: "That discussion is from 2021; let me check if the approach still applies with our current codebase."
426424
- Check if the issue is specific to the original al-folio or applicable to multi-language-al-folio
427425

428426
3. **Identify affected files** – Determine which files need modification
429-
430427
- For multilingual sites: Identify if changes are language-specific or shared across all languages
431428
- Remember: Language-specific content goes in LANG directories; shared content (styling, social links, etc.) does not
432429

433430
4. **Explain the change clearly** – Describe what you'll do, where the file is located, and why this change matters
434-
435431
- For multilingual changes: Explicitly state which language directories will be modified
436432
- Explain if the change needs to be replicated across all active languages
437433

438434
5. **Apply changes** – Use file editing tools to make modifications
439-
440435
- For multilingual changes: Make consistent changes across all language directories as needed
441436

442437
6. **Verify syntax** – Ensure YAML/Markdown/BibTeX syntax is correct
443-
444438
- Check that all language-specific files have equivalent content
445439

446440
7. **Provide clear next steps** – Explain how to preview changes in beginner-friendly terms (e.g., "After I make this change, you can see it by...")
447-
448441
- For multilingual sites: Explain how to switch languages in the preview to verify all versions
449442

450443
8. **Anticipate questions** – Address potential confusion before users encounter it; reference related discussions if applicable
451-
452444
- Address multilingual-specific considerations (e.g., ensuring all languages have matching content)
453445

454446
9. **Use plain language** – Avoid or explain technical jargon; prioritize clarity over verbosity
@@ -473,15 +465,13 @@ Always guide users to test changes locally before pushing to GitHub:
473465
3. **Check for errors** – Look at the terminal output for any error messages (YAML syntax errors, missing files, BibTeX parsing issues, etc.).
474466

475467
4. **Verify visually** – Manually navigate through your site:
476-
477468
- Check that pages load without errors
478469
- Verify text displays correctly
479470
- Ensure images are visible
480471
- Test navigation links
481472
- Check that your changes appear as expected
482473

483474
5. **Test on different pages** – If you modified:
484-
485475
- `_config.yml` – Check the entire site (affects global settings)
486476
- Blog posts – Check the blog page and individual post
487477
- Publications – Check the publications page
@@ -583,7 +573,6 @@ Help users avoid these frequent errors:
583573
## Boundaries
584574
585575
- ✅ **Always do:**
586-
587576
- Modify configuration files (`_config.yml`, `_data/*.yml`, `_data/LANG/*.yml`)
588577
- Create/edit content files (posts, pages, projects, news) in language-specific directories
589578
- Update BibTeX bibliography
@@ -595,7 +584,6 @@ Help users avoid these frequent errors:
595584
- Guide users on the multilingual structure and best practices
596585
597586
- ⚠️ **Ask first:**
598-
599587
- Major structural changes to the template
600588
- Removing core functionality or pages
601589
- Modifying GitHub Actions workflows
@@ -656,21 +644,17 @@ Help users avoid these frequent errors:
656644
When users reference issues or discussions:
657645
658646
1. **Accept information without requiring links** – Don't demand that users track down and share issue/discussion URLs
659-
660647
- ❌ Avoid: "Please provide the link to the discussion so I can help you."
661648
- ✅ Do this: "Let me help based on what you've described. If you remember any details from the discussion, that would be helpful."
662649
663650
2. **Verify information against current code** – Assume advice from older discussions might be outdated
664-
665651
- Example: "You mentioned a solution from an older discussion. Let me check if that still applies with the current version..."
666652
- Be prepared to offer updated guidance if the codebase has changed
667653
668654
3. **Acknowledge patterns while providing current guidance** – Show you understand the context but prioritize current best practices
669-
670655
- Example: "I see why that approach was suggested before. With our current code, here's the recommended way to do this..."
671656
672657
4. **Mention when discussions are particularly relevant** – If a recent discussion is very relevant, you can mention it
673-
674658
- Example: "This is similar to what was discussed in #67 (from December 2024), which is still the best approach."
675659
676660
5. **Suggest sharing solutions** – If a user's question or your solution would help the community, encourage them to update or create discussions

CUSTOMIZE.pt-br.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -221,15 +221,13 @@ Entender a pilha de tecnologia do al-folio o ajudará a personalizar e estender
221221
### Backend
222222

223223
- **Jekyll 4.x**: [Jekyll](https://jekyllrb.com/) é um gerador de site estático escrito em Ruby que transforma seus arquivos Markdown e modelos em um site estático. O Jekyll é usado para:
224-
225224
- Converter arquivos Markdown em HTML
226225
- Processar modelos Liquid
227226
- Gerenciar coleções (postagens, projetos, notícias, livros, etc.)
228227
- Gerar arquivos e paginação
229228
- Minificar CSS e JavaScript
230229

231230
- **Ruby Gems** (Plugins Jekyll): O projeto usa vários plugins Ruby para estender a funcionalidade do Jekyll:
232-
233231
- `jekyll-scholar`: Gerencia arquivos de bibliografia (BibTeX) e gera páginas de publicações com citações
234232
- `jekyll-archives-v2`: Cria páginas de arquivo para postagens e coleções organizadas por categoria, tag ou data
235233
- `jekyll-paginate-v2`: Lida com paginação para postagens de blog e arquivos
@@ -247,7 +245,6 @@ Entender a pilha de tecnologia do al-folio o ajudará a personalizar e estender
247245
### Construção e Implantação
248246

249247
- **GitHub Actions**: Fluxos de trabalho automatizados para construir, testar e implantar seu site. Os fluxos de trabalho estão definidos em `.github/workflows/`:
250-
251248
- **Deploy**: Constrói e implanta automaticamente seu site no GitHub Pages quando você faz push de alterações para o branch principal
252249
- **Verificação de links**: Valida que todos os links do seu site não estão quebrados
253250
- **Formatação de código**: Garante que o código segue o estilo de código do Prettier
@@ -471,7 +468,6 @@ Para atualizar uma biblioteca:
471468

472469
1. Altere o número da `version`
473470
2. Obtenha o novo hash de integridade para a versão atualizada da biblioteca e atualize o campo `integrity` com o novo hash. Você pode:
474-
475471
- Verificar se o provedor de CDN (por exemplo, jsDelivr, cdnjs, unpkg) fornece o hash SRI para o arquivo. Muitos sites de CDN exibem o hash SRI junto da URL do arquivo.
476472
- Gerar o hash SRI você mesmo usando uma ferramenta como [SRI Hash Generator](https://www.srihash.org/) ou executando o seguinte comando em seu terminal:
477473

@@ -481,7 +477,6 @@ Para atualizar uma biblioteca:
481477

482478
Substitua `[FILE_URL]` pela URL do arquivo da biblioteca. Em seguida, adicione `sha384-` ao resultado e use-o no campo `integrity`.
483479
Para instruções detalhadas sobre como atualizar bibliotecas específicas, veja as Perguntas Frequentes:
484-
485480
- [Como posso atualizar a versão do Academicons](FAQ.pt-br.md#como-posso-atualizar-a-versão-do-academicons-no-modelo)
486481
- [Como posso atualizar a versão do Font Awesome](FAQ.pt-br.md#como-posso-atualizar-a-versão-do-font-awesome-no-modelo)
487482
- [Como posso atualizar a versão do Tabler Icons](FAQ.pt-br.md#como-posso-atualizar-a-versão-do-tabler-icons-no-modelo)
@@ -664,15 +659,13 @@ O GitHub restringe o `GITHUB_TOKEN` padrão de acionar outros fluxos de trabalho
664659
### Como configurar o PAT
665660

666661
1. **Crie um Personal Access Token**
667-
668662
- Vá para [GitHub Settings > Developer settings > Personal access tokens](https://github.com/settings/tokens).
669663
- Clique em "Generate new token" (clássico ou fine-grained).
670664
- Conceda pelo menos as seguintes permissões:
671665
- `repo` (para tokens clássicos se repo é privado), `public_repo` (para tokens clássicos se repo é público) ou `contents: read/write` (para tokens fine-grained)
672666
- Salve o token em algum lugar seguro.
673667

674668
2. **Adicione o PAT como um secret do repositório**
675-
676669
- Vá para seu repositório no GitHub.
677670
- Navegue até `Settings` > `Secrets and variables` > `Actions` > `New repository secret`.
678671
- Nomeie o secret como `PAT` (deve corresponder ao nome usado no fluxo de trabalho).

_posts/pt-br/2015-07-15-code.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ For displaying code in a list item, you have to be aware of the indentation, as
4343
4444
````markdown
4545
1. We can put fenced code blocks inside nested bullets, too.
46-
4746
1. Like this:
4847
4948
```c
@@ -56,7 +55,6 @@ For displaying code in a list item, you have to be aware of the indentation, as
5655
Which displays:
5756
5857
1. We can put fenced code blocks inside nested bullets, too.
59-
6058
1. Like this:
6159
6260
```c

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)