From: Jonatan Schlag Date: Fri, 12 Jan 2018 14:41:30 +0000 (+0100) Subject: Remove documentation section X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d74f2ae471a1921ccca6afbf9e4c77eb58478e66;p=pbs.git Remove documentation section Fixes: #11527 Signed-off-by: Jonatan Schlag --- diff --git a/Makefile.am b/Makefile.am index 4be51ff1..67bb8651 100644 --- a/Makefile.am +++ b/Makefile.am @@ -170,11 +170,6 @@ dist_templates_DATA = \ src/templates/distro-source-detail.html \ src/templates/distro-update-detail.html \ src/templates/distro-update-edit.html \ - src/templates/docs-base.html \ - src/templates/docs-build.html \ - src/templates/docs-index.html \ - src/templates/docs-users.html \ - src/templates/docs-whatsthis.html \ src/templates/file-detail.html \ src/templates/index.html \ src/templates/jobs-abort.html \ diff --git a/po/POTFILES.in b/po/POTFILES.in index 460c8b40..63cb9ab0 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -55,11 +55,6 @@ src/templates/distro-source-commits.html src/templates/distro-source-detail.html src/templates/distro-update-detail.html src/templates/distro-update-edit.html -src/templates/docs-base.html -src/templates/docs-build.html -src/templates/docs-index.html -src/templates/docs-users.html -src/templates/docs-whatsthis.html src/templates/errors/error-400.html src/templates/errors/error-403.html src/templates/errors/error-404.html diff --git a/src/templates/base.html b/src/templates/base.html index 980feca0..134b6651 100644 --- a/src/templates/base.html +++ b/src/templates/base.html @@ -35,7 +35,6 @@ {{ _("More") }} - {% block body %}TEST{% end block %} -{% end %} - -{% block sidebar %} - -
 
- -

{{ _("Topics") }}

- -{% end block %} diff --git a/src/templates/docs-build.html b/src/templates/docs-build.html deleted file mode 100644 index 31001d23..00000000 --- a/src/templates/docs-build.html +++ /dev/null @@ -1,44 +0,0 @@ -{% extends "docs-base.html" %} - -{% block title %}{{ _("Documentation") }} - {{ _("Legend of the build states") }}{% end block %} - -{% block body %} - - - - -

- {{ _("Every build that is done by the Pakfire Build Service has to go through several states:") }} -

-

- {{ _("After checking out the source from the source repository a source package is created and submitted to the build server.") }} - {{ _("Starting from inserting a source file to the build service, there are binary build jobs created for every supported architecture.") }} -

-

- {{ _("These get assigned to a build host which has to compile or assemble the package and return it back to the build server.") }} - {{ _("In the table below, there are all states that a build job goes through:") }} -

- -{% end %} diff --git a/src/templates/docs-index.html b/src/templates/docs-index.html deleted file mode 100644 index a9afd24f..00000000 --- a/src/templates/docs-index.html +++ /dev/null @@ -1,79 +0,0 @@ -{% extends "docs-base.html" %} - -{% block title %}{{ _("Documentation index") }}{% end block %} - -{% block body %} - - - - -
-
-

- {{ _("This is a collection of documents that should be read by everybody who is using this system.") }} -

- - - -

- {{ _("This documentation you find at this place is not completed yet.") }} - {{ _("Feel free to make any suggestions.") }} -

-
- -
-

{{ _("Contact") }}

-

- {{ _("If you need help using the build service or have some general questions please use our mailing list.") }} - {{ _("You can also talk to the developers and suggest feature enhancements.") }} -

-

- - {{ _("Mailing list") }} - -

- -

{{ _("Bug reports") }}

-

- {{ _("Please visit Bugzilla to create bug reports on the Pakfire Build System.") }} -

-

- - Bugzilla - -

-
-
-{% end %} diff --git a/src/templates/docs-users.html b/src/templates/docs-users.html deleted file mode 100644 index ee12cd4d..00000000 --- a/src/templates/docs-users.html +++ /dev/null @@ -1,59 +0,0 @@ -{% extends "docs-base.html" %} - -{% block title %}{{ _("Documentation") }} - {{ _("User groups") }}{% end block %} - -{% block body %} - - - - -

{{ _("Users") }}

-

- {{ _("All users can join the Pakfire Build Service and are separated into three groups:") }} -

- -

{{ _("Developers") }}

-

- {{ _("Developers manage this build service and have access to all parts of it.") }} - {{ _("They are responsible to keep the system running and able to push package updates to the repostories.") }} -

-

- {{ _("Guidelines for developers") }} -

- -

{{ _("Testers") }}

-

- {{ _("Testers are like users but have the right to vote on packages, which is used to figure out the quality of the package.") }} - {{ _("Everyone can become a tester after he or she has proven to know the IPFire system very well.") }} - {{ _("On these people depends a very huge amount of the quality of the distribution that is made out of the feedback they give.") }} -

-

- {{ _("Guidelines for testers") }} -

- -

{{ _("Users") }}

-

- {{ _("Everybody can join the Pakfire Build Service by registering an account.") }} - {{ _("After a successful activation you are able to leave comments on packages and give feedback to the developers about its status.") }} -

- - {% if not current_user %} -

- {{ _("Register") }} -

- {% end %} -{% end %} diff --git a/src/templates/docs-whatsthis.html b/src/templates/docs-whatsthis.html deleted file mode 100644 index 8d565af7..00000000 --- a/src/templates/docs-whatsthis.html +++ /dev/null @@ -1,63 +0,0 @@ -{% extends "docs-base.html" %} - -{% block title %}{{ _("Documentation") }} - {{ _("Legend of the build states") }}{% end block %} - -{% block body %} - - - - -
-
-

- {{ _("On this page, you will find out what the Pakfire Build Service really is.") }} - {{ _("Read carefully.") }} -

- - - - - - - - - - - - - - - - -
{{ _("Yeah, that's it!") }}{{ _("No, that's not it!") }}
-

- {{ _("PBS is a tool where people can give feedback to developers.") }} - {{ _("It is possible to leave comments and rate builds.") }} -

-
-

- {{ _("PBS is NOT a bugtracker.") }} - {{ _("To report bugs please use our bugtracker liked below if you want them to get fixed.") }} -

- -

- {{ _("Bugtracker") }} -

-
-
-
-{% end %} diff --git a/src/web/__init__.py b/src/web/__init__.py index e6fd3efd..0bfabcbf 100644 --- a/src/web/__init__.py +++ b/src/web/__init__.py @@ -227,12 +227,6 @@ class Application(tornado.web.Application): (r"/key/([A-Z0-9]+)", keys.KeysDownloadHandler), (r"/key/([A-Z0-9]+)/delete", keys.KeysDeleteHandler), - # Documents - (r"/documents", DocsIndexHandler), - (r"/documents/builds", DocsBuildsHandler), - (r"/documents/users", DocsUsersHandler), - (r"/documents/what-is-the-pakfire-build-service", DocsWhatsthisHandler), - # Search (r"/search", search.SearchHandler), diff --git a/src/web/handlers.py b/src/web/handlers.py index f9103862..16ceffeb 100644 --- a/src/web/handlers.py +++ b/src/web/handlers.py @@ -35,26 +35,6 @@ class UploadsHandler(base.BaseHandler): self.render("uploads-list.html", uploads=self.backend.uploads) -class DocsIndexHandler(base.BaseHandler): - def get(self): - self.render("docs-index.html") - - -class DocsBuildsHandler(base.BaseHandler): - def get(self): - self.render("docs-build.html") - - -class DocsUsersHandler(base.BaseHandler): - def get(self): - self.render("docs-users.html") - - -class DocsWhatsthisHandler(base.BaseHandler): - def get(self): - self.render("docs-whatsthis.html") - - class FileDetailHandler(base.BaseHandler): def get(self, uuid): pkg, file = self.backend.packages.get_with_file_by_uuid(uuid)