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
{{ message }}
Repository navigation
Generating labels could prepend filename (internally) to create globally unique labels #36
this will cause a warning to be issued if another exercise is labeled the same way in another document.
This is a pretty common pattern and the context should be handeled by the extension.
The downside is referencing would need to be documented if you want to reference an example from another document such as using <filename>:example-1 as a standard reference
Link to your repository or website
No response
Steps to reproduce
build a document with the same label in two documents
build and a warning will be issued such as
/Users/matthewmckay/repos-collab/continuous_time_mcs/ctmc_lectures/uc_mc_semigroups.md: WARNING: duplicate example label 'example-1', other instance in /Users/matthewmckay/repos-collab/continuous_time_mcs/ctmc_lectures/generators.md
Activity
resolve label warnings for executablebooks/sphinx-exercise#36