-
Notifications
You must be signed in to change notification settings - Fork 330
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
TL;DR: This page seems like it should cross-ref the classes in the API doc: https://pyglet.readthedocs.io/en/latest/programming_guide/shapes.html
Describe the solution you'd like
This can be done using short-hand syntax in ReST:
Here is a one-item list of shapes:
* :py:class:`~pyglet.shapes.Rectangle`
The output would be a link which looks like this: Rectangle
Additional context
It's also possible to set the current module for the file to allow skipping pyglet.shapes to write:
.. py:currentmodule:: pyglet.shapes
Here is a one-item list of shapes:
* :py:class:`Rectangle`
However, this comes at the price of:
- decreasing search legibility for
grepand GitHub's code search tools - making Sphinx behavior even harder to reason about
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request