Hello, I am trying to learn sphinx from the sampledoc tutorial on Matplotlib (available at: http://matplotlib.sourceforge.net/sampledoc/getting_started.html)
The very first step that involved sphinx-quickstart and the following set up went okay. I could see the page that the tutorial said, I should see. Then, I downloaded the sample_doc tutorial files as suggested and saved them and then made a change to index.rst as mentioned in the tutorial. That is, I added the line getting_started.rst to the index.rst file as suggested in the tutorial. I then typed make html at the prompt and hit enter. However, I get an error. Can someone please help me and identify what is wrong? Here is the log file with full traceback. Thanks in advance. I really hope I can learn and use Sphinx. __________________________________________ # Sphinx version: 1.0.4 # Docutils version: 0.7 release # Jinja2 version: 2.5.5 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/6.3/lib/ python2.6/site-packages/sphinx/cmdline.py", line 173, in main app.build(force_all, filenames) File "/Library/Frameworks/Python.framework/Versions/6.3/lib/ python2.6/site-packages/sphinx/application.py", line 207, in build self.builder.build_update() File "/Library/Frameworks/Python.framework/Versions/6.3/lib/ python2.6/site-packages/sphinx/builders/__init__.py", line 198, in build_update 'out of date' % len(to_build)) File "/Library/Frameworks/Python.framework/Versions/6.3/lib/ python2.6/site-packages/sphinx/builders/__init__.py", line 254, in build self.write(docnames, list(updated_docnames), method) File "/Library/Frameworks/Python.framework/Versions/6.3/lib/ python2.6/site-packages/sphinx/builders/__init__.py", line 293, in write self.write_doc(docname, doctree) File "/Library/Frameworks/Python.framework/Versions/6.3/lib/ python2.6/site-packages/sphinx/builders/html.py", line 399, in write_doc self.docwriter.write(doctree, destination) File "/Library/Frameworks/Python.framework/Versions/6.3/lib/ python2.6/site-packages/docutils/writers/__init__.py", line 76, in write self.translate() File "/Library/Frameworks/Python.framework/Versions/6.3/lib/ python2.6/site-packages/sphinx/writers/html.py", line 38, in translate self.document.walkabout(visitor) File "/Library/Frameworks/Python.framework/Versions/6.3/lib/ python2.6/site-packages/docutils/nodes.py", line 173, in walkabout if child.walkabout(visitor): File "/Library/Frameworks/Python.framework/Versions/6.3/lib/ python2.6/site-packages/docutils/nodes.py", line 173, in walkabout if child.walkabout(visitor): File "/Library/Frameworks/Python.framework/Versions/6.3/lib/ python2.6/site-packages/docutils/nodes.py", line 173, in walkabout if child.walkabout(visitor): File "/Library/Frameworks/Python.framework/Versions/6.3/lib/ python2.6/site-packages/docutils/nodes.py", line 165, in walkabout visitor.dispatch_visit(self) File "/Library/Frameworks/Python.framework/Versions/6.3/lib/ python2.6/site-packages/docutils/nodes.py", line 1601, in dispatch_visit return method(node) File "/Library/Frameworks/Python.framework/Versions/6.3/lib/ python2.6/site-packages/sphinx/writers/html.py", line 525, in visit_literal_block HTMLTranslator.visit_literal_block(self, node) File "/Library/Frameworks/Python.framework/Versions/6.3/lib/ python2.6/site-packages/sphinx/writers/html.py", line 236, in visit_literal_block lang, linenos) File "/Library/Frameworks/Python.framework/Versions/6.3/lib/ python2.6/site-packages/sphinx/highlighting.py", line 207, in highlight_block lexer = lexers[lang] = get_lexer_by_name(lang) File "/Library/Frameworks/Python.framework/Versions/6.3/lib/ python2.6/site-packages/pygments/lexers/__init__.py", line 80, in get_lexer_by_name raise ClassNotFound('no lexer for alias %r found' % _alias) ClassNotFound: no lexer for alias u'ipython' found -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-...@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.