[Bug] 'ApiPageDocumentProcessor': Input string was not in a correct format.
- Dominant language
- C#
- Stars
- 4.4k
- Forks
- 890
- Avg merge
- 2h 11m
- Merged PRs (30d)
- 10
Description
**Describe the bug**
Docfx generated MaaImageList.yml and MaaStringList.yml, but failed to build the html files.
After exclusion, it is caused by `includeExplicitInterfaceImplementations` being set to `true` in the metadata.
https://github.com/MaaXYZ/MaaFramework.Binding.CSharp/blob/v1.8.8/docs/docfx.json#L18
I'm not familiar with docfx and couldn't get more information from the reported error.
```basic
D:\a\MaaFramework.Binding.CSharp\MaaFramework.Binding.CSharp\docs\api\MaaFramework.Binding.Buffers.MaaStringList.yml: error InvalidInputFile: Unable to load file 'api/MaaFramework.Binding.Buffers.MaaStringList.yml' via processor 'ApiPageDocumentProcessor': Input string was not in a correct format. Failure to parse near offset 91. Expected an ASCII digit.
D:\a\MaaFramework.Binding.CSharp\MaaFramework.Binding.CSharp\docs\api\MaaFramework.Binding.Buffers.MaaImageList.yml: error InvalidInputFile: Unable to load file 'api/MaaFramework.Binding.Buffers.MaaImageList.yml' via processor 'ApiPageDocumentProcessor': Input string was not in a correct format. Failure to parse near offset 90. Expected an ASCII digit.
```
Please check the specific logs: https://github.com/MaaXYZ/MaaFramework.Binding.CSharp/actions/runs/10040250759/job/27745904644#step:11:22
**To Reproduce**
``` bash
dotnet tool install --global docfx --version 2.77.0
git clone --depth 1 --branch v1.8.8 https://github.com/MaaXYZ/MaaFramework.Binding.CSharp
cd .\MaaFramework.Binding.CSharp\docs
docfx
```
**Expected behavior**
MaaImageList.html and MaaStringList.html are built out.
**Context (please complete the following information):**
- OS: Windows
- Docfx version: 2.77.0
**Additional context**
[MaaImageList.cs](https://github.com/MaaXYZ/MaaFramework.Binding.CSharp/blob/v1.8.8/src/MaaFramework.Binding.Native/Buffers/MaaImageList.cs#L107-L156)
[MaaStringList.cs](https://github.com/MaaXYZ/MaaFramework.Binding.CSharp/blob/v1.8.8/src/MaaFramework.Binding.Native/Buffers/MaaStringList.cs#L107-L156)
Contributor guide
Assessment
This issue has not been assessed yet.