Copilot e7a4df492d Fixes #4050. Rename Command.Select and Selecting to Activate/Activating (#4470) 4 天之前
..
_exported_templates cab22566ea Fixes #4107 - Revamps Terminal.Gui's `namespace` (#4109) 6 月之前
apispec 2be8397203 Remove legacy drivers, simplify architecture, and reorganize codebase structure (#4270) 1 月之前
docs e7a4df492d Fixes #4050. Rename Command.Select and Selecting to Activate/Activating (#4470) 4 天之前
images cab22566ea Fixes #4107 - Revamps Terminal.Gui's `namespace` (#4109) 6 月之前
includes afa7da3ae5 Fixes #4078 - Implement automatic URL detection with OSC 8 hyperlinks at driver level (#4340) 1 月之前
schemas a84b2c4896 Fixes #4419, #4148, #4408 - Toplevel is GONE - Replaced by Runnable (#4422) 1 周之前
scripts be9d1939c1 Fixes #4372 - Genericize `FlagSelector`/`OptionSelector`, Replace `RadioGroup` (#4373) 1 月之前
README.md 764a804ddd Fixes #3209 - Formalize Cancellable Work Pattern and add helpers (#4092) 6 月之前
aboutbox.png cab22566ea Fixes #4107 - Revamps Terminal.Gui's `namespace` (#4109) 6 月之前
docfx.json 38c1182a6f Adds `namespace` docs & adds new `multitasking.md` deep dive (#4114) 6 月之前
index.md 2be8397203 Remove legacy drivers, simplify architecture, and reorganize codebase structure (#4270) 1 月之前
toc.yml 1c04acf3b9 Cleaned up toc.yml 6 月之前

README.md

This folder generates the API docs for Terminal.Gui.

The API documentation is generated via a GitHub Action (.github/workflows/api-docs.yml) using DocFX.

To Generate the Docs Locally

  1. Install DocFX: https://dotnet.github.io/docfx/tutorial/docfx_getting_started.html
  2. Run ./docfx/scripts/build.ps1
  3. Browse to http://localhost:8080 and verify everything looks good.
  4. Hit Ctrl-C to stop the script.

To Update views.md

  1. Switch to the ./docfx folder
  2. Run ./scripts/generate-views-doc.ps1
  3. Commit the changes to docs/views.md

API Documentation Overview

The API documentation for Terminal.Gui is a critical resource for developers, providing detailed information on classes, methods, properties, and events within the library. This documentation is hosted at gui-cs.github.io/Terminal.Gui and includes both auto-generated API references and conceptual guides. For a broader overview of the Terminal.Gui project, including project structure and contribution guidelines, refer to the main Terminal.Gui README.

Scripts for Documentation Generation

The scripts folder contains PowerShell scripts to assist in generating and updating documentation:

  • build.ps1: A script to build the documentation locally. Running this script with DocFX installed will generate the documentation site, which can be viewed at http://localhost:8080.
  • generate-views-doc.ps1: A script specifically for updating the views.md file in the docs directory. This script automates the process of documenting the various view classes in Terminal.Gui, ensuring that the documentation remains current with the codebase.
  • OutputView/: A directory likely used for storing output or intermediate files related to the documentation generation process.

These scripts streamline the process of maintaining up-to-date documentation, ensuring that contributors can easily generate and verify documentation changes locally before committing them.