Skip to content
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

Add context variable to module IDs #10

Open
gregraka opened this issue Jul 21, 2021 · 0 comments
Open

Add context variable to module IDs #10

gregraka opened this issue Jul 21, 2021 · 0 comments

Comments

@gregraka
Copy link

Hi,

I use Nebel to generate a new guide from an outline in a spreadsheet.

It would be nice if Nebel would add the context variable to the module IDs that it creates.

In the factory.py file, line 95, I found a way to achieve this:

filehandle.write('[id="' + metadata['ModuleID'] + '_{context}' + '"]\n')

If this change looks acceptable, I will submit a PR.

Please let me know.

Thanks,
--Greg Rakauskas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant