You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, it looks like many of them are id1. Further it looks like whatever is generating these ids is creating them without knowing about any of the other files. within a file it looks like we have id1, id2, id3 etc but we may have multiple id1s in several files.
I have an idea...
In the fixIds.py script we can
Create a counter variable at the top of the inner loop. (so we are essentially counting files)
then we can look for xml:id="id1" , xml:id="id2", etc, etc, in each file and make them look like: f"xml:id="{counter}_id1"
that should make them all unique. We should not worry about this too much as I don't think any of these are actually referenced. But it will clear out all of the error messages about duplicate ids
What Course are you in
thinkcspy
Describe the bug
When running pretext build web, a lot of @xml:id values in different sections are not unique.
The text was updated successfully, but these errors were encountered: