Add basic usage docs for Build-Toolkit-Docs.ps1 script

Aberta
#282 0 comentários 0 reações 1 responsável Ver no GitHub

@Arlodotexe já está trabalhando nisso.

Desde 6/4/2025.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

documentation :page_with_curl: low difficulty powershell

Background

Branched from https://github.com/CommunityToolkit/Tooling-Windows-Submodule/issues/280#issuecomment-2776951004

It only works if you run from the components folder, maybe we should make it more robust so that it can run from the tooling and repo root as well?

The Build-Toolkit-Docs.ps1 script was designed to be run from the root only. Running without arguments will output to the ./docs folder in the repo root. From there, they're usually quick-inspected for issues and copied over to the official docs repo, or you can supply a custom OutputDir like you did here.

Problem

The script was used in an unexpected way (not run from root), which led to unnecessary complexity and confusion when it had problems.

Solution

Basic usage examples should be documented in the powershell script itself. It should be clear that this script, like all our other tooling build scripts, are designed to be run from the root of the repository.

Linguagem predominante
C#
Estrelas
57
Forks
20
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Abrir no Codespaces

Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de CommunityToolkit/Tooling-Windows-Submodule

Todas as issues de CommunityToolkit/Tooling-Windows-Submodule

Issues semelhantes

Mais issues de C#

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.