Skip to content

Conversation

ashishks0522
Copy link
Collaborator

@ashishks0522 ashishks0522 commented Sep 18, 2025

Changes

  • Remove .html from demo references as we no longer need that in the URL and its causing 404 with next port, update it to be intersphinx format

Ticket

Copy link

👋 Hey, looks like you've updated some demos!

🐘 Don't forget to update the dateOfLastModification in the associated metadata files so your changes are reflected in Glass Onion (search and recommendations).

Please hide this comment once the field(s) are updated. Thanks!

Copy link
Collaborator

@doctorperceptron doctorperceptron left a comment

Choose a reason for hiding this comment

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

Should we take this opportunity to change these links to Intersphinx (:doc:`demos/slug` or :doc:`Some text <demos/slug>`), since we're planning on changing the demo URLs and removing qml?

Copy link

Your preview is ready 🎉!

You can view your changes here

@ashishks0522 ashishks0522 changed the title sc-99549-remove-html-from-demo-references-in-qml-demos sc-99549-fix-broken-demo-inter-sphinx-links-within-demo Sep 18, 2025
doctorperceptron added a commit that referenced this pull request Sep 19, 2025
This PR tweaks the `qml` build tool such that the generated objects.inv
files match the naming and uris for the demos on pennylane.ai. This PR
should fix #1550.

Note: This has been tested locally. ~We should verify it works when
building all demos as wel.~ Tested for all demos successfully
[here](https://github.com/PennyLaneAI/qml/actions/runs/17866805882)

---------

Co-authored-by: Alan Martin <alan.martin@xanadu.ai>
Copy link

👋 Hey, looks like you've updated some demos!

🐘 Don't forget to update the dateOfLastModification in the associated metadata files so your changes are reflected in Glass Onion (search and recommendations).

Please hide this comment once the field(s) are updated. Thanks!

@doctorperceptron
Copy link
Collaborator

Looks good @ashishks0522. Now we just need the html redirects and we're good. This can be merged in now.

Alan-eMartin and others added 4 commits September 22, 2025 11:39
**Summary:**

This PR reduces some of the image sizes for the `sc_qubits` demo to test
out the impact on `pennylane.ai` page loading performance.
Copy link
Collaborator

@Alan-eMartin Alan-eMartin left a comment

Choose a reason for hiding this comment

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

👍🏻

@Alan-eMartin Alan-eMartin merged commit d1d0668 into master Sep 23, 2025
30 checks passed
@Alan-eMartin Alan-eMartin deleted the sc-99549-remove-html-from-demo-references-in-qml-demos branch September 23, 2025 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants