From 51ea0cb2fe5f71f3674a6cea45ceacbe43a16e96 Mon Sep 17 00:00:00 2001 From: jacob Date: Mon, 7 Jun 2010 18:19:40 -0500 Subject: [PATCH] removed document.py --- sphinx/websupport/document.py | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 sphinx/websupport/document.py diff --git a/sphinx/websupport/document.py b/sphinx/websupport/document.py deleted file mode 100644 index 16a60934b..000000000 --- a/sphinx/websupport/document.py +++ /dev/null @@ -1,31 +0,0 @@ -# -*- coding: utf-8 -*- -""" - sphinx.websupport.document - ~~~~~~~~~~~~~~~~~~~~ - - Contains a Document class for working with Sphinx documents. - - :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS. - :license: BSD, see LICENSE for details. -""" - -from os import path - -from jinja2 import Template -from docutils import nodes -from sphinx import addnodes - -class Document(object): - """A single Document such as 'index'.""" - def __init__(self): - self.slices = [] - - def add_slice(self, html, id=None, commentable=False): - slice = HTMLSlice(html, id, commentable) - self.slices.append(slice) - -class HTMLSlice(object): - def __init__(self, html, id, commentable): - self.html = html - self.id = id - self.commentable = commentable