зеркало из https://github.com/dotnet/infer.git
73207ecc9c | ||
---|---|---|
.. | ||
PrepareSource | ||
_build | ||
images | ||
template/styles | ||
README.md | ||
docfx.json | ||
favicon.ico | ||
index.md | ||
toc.yml |
README.md
Build API documentation
The API documentation is generated by using DocFX.
The last version of the API documentation is in the apiguide/
folder. If you want to create a new version of the API documentation:
- Commit your changes before start the build process.
- Run the powershell script
docs/_build/makeApiDocs.ps1
.makeApiDocs.ps1
script should create the folderapiguide-tmp/
with the API documentation.
makeApiDocs.ps1
script should:
- copy a part of repository to the temporary folder
InferNet_Copy_Temp
, - build
PrepareSource.csproj
project, - run
PrepareSource.exe
for theInferNet_Copy_Temp
folder, - install NuGet package
docfx.console
, - run
docfx
, - remove temporary folder
InferNet_Copy_Temp
, - switch to gh-pages,
- commit and push the new changes.