Skip to content

Instantly share code, notes, and snippets.

@knzm
Created May 11, 2012 07:17
Show Gist options
  • Select an option

  • Save knzm/2658098 to your computer and use it in GitHub Desktop.

Select an option

Save knzm/2658098 to your computer and use it in GitHub Desktop.
Sphinx が reStructuredStructure をレンダリングするまでの流れ
sphinx/cmdline.py:189, in main
app.build(force_all, filenames)
sphinx/application.py:204, in build
self.builder.build_update()
sphinx/builders/__init__.py:196, in build_update
'out of date' % len(to_build))
sphinx/builders/__init__.py:252, in build
self.write(docnames, list(updated_docnames), method)
sphinx/builders/__init__.py:292, in write
self.write_doc(docname, doctree)
sphinx/builders/html.py:426, in write_doc
self.handle_page(docname, ctx, event_arg=doctree)
sphinx/builders/html.py:728, in handle_page
output = self.templates.render(templatename, ctx)
sphinx/jinja2glue.py:128, in render
return self.environment.get_template(template).render(context)
jinja2/environment.py:894, in render
return self.environment.handle_exception(exc_info, True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment