-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(docs): Add indicator for keyword-only arguments, add link to met…
…hod sources (#134) The docs were not showing which method arguments are positional and which are keyword-only. This adjusts the docs generation so that there is a `*` in the argument list before the first keyword-only argument, and also that there is a `keyword-only` tag next to those arguments. And while I was messing with it I adjusted it so that the methods also include a link to their source code. This might be pretty hard to review code-wise, because it's mostly just package patches, so I think just check if you think the result is OK, or if it should be adjusted. For the future, I vote to fork `docusaurus-plugin-typedoc-api` and use the fork here, so that the changes we make to it are more reviewable. Once approved, I will do it in the SDK as well. <img width="1358" alt="Screenshot 2023-07-25 at 19 37 15" src="https://github.com/apify/apify-client-python/assets/2934111/e7b5fb8b-fe38-45e2-8119-27c4014ad94d">
- Loading branch information
Showing
3 changed files
with
178 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters