-
Notifications
You must be signed in to change notification settings - Fork 52
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
[Java.Interop.Tools.JavaSource] Remove block and inline @cref values #844
Conversation
c961fd0
to
ffb3d0a
Compare
I've tested these changes against a smaller android-api-docs diff that only touches Some notes about the diff and corresponding docs build:
@jonpryor when you have a chance could you review (at least partially) the android-api-docs diff above to see if anything funky stands out to you that I may have missed? Also, what are your thoughts on ignoring the |
@pjcollins wrote:
This sounds like an mdoc feature request! 😄 (Or maybe even a PR? 😁) An empty Which raises a related question: what does |
@pjcollins asked:
The diff is big and noisy. 😄 Thus, for "sanity", I'm hoping that viewing the HTML is sufficient, which I think would be: Which raises a problem/conundrum: why is this page incomplete? What I see is:
…and that's it: a sentence fragment! Compare to our mdoc XML: <remarks>
- <para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></
format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
+ <para>
+ <format type="text/html">
+ <a href="https://developer.android.com/reference/android/app/Activity#closeContextMenu()" title="Reference documentation">Java documentation for <tt>android.app.Activity.closeContextMenu()</tt>.</a>
+ </format>
+ </para>
+ <para>
+ Portions of this page are modifications based on work created and shared by the
+ <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
+ and used according to terms described in the
+ <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks> Where is the "Java documentation for" text + link? Where is the "Creative Commons 2.5 Attribute License" link? What's going wrong there? Compare to the "same" review page for xamarin/android-api-docs#23: which shows:
Is this rendering difference caused by the PR? Caused by "underlying tooling changes" between January and now? Something else? |
@pjcollins: "unrelated", should we try to figure out how to make the "Portions of this page are modifications" blurb a single line instead of a 5 line monstrosity? Maybe we just need to make |
@pjcollins: as part of review, i fear we may have a Maybe this is one of the cases where we're getting an exception while translating? Specifically, the imported
(Unrelated: how nice of them to tell us what exception will be thrown if we attempt to deliver results to the previous activity…) Ditto |
Thanks for the review so far! Comparing my branch to yours I see no difference, I've got some more digging to do... I did try to make The missing finish methods are strange, none of them are mentioned explicitly in the 2058 mentions of |
@pjcollins wrote:
Relatedly strange, we do have 🤔 |
The |
@pjcollins: on Teams, @davidbritch wrote:
Thus, For Great Sanity™, your pjc/activity-api30-update branch should probably become a PR for generation purposes. |
I tried this earlier today to no avail. The "Preview URL" link in this comment shows the same behavior xamarin/android-api-docs#25 (comment). I'm trying to read up on the publishing documentation. |
@jonpryor I believe this is a result of us only generating documentation for intellisense+extraremarks at the moment (#774). With this setting, all of the regular |
Lol, yup, that would do it! |
This has been blocked on a docs tooling/generation issue for a while, there is now a bug tracking this: https://ceapex.visualstudio.com/Engineering/_workitems/edit/438758 |
Context: dotnet#843 Context: xamarin/android-api-docs#23 A handful of "broken" Javadoc to C# Doc conversions have been disabled for now. This will hopefully help reduce the number of new warnings introduced by xamarin/android-api-docs#23, and allow us to get an initial major documentation update landed in the short term. Longer term, we will revisit and fix these Javadoc conversion issues. Additionally, `Javadoc.cs` has been removed from tools/generator as it appeared to be an unused partial duplicate of `JavadocInfo.cs`. Finally, the `<tt>` tag is no longer supported in our docs build: HTML tag 'tt' isn't allowed. Replace it with approved Markdown or escape the brackets if the content is a placeholder. It has been replaced with `<code>` when generating Android Doc links.
ffb3d0a
to
929b768
Compare
The API 31 documentation update that was created using the changes in this PR can be found here: The following issues track fixes for the pieces disabled in this PR, and other problems noticed while reviewing parts of the API 31 docs update: |
Context: #843
Context: xamarin/android-api-docs#23
A handful of "broken" Javadoc to C# Doc conversions have been disabled
for now. This will hopefully help reduce the number of new warnings
introduced by xamarin/android-api-docs#23, and
allow us to get an initial major documentation update landed in the
short term. Longer term, we will revisit and fix these Javadoc
conversion issues.
Additionally,
Javadoc.cs
has been removed from tools/generator as itappeared to be an unused partial duplicate of
JavadocInfo.cs
.Finally, the
<tt>
tag is no longer supported in our docs build:It has been replaced with
<code>
when generating Android Doc links.