It's been a month. I stepped away for a month to avoid t
richotillomania.
I'm actually working on a completely different project, not related to coding, but one where I feel Restructured Text and Sphinx could be useful.
If I can get these to work. I have a bunch of roles and directives I would like to use in my text, and create index pages with back references. It's a discussion and analysis of short stories, so I'd like to write one story per page, and use directives like
.. writer:: Josh English
.. magazine:: Aoife's Kiss
.. issue:: 24
.. pov:: Third person
.. tense:: past
and so on. I would like to have a page where I can create a WriterList, and list all the writers in alphabetical order (with backlinks to the stories), and do the same with magazines (with back links), and so on.
I get the error File "c:\Users\Josh\Desktop\storyaday\extensions\writernode.py", line 62, in process_writer_nodes
for writer_info in env.writer_all_writers:
AttributeError: BuildEnvironment instance has no attribute 'writer_all_writers'
I've attached the extension, and the error log.
I swear I have crossed checked every character from the tutorial, and the only changes are using "writer" instead of "todo" (minus the configuration variable).
Can someone please take a look at this and tell me what I'm doing wrong?
Josh