Closed Mandrenkov closed 5 months ago
Thank you for opening this pull request.
You can find the built site at this link.
Deployment Info:
1089
9d7bdbd133d5ae56b9d024044b261009bca3fb84
(The Deployment SHA
refers to the latest commit hash the docs were built from)Note: It may take several minutes for updates to this pull request to be reflected on the deployed site.
Thanks a lot for the tag, @Mandrenkov .
This might be unrelated, but I'd like to understand everything to make sure I can follow the setup correctly — in the first example (copied below), what is the id
field?
{ "authors": [ { "id": "jack_ceroni" }, { "username": "mikhail" }, { "name": "Mikhail Andrenkov" } ] // other fields ... }
Not a problem, @ikurecic!
in the first example (copied below), what is the
id
field?
The id
field is part of the author metadata format that is currently used by all demos in this repository. My understanding is that it refers to the file stem of an author in this directory which contains .txt
files that have the author's name and bio.
As a whole, the example is meant to show that this PR adds support for the new author metadata format while retaining support for the old format. Eventually, we'll want to drop support for the old format too, but that is later down the line.
I see what you mean, @Mandrenkov — it didn't cross my mind that this would still refer to the old/current system. That's great to know and it makes sense to me, thank you!
Title:
Adds support for specifying authors in demo metadata via full name or PennyLane profile username.
Summary:
The following metadata file is now accepted by the JSON validator:
Conversely, the metadata file below is not accepted:
Relevant references:
N/A
Possible Drawbacks:
Related GitHub Issues:
N/A