Tig Kindel c6001c794b Fixes #2025 - API Docs are now generated via Github Action - View Source Works (#2027) 3 年 前
..
_exported_templates 0dcbdb847c Tweaked API docs format and content. Fixed build warnings. 3 年 前
articles 7e2e7b9d2d Updates v1.7 docs (#1919) 3 年 前
images 0dcbdb847c Tweaked API docs format and content. Fixed build warnings. 3 年 前
templates 7e2e7b9d2d Updates v1.7 docs (#1919) 3 年 前
README.md c6001c794b Fixes #2025 - API Docs are now generated via Github Action - View Source Works (#2027) 3 年 前
aboutbox.png 7f27d78cc7 Release Candiate 2 (#1248) 4 年 前
build.ps1 26d2353e40 Prep for Release v1.7.0 (#1910) 3 年 前
docfx.json 7a48424924 Docfx - revert hack for 1874 (#1955) 3 年 前
index.md 7e2e7b9d2d Updates v1.7 docs (#1919) 3 年 前
runbuild.cmd 239191cde0 Fixes #1434. Regenerating the docs. (#1528) 3 年 前
toc.yml 3a7efd0cdf Fixes #1889. Docs broken after org move. 3 年 前

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. The Action publishes the docs to the gh-pages branch, which gets published to https://gui-cs.github.io/Terminal.Gui/.

To Generate the Docs Locally

  1. Install DotFX https://dotnet.github.io/docfx/tutorial/docfx_getting_started.html
  2. Change to the ./docfx folder and run ./build.ps1
  3. Browse to http://localhost:8080 and verify everything looks good.
  4. Hit ctrl-c to stop the script.

If docfx fails with a Stackoverflow error. Just run it again. And again. Sometimes it takes a few times. If that doesn't work, create a fresh clone or delete the docfx/api, docfx/obj, and docs/ folders and run the steps above again.

Note the ./docfx/build.ps1 script will create a ./docs folder. This folder is ignored by .gitignore.