-
Notifications
You must be signed in to change notification settings - Fork 50
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
docs: Fix broken mkdocs links #587
docs: Fix broken mkdocs links #587
Conversation
…-gallery is preventing this)
WalkthroughThis pull request primarily focuses on updating documentation and comments across the Changes
TipsChat with CodeRabbit Bot (
|
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.
Review Status
Actionable comments generated: 0
Files selected for processing (18)
- docs/api/migration.md (2 hunks)
- docs/dataclasses.md (2 hunks)
- docs/decorators.md (5 hunks)
- docs/widgets.md (9 hunks)
- src/magicgui/tqdm.py (1 hunks)
- src/magicgui/type_map/_magicgui.py (2 hunks)
- src/magicgui/type_map/_type_map.py (1 hunks)
- src/magicgui/types.py (2 hunks)
- src/magicgui/widgets/_concrete.py (1 hunks)
- src/magicgui/widgets/_function_gui.py (2 hunks)
- src/magicgui/widgets/_table.py (1 hunks)
- src/magicgui/widgets/bases/_button_widget.py (1 hunks)
- src/magicgui/widgets/bases/_categorical_widget.py (1 hunks)
- src/magicgui/widgets/bases/_container_widget.py (2 hunks)
- src/magicgui/widgets/bases/_ranged_widget.py (2 hunks)
- src/magicgui/widgets/bases/_slider_widget.py (1 hunks)
- src/magicgui/widgets/bases/_value_widget.py (1 hunks)
- src/magicgui/widgets/protocols.py (1 hunks)
Files skipped from review due to trivial changes (18)
- docs/api/migration.md
- docs/dataclasses.md
- docs/decorators.md
- docs/widgets.md
- src/magicgui/tqdm.py
- src/magicgui/type_map/_magicgui.py
- src/magicgui/type_map/_type_map.py
- src/magicgui/types.py
- src/magicgui/widgets/_concrete.py
- src/magicgui/widgets/_function_gui.py
- src/magicgui/widgets/_table.py
- src/magicgui/widgets/bases/_button_widget.py
- src/magicgui/widgets/bases/_categorical_widget.py
- src/magicgui/widgets/bases/_container_widget.py
- src/magicgui/widgets/bases/_ranged_widget.py
- src/magicgui/widgets/bases/_slider_widget.py
- src/magicgui/widgets/bases/_value_widget.py
- src/magicgui/widgets/protocols.py
The CodeRabbitAI bot summaries are highly misleading. I didn't add a new method, add extra typing, or remove references to anything. It's a straightforward PR that only updates the hyperlinks. |
summary: mkdocs autorefs is currently incompatible with |
Closes #584
Previously with just plain mkdocs involved, links to functions/classes/etc. would automatically resolve, even when nothing was written between the second set of square brackets. So, this used to work, and you could click it in the built HTML docs and be taken to the corresponding magicgui.widgets.Container page:
But when we combined mkdocs and mkdocs-gallery (to make our examples gallery) it stopped automatically resolving those links for us in the docs. I'm not sure why that happens, but the quickest solution is to explicitly specify the link each time. This PR does just that.
summary