Hi Josh, I ran your extension, but another error was occurred. I've checked your code and fixed 2 problems, https://gist.github.com/shimizukawa/6255385/revisions Now this works for me.
Debugging Tips in the Sphinx Developer's Guide document will help you. https://bitbucket.org/birkenfeld/sphinx/src/ef3092d/doc/devguide.rst#rst-header-debugging-tips Regards, -- Takayuki SHIMIZUKAWA http://about.me/shimizukawa 2013/8/17 Josh English <[email protected]>: > It's been a month. I stepped away for a month to avoid trichotillomania. > > 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 followed the tutorial at http://sphinx-doc.org/ext/tutorial.html. I > ignored the configuration file options. > > 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 > > -- > You received this message because you are subscribed to the Google Groups > "sphinx-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sphinx-users. > For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sphinx-users. For more options, visit https://groups.google.com/groups/opt_out.
