Sphinx documentation problem

8 views
Skip to first unread message

Niklas B

unread,
May 24, 2012, 11:12:48 AM5/24/12
to orbite...@googlegroups.com
Hey,

I'm trying to recompile the documentation for Orbited2 but am stuck at sphinx. Keep getting this error:


Any clues?

Error !

TypeError: 'Undefined' object is not callable

20
    % if hasdoc('about'):
21
        <link rel="author" title="${_('About these documents')}" href="${pathto('about')}" />
22
    % endif
23
    <link rel="index" title="${_('Index')}" href="${pathto('genindex')}" />
24
    <link rel="search" title="${_('Search')}" href="${pathto('search')}" />
25
    % if hasdoc('copyright'):
26
        <link rel="copyright" title="${_('Copyright')}" href="${pathto('copyright')}" />
27
    % endif
28
    <link rel="top" title="${docstitle|h}" href="${pathto('index')}" />
/home/niklas/orbited2/docs/source/_templates/layout.mako, line 23:
23
    <link rel="index" title="${_('Index')}" href="${pathto('genindex')}" />
/home/niklas/orbited2/docs/source/_templates/static_base.mako, line 9:
9
        ${self.headers()}
/usr/lib/python2.5/site-packages/mako/runtime.py, line 815:
815
callable_(context, *args, **kwargs)

Niklas B

unread,
May 24, 2012, 11:49:26 AM5/24/12
to orbite...@googlegroups.com

Niklas B

unread,
May 29, 2012, 1:06:33 PM5/29/12
to orbite...@googlegroups.com
I fixed this by getting new templates from sqlalchemy (from which Orbited doc is based upon once upon a time). Grab it from www.github.com/bivald/orbited2

The new doc can be built with the latest sphinx and mako
Reply all
Reply to author
Forward
0 new messages