I followed the instructions given here
to use RuneStone directly with an existing sphinx project of mine
I used the activecode directive and in a simple example .rst file and tried to build it. It resulted in this error.
Exception occurred:
File "/Users/senthil/py/virtualenvironments/sphinx-runestone/lib/python2.7/site-packages/runestone/activecode/activecode.py", line 350, in run
course_name = env.config.html_context['course_id']
KeyError: 'course_id'
I see that in the runestone setup itself, this is populated via paver, how do we give this variable in sphinx?
Is using runestone components directly with sphinx a good idea? OR would I be better off to use runestone as documented and port my _static .rst files to the runestone created directory?
Thanks in advance.
Senthil