On Tue, Mar 6, 2012 at 4:47 AM, Rita Morgan <rmorgan...@gmail.com> wrote: > Thanks for your reply. > > I made a change in my config.py > > # Custom sidebar templates, maps document names to template names. > #html_sidebars = {} > html_sidebars = {'localtoc.html'} > > Then I do a make html and I get the following message > > Running Sphinx v1.0.1 > loading pickled environment... done > building [html]: targets for 1 source files that are out of date > updating environment: 0 added, 0 changed, 0 removed > looking for now-outdated files... none found > preparing documents... done > writing output... [100%] > index > Exception occurred: > File "/usr/lib/pymodules/python2.7/sphinx/builders/html.py", line > 644, in add_sidebars > for pattern, patsidebars in self.config.html_sidebars.iteritems(): > AttributeError: 'set' object has no attribute 'iteritems' > The full traceback has been saved in /tmp/sphinx-err-AZLTXh.log, if > you want to report the issue to the developers. > Please also report this if it was a user error, so that a better error > message can be provided next time. > Either send bugs to the mailing list at <http://groups.google.com/ > group/sphinx-dev/>, > or report them in the tracker at <http://bitbucket.org/birkenfeld/ > sphinx/issues/>. Thanks! > make: *** [html] Error 1 > > > > > > On Mar 4, 6:56 pm, TP <wing...@gmail.com> wrote: >> On Sat, Mar 3, 2012 at 9:07 PM, Rita <rmorgan...@gmail.com> wrote: >> > How can I disable the search box? It doesnt seem to work. >> >> Seehttp://sphinx.pocoo.org/config.html#confval-html_sidebars > > -- > You received this message because you are subscribed to the Google Groups > "sphinx-dev" group. > To post to this group, send email to sphinx-dev@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. >
Since the example says do this: html_sidebars = { '**': ['globaltoc.html', 'sourcelink.html', 'searchbox.html'], 'using/windows': ['windowssidebar.html', 'searchbox.html'], } I assume you should do: html_sidebars = { '**': ['localtoc.html',] } -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-dev@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.