-
Notifications
You must be signed in to change notification settings - Fork 14
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
Missing platform-specific API docs #58
Comments
Summary (TLDR): Looks like there is an issue with the ubuntu CI agent creating all of the API Reference docs. Local windows develop and using a GH Windows CI Server seem to create all 460 API reference docs. However, when using the Ubuntu CI agent only 274 or 275 of the docs are created. Here's a bunch of notes about what I've been looking at: Hey @AristurtleDev wanted to draw some attention here as there is actually a lot of the API docs missing in the deployed site. It looks like sitemap.xml in all the recent deployments (one example) is missing almost a 1000 lines compared to my local build (2509 on mine 1593 in the deployment). Granted it seems to be missing since the big change as even your temp site here is missing the same docs. Things like SpriteBatch, GraphicsDevice, and a ton of other docs are missing besides just the input stuff flagged here. I have like 50ish docs under the graphics namespace. There are only 20 on the website currently. Many of my fixes in the other PR are still going to 404s because of missing API reference pages. Assuming it might be easier to test on your end with your temp site since you are currently able to do deployments. Locally it seems to build fine using Windows, but there may be some issue with the docfx stuff in the GitHub action? I can try and set something similar up, but figured you'd likely know better than me where to look! It looks like the docfx export in GH actions is only generating 274 or 275 pages where as locally I see more like 460 pages. We're missing like 185ish pages of documentation. It is currently only loading the MonoGame.Framework.Content.Pipeline.csproj data to the API docs? *Edit looks like pre the upgrade this weird loading behavior on the Ubuntu CI agent I show below was still present like in the build step here. Just previously during the build it was generating the 460 API docs. Not just the 275ish that it is doing now. So this may have been some pathing issue for some time or something, but the docs still got created/deployed previously. GH Actions Output: Restore was successful. My Local Output: Using .NET Core SDK 8.0.100 |
Hey @JakeLegendXIII @KelsamGames just now seeing this, looking into it. |
From what I can tell, this may be a bug in Docfx, i have submitted the following issue with them dotnet/docfx#9618 In the meantime @mrhelmut since you are this months maintainer rotation I'll tag you. This can be resolved if the GitHub runner can be switched to |
@AristurtleDev KeyboardInput and MessageBox are still missing from Microsoft.Xna.Framework.Input. |
Sorry @KelsamGames i got caught up with the issue that it was only generating half the documentation that I skipped over those parts. The docfx generation only generates documentation from two projects
These were the original settings so I just used those when converting the site to 11ty. It looks like the DesktopGL project specifically removes those two namespaces in the csproj Since they are removed, they aren't part of the generation. Going to have to add them in manually for docfx to include. |
This is because the documentation is based on the DesktopGL target, which has no implementation for Two possible solutions:
|
@mrhelmut I think we can add those two specific files to be included in the docfx settings along with the csprojs that we already have. |
That's cool, though I think that we should add empty implementations. I think it is a better user experience to let developers know that it's not implemented than having them missing. It's a quick fix, I can work that out. |
Ah yea that's a better solution 👍 @KelsamGames I was just rereading the original issue, can you open a separate issue for this part
I believe I know why this is happening and it's a bug in the way the html/css interacts to make the drop downs expand collapse. It's eating the click for the link when the expand/collapse triggers. |
Them being mentioned in any way (with that quick little blurb of what they're supposed to do) is my only goal. Back when I was making some mobile ports of past games, thumbing through the old docs had me stumble upon those 2 features that saved me GOBS of time with mobile keyboard handling and simple user alerts, so I'd really like them to be present in some way for others to notice the same way. |
Sure thing. Issue #84 opened. |
My bad @AristurtleDev ! I came out here to create an Issue for the missing Api docs and noticed this one was already created. So I tagged you and wrote my giant wall of text about the other issue that should have probably been a separate issue had I stopped to check if these were in DesktopGL or not. Glad both issues are either fixed or have potential fixes in the works! Sorry for any confusion. |
I'm just waiting for MonoGame/MonoGame#8142 to pass the build checks and I'll merge it. Then we can regenerate the documentation and have those types. |
Here we go #85 |
Link to Document
https://monogame.net/api/Microsoft.Xna.Framework.Input/
Description
Both KeyboardInput and MessageBox appear to be missing from the API docs for Microsoft.Xna.Framework.Input. Perhaps there are other platform-specific features like this missing too?
Also, it seems the navigation only open sub-pages now so the only way to get to the parent page (i.e. https://monogame.net/api/Microsoft.Xna.Framework.Input/) is by navigating to one of those first and then clicking on the parent in the breadcrumb at the top of the page.
The text was updated successfully, but these errors were encountered: