-
Notifications
You must be signed in to change notification settings - Fork 83
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
Find unlinked code names and attach links to them #47
Comments
Hi, Can I work on this issue? |
Hi all, thanks for the interest. I've updated the description to make it more precise. I hope we can converge together on this, as I'm still not sure my request is 100% precise. But the spirit of it I hope is clear: I would like a bot that finds all potential hyperlink connectors between codes (see https://www.wikiwand.com/en/Wikipedia_bots) and prompts me to add a link or not for each one. |
@kvathupo can you comment here so you can be assigned? |
Comment ! |
Each code in the zoo has a "name", "short_name" and "code_id" parameter in the YML file. However, the description and other parameters where there is lots of text describing a given code may link to other codes via the hyperref protocol (see template.yml). The protocol includes a "name" of the other code and its code ID, but not all code IDs have been put in. The goal is to find every instance of the "name" of a code and replace it with the corresponding hyperref command linking to its code_id.
I was hoping you could write a script that does this for me so that I can re-run it as I populate the zoo later on. The script should
For example, find every instance of "repetition code" inside the descriptive parameters of the text and replace it with \hyperref[code:quantum_repetition]{repetition code}.
The text was updated successfully, but these errors were encountered: