From 8bb947a26bc0bd705a896c71f38b140cc3306bde Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Sat, 1 Mar 2008 00:36:55 +0000 Subject: [PATCH] Removing references to old about/features/navigation pages. --- static/html/about.html | 25 ---------------- static/html/features.html | 60 ------------------------------------- static/html/navigation.html | 15 ---------- tools/initdb.py | 3 -- tools/updatedb.py | 12 ++------ 5 files changed, 2 insertions(+), 113 deletions(-) delete mode 100644 static/html/about.html delete mode 100644 static/html/features.html delete mode 100644 static/html/navigation.html diff --git a/static/html/about.html b/static/html/about.html deleted file mode 100644 index 7159729..0000000 --- a/static/html/about.html +++ /dev/null @@ -1,25 +0,0 @@ -

about

- - - - -

-Luminotes is a WYSIWYG personal wiki notebook for organizing your notes and -ideas. It's designed for creating highly interconnected documents with many -links between concepts. Streamlined visual editing allows you to create your -wiki without having to use any special markup codes or switch to a separate -edit mode. -

- -

-Most wikis are designed for creating one large document per page. But for your -own notes, this approach can grow rather unwieldy. With Luminotes, you deal -with several notes all at once on the same web page, so you get a big-picture -view of what you're working on and can easily make links from one concept to -another. -

- -

-Luminotes is open source / free software and licensed under the terms of the -GNU GPL. -

diff --git a/static/html/features.html b/static/html/features.html deleted file mode 100644 index 8802d16..0000000 --- a/static/html/features.html +++ /dev/null @@ -1,60 +0,0 @@ -

features

- -

-Luminotes has the following features: -

- - - -

-Sound interesting? Then -take a tour, -try the demo, or -sign up for a free account. -

- -

-If you want to install the Luminotes software on your own server, it is -available for download. But you don't -need to download or install anything if you just want to make a wiki. -

- - - - - - - - - - diff --git a/static/html/navigation.html b/static/html/navigation.html deleted file mode 100644 index 9c83db5..0000000 --- a/static/html/navigation.html +++ /dev/null @@ -1,15 +0,0 @@ -
-take a tour - -try the demo - -sign up -
- -
-faq - -blog - -user guide - -pricing - -meet the team - -contact info - -privacy -
diff --git a/tools/initdb.py b/tools/initdb.py index 8f78128..45f9411 100644 --- a/tools/initdb.py +++ b/tools/initdb.py @@ -12,9 +12,6 @@ from model.User import User class Initializer( object ): HTML_PATH = u"static/html" NOTE_FILES = [ # the second element of the tuple is whether to show the note on startup - ( u"navigation.html", True ), - ( u"about.html", True ), - ( u"features.html", True ), ( u"sign up.html", False ), ( u"faq.html", False ), ( u"meet the team.html", False ), diff --git a/tools/updatedb.py b/tools/updatedb.py index 80f880d..cb011a0 100755 --- a/tools/updatedb.py +++ b/tools/updatedb.py @@ -13,8 +13,6 @@ from tools.initdb import fix_note_contents class Updater( object ): HTML_PATH = u"static/html" NOTE_FILES = [ # the second element of the tuple is whether to show the note on startup - ( u"about.html", True ), - ( u"features.html", True ), ( u"sign up.html", False ), ( u"faq.html", False ), ( u"meet the team.html", False ), @@ -27,9 +25,8 @@ class Updater( object ): ( u"take a tour.html", False ), ] - def __init__( self, database, navigation_note_id = None ): + def __init__( self, database ): self.database = database - self.navigation_note_id = navigation_note_id self.update_main_notebook() self.database.commit() @@ -47,11 +44,6 @@ class Updater( object ): if note is not None: note_ids[ filename ] = note.object_id - # update the navigation note if its id was given - if self.navigation_note_id: - note = self.database.load( Note, self.navigation_note_id ) - self.update_note( "navigation.html", True, main_notebook, note_ids, note ) - # update all of the notes in the main notebook for ( filename, startup ) in self.NOTE_FILES: title = filename.replace( u".html", u"" ) @@ -79,7 +71,7 @@ class Updater( object ): def main( args ): database = Database() - initializer = Updater( database, args and args[ 0 ] or None ) + initializer = Updater( database ) if __name__ == "__main__":