-
Notifications
You must be signed in to change notification settings - Fork 867
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] docfx metadata
does not generate all metadata on Ubuntu
#9618
Comments
On Windows / macOS environment.
On Ubuntu environment. If explicitly reversing processing order with docfx/src/Docfx.Dotnet/DotnetApiCatalog.Compile.cs Lines 68 to 77 in d79836f
This problems occurs when using |
Thanks for finding this @filzrev. Curious though why reversing the order would cause it to skip processing the second glob and why it reversed on Ubuntu |
There is following output message difference. (Tested on Windows environment)
It seems
And other namespace files (e.g. When adding empty namespace definition ( So reproduction conditions are thought to be
I can't able to identifying the root cause of the problem, but we hope it helped to resolve docfx problems. |
Describe the bug
We are using DocFX to generate markdown API documentation based on two projects. The generation is run through a GitHub Action running on
ubuntu-latest
. It's been discovered that when running on Ubuntu, thedotnet docfx metadata
command will skip all except the last glob listed in themetadata.src.files
array.For example, here is the docfx.json configuration file.
With this configuration file, when run on
windows-latest
andmacOS-latest
GitHub runners, the following is outputHowever on
ubunutu-latest
the following is outputAs you can see it skips the first file listed in the
metadata.src.files
array and only runs the last file listed.To Reproduce
A minimal example repository has been created at https://github.com/AristurtleDev/docfx-ubuntu-issue
The following steps should be performed in a windows, mac, and ubuntu environment to see the difference in how it runs in ubuntu vs mac/windows.
Steps to reproduce the behavior:
git clone https://github.com/AristurtleDev/docfx-ubuntu-issue.git
cd
into directorydotnet tool restore
dotnet docfx metadata
Expected behavior
Metadata documentation is generated for both csproj files listed in the
metadata.src.files
array in docfx.json.Actual behavior
Metadata documentation is only generated for one csproj when running on the
ubuntu-latest
GitHub runner.Context (please complete the following information):
Additional context
You can view the output of the minimal sample repo for each operating system at the following links
This is also in reference to the following issue MonoGame/monogame.github.io#58
The text was updated successfully, but these errors were encountered: