-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
Provide an option in config.yaml for automated/non-automated episode numbering #623
Comments
Hey @anenadic - I'm not sure how we'd implement this as we would not know how to handle non-standard episode structures by default in the Workbench. Do you have a link to the lesson so I could see how you have the structure laid out? |
Hi @froggleston, we have a lesson that is split into 5 sections: https://carpentries-incubator.github.io/python-intermediate-development/. When we translated it to the new Workbench format we got the episode list numbered as in the screenshot above. Without automated numbering, we could try to have:
To indicate that episodes fall within sections. I can see how this can be difficult and I am not familiar enough with the Workbench to offer a fix myself. Perhaps a parametrer "episode_numbering: false" in |
Thank you for the info @anenadic! This isn't currently possible (and would not be a high priority for development currently given our capacity), but the quickest way to get something close to what you want is to number your episodes so they would represent your overall section, e.g. 01-foo.md, 02-bar.md, and within each of these your main h2 blocks would represent your internal "episodes", e.g. in 01-foo.md, Would that work for now? |
but the quickest way to get something close to what you want is to number your episodes so they would represent your overall section, e.g. 01-foo.md, 02-bar.md, and within each of these your main h2 blocks would represent your internal "episodes", e.g. in 01-foo.md,
It's not a biggie - we will do something to handle this. Thanks for looking into this @froggleston |
Ah OK - I think I see what might be feasible, i.e. removing the automatic addition of the list number elements! Let me see what I can come up with. Do you have a link to this Workbench version of the lesson so I can test it as closely as possible to your lesson structure? |
Here is the fork with the lesson translation: https://github.com/anenadic/python-intermediate-development-earth-sciences Looking at the source code - this where I identified the sidebar is populated I think if we could prevent the 'position' variable being used to create items in the sidebar it might help but my R knowledge is 0. |
That's really helpful, thanks @anenadic ! How does this look? |
Closed with #624 |
That's fantastic @froggleston - massive thanks! 💯 |
Automated episode numbering is not always suitable - it would be good to have a parameter to control this. E.g. see our lesson's episodes screenshot:
Because we have a set of episodes grouped in a 'non-standard' way (i.e. sections)- we'd ened our own numbersing scheme.
The text was updated successfully, but these errors were encountered: