[valadoc] doclets/*: Remove unnecessary directories



commit a6c7c09e39e11e0ace7c53d3578ed32f678e82f3
Author: Florian Brosch <flo brosch gmail com>
Date:   Sat May 22 17:10:32 2010 +0200

    doclets/*: Remove unnecessary directories

 src/doclets/devhelp/doclet.vala     |    4 ++++
 src/doclets/htm/doclet.vala         |    4 ++++
 src/doclets/valadoc.org/doclet.vala |    4 ++++
 src/doclets/xml/doclet.vala         |    4 ++++
 4 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/src/doclets/devhelp/doclet.vala b/src/doclets/devhelp/doclet.vala
index b0e2796..2e22455 100755
--- a/src/doclets/devhelp/doclet.vala
+++ b/src/doclets/devhelp/doclet.vala
@@ -69,6 +69,10 @@ public class Valadoc.Devhelp.Doclet : Valadoc.Html.BasicDoclet {
 	}
 
 	public override void visit_package (Package package) {
+		if (!package.is_browsable (settings)) {
+			return ;
+		}
+
 		string pkg_name = package.name;
 
 		string path = GLib.Path.build_filename (this.settings.path, pkg_name);
diff --git a/src/doclets/htm/doclet.vala b/src/doclets/htm/doclet.vala
index d7afc12..30a69a3 100755
--- a/src/doclets/htm/doclet.vala
+++ b/src/doclets/htm/doclet.vala
@@ -70,6 +70,10 @@ public class Valadoc.HtmlDoclet : Valadoc.Html.BasicDoclet {
 	}
 
 	public override void visit_package (Package package) {
+		if (!package.is_browsable (settings)) {
+			return ;
+		}
+
 		string pkg_name = package.name;
 		string path = GLib.Path.build_filename ( this.settings.path, pkg_name );
 
diff --git a/src/doclets/valadoc.org/doclet.vala b/src/doclets/valadoc.org/doclet.vala
index 85187d4..8f87ea3 100755
--- a/src/doclets/valadoc.org/doclet.vala
+++ b/src/doclets/valadoc.org/doclet.vala
@@ -65,6 +65,10 @@ public class Valadoc.ValadocOrg.Doclet : Valadoc.Html.BasicDoclet {
 	}
 
 	public override void visit_package (Package package) {
+		if (!package.is_browsable (settings)) {
+			return ;
+		}
+
 		string pkg_name = package.name;
 
 		string path = GLib.Path.build_filename (this.settings.path, pkg_name);
diff --git a/src/doclets/xml/doclet.vala b/src/doclets/xml/doclet.vala
index e053001..53e8122 100755
--- a/src/doclets/xml/doclet.vala
+++ b/src/doclets/xml/doclet.vala
@@ -66,6 +66,10 @@ public class Valadoc.Xml.Doclet : Api.Visitor, Valadoc.Doclet {
 	}
 
 	public override void visit_package (Api.Package package) {
+		if (!package.is_browsable (settings)) {
+			return ;
+		}
+
 		string path = GLib.Path.build_filename (this.settings.path, package.name);
 		DirUtils.create (path, 0777);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]