This project generates API documentation for Ignite UI for Blazor components by:
- restoring IgniteUI.Blazor packages in the
appfolder - installing npm packages
- building Blazor API project
- run
choco install docfx -ycommand
This section will guide you to setup a blazor application in the app folder:
-
in notepad, open
/app/blazor-app.csprojfile -
update version of IgniteUI packages to latest version
-
open VS Code terminal window
-
run
cd appcommand -
run
dotnet restore --forcecommand -
run
dotnet build --forcecommand
This section will guide you to setup docs project in the root for this repo:
- run
cd ..command - run
npm installcommand
This section builds a website for Blazor API:
- run
gulp buildto generate output files in_sitefolder - copy content of the
_sitefolder to hosting server
This section explains how to update API Landing Page
-
open
index-links.jsonfile -
add entries for new API members (if any), where
apiis name of API component, andurlis routing path for a topic that provides documentation and examples of the API component
{ "api": "IgbTreeGrid", "links": [ { "url": "/grids/tree-grid/overview" }] },
-
run
gulp updateIndexto generate a table with API mapping to topics inindex.mdfiles -
commit your changes and create a new Pull Request