-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Improve API documentation #16140
Improve API documentation #16140
Conversation
Thanks for making a pull request to jupyterlab! |
for more information, see https://pre-commit.ci
It looks that already without the monorepo setup we were getting links for some - but not other - code locations. Why is that? For example From the other changes it looks like the monorepo setup is a bit of an overkill as it groups packages by namespace and we have only one namespace: which frankly I would expect to be the case for many monorepos. |
So does this fix / close #11788? |
In fact we should close that issue because the feature |
Good question, I actually missed that some links are working. But my guess is that it will be though without the mono repo approach as typedoc is trying to build the all monorepo at once; hence I guess a mixture of typing files and source files.
I agree I don't like it either. I'll give an another trial to be closer to the current behavior. |
I updated the screenshot in the first comment; it is very similar. It is possible to drop the version. But I think it is an interesting information to display in particular as we will slowly have more specific package version increments, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! The version numbers are a bit distracting, but maybe I will get used to them.
@@ -17,7 +17,8 @@ import { Completer } from './widget'; | |||
import { Signal } from '@lumino/signaling'; | |||
|
|||
// Shorthand for readability. | |||
type InlineResult = IInlineCompletionList<CompletionHandler.IInlineItem> | null; | |||
export type InlineResult = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if we need to export this, it is just a shorthand.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typedoc is complaining because it does not resolve shorthand...
Co-authored-by: Michał Krassowski <5832902+krassowski@users.noreply.github.com>
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @fcollonval!
* Update typedoc config * Clean up typedoc dead code * Prettify * Remove some typedoc warnings * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Prettify * Change naming hierarchy to reduce changes * Minor JS doc improvements * Prettify * Apply suggestions from code review Co-authored-by: Michał Krassowski <5832902+krassowski@users.noreply.github.com> * Keep the old `ITopArea` * Fix yarn.lock --------- Co-authored-by: Frédéric Collonval <fcollonval@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Michał Krassowski <5832902+krassowski@users.noreply.github.com>
References
Typedoc configuration changes are required for #15916. This extracts the improvements in a dedicated PR.
Code changes
User-facing changes
Backwards-incompatible changes
None