CommunityToolkit / CommunityToolkit/Tooling-Windows-Submodule
Sample Display Options
- Lingua principale
- C#
- Stelle
- 55
- Fork
- 19
- Merge medio
- 40m
- PR unite (30g)
- 1
Descrizione
In the doc tag for samples:
```
> [!SAMPLE ContentSizerTopShelfPage]
```
We should have a way to specify if we only want C# or XAML displayed
```
> [!SAMPLE ContentSizerTopShelfPage Show="XAML"]
```
Where `Show` can be `XAML`, `C#`, or `All` for instance.
Would provide us some flexibility in scoping to what's interesting or being able to write UI to showcase more C# API focused examples without showing all the UI that's not the interesting bit.
This'll also help us when we go to dump the info to format things properly for static doc generation.
We also have an issue around how large each sample area takes within the docs (or when in the TabbedPage), though we may want a simple issue for that? I don't think we want that to be configured but either fixed or dynamic within the app?
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia individuando la gestione dei doc-tag per `[!SAMPLE ...]` e il percorso di rendering utilizzato per gli esempi nella documentazione e nella generazione della documentazione statica. Determina dove un valore `Show` potrebbe selezionare XAML, C# o tutto il contenuto; il lavoro è completato quando gli esempi supportano l’opzione richiesta senza modificare il comportamento predefinito.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- csharp
- Ambito
- documentation, tooling
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100