Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Doc/library/profiling.sampling.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

--------------

.. image:: tachyon-logo.png
.. image:: ../../Lib/profiling/sampling/_assets/tachyon-logo.png
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CAn't we leave the old link? I don't really like having this path hardcoded.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not a strong opinion here, but we can either have a replicate image in two places or having a link to the second lib, or I'm not seeing how to do both :)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Err, what I meant is that I would have preferred to keep tachyon-logo.png as the image's directive argument and not the ../../Lib/profiling/sampling/_assets/tachyon-logo.png one. The Sphinx docs should have added the asset path in conf.py I think?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, there were TWO files. Ok. I think you can just add Lib/profiling/sampling/_assets as an asset to search within for Sphinx to pick it up. It's been a while since I played with assets so I may have missed something.

:alt: Tachyon logo
:align: center
:width: 300px
Expand Down
Binary file removed Doc/library/tachyon-logo.png
Binary file not shown.
2 changes: 1 addition & 1 deletion Doc/whatsnew/3.15.rst
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ The :mod:`profile` module is deprecated and will be removed in Python 3.17.
Tachyon: High frequency statistical sampling profiler
-----------------------------------------------------

.. image:: ../library/tachyon-logo.png
.. image:: ../../Lib/profiling/sampling/_assets/tachyon-logo.png
:alt: Tachyon profiler logo
:align: center
:width: 200px
Expand Down
Binary file modified Lib/profiling/sampling/_assets/tachyon-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading