diff --git a/cypress/integration/guided-tour.spec.js b/cypress/integration/guided-tour.spec.js --- a/cypress/integration/guided-tour.spec.js +++ b/cypress/integration/guided-tour.spec.js @@ -24,7 +24,6 @@ }; it('should start UI guided tour when clicking on help button', function() { - cy.ambassadorLogin(); cy.visit('/'); cy.get('.swh-help-link') .click(); @@ -34,7 +33,6 @@ }); it('should change guided tour page after current page steps', function() { - cy.ambassadorLogin(); cy.visit('/'); cy.get('.swh-help-link') @@ -52,7 +50,6 @@ it('should automatically open SWHIDs tab on second page of the guided tour', function() { const guidedTourPageIndex = 1; - cy.ambassadorLogin(); cy.visit('/').window().then(win => { const guidedTour = win.swh.guided_tour.getGuidedTour(); // jump to third guided tour page @@ -71,7 +68,6 @@ it('should stay at step while line numbers not clicked on content view tour', function() { const guidedTourPageIndex = 2; - cy.ambassadorLogin(); // jump to third guided tour page cy.visit('/').window().then(win => { const guidedTour = win.swh.guided_tour.getGuidedTour(); diff --git a/swh/web/browse/urls.py b/swh/web/browse/urls.py --- a/swh/web/browse/urls.py +++ b/swh/web/browse/urls.py @@ -17,12 +17,6 @@ from swh.web.common.utils import origin_visit_types, reverse -def _browse_help_view(request): - return render( - request, "browse/help.html", {"heading": "How to browse the archive ?"} - ) - - def _browse_search_view(request): return render( request, @@ -48,7 +42,6 @@ urlpatterns = [ url(r"^$", _browse_search_view), - url(r"^help/$", _browse_help_view, name="browse-help"), url(r"^search/$", _browse_search_view, name="browse-search"), url(r"^vault/$", _browse_vault_view, name="browse-vault"), # for backward compatibility diff --git a/swh/web/templates/browse/help.html b/swh/web/templates/browse/help.html deleted file mode 100644 --- a/swh/web/templates/browse/help.html +++ /dev/null @@ -1,189 +0,0 @@ -{% extends "./layout.html" %} - -{% comment %} -Copyright (C) 2017-2020 The Software Heritage developers -See the AUTHORS file at the top-level directory of this distribution -License: GNU Affero General Public License version 3, or any later version -See top-level LICENSE file for more information -{% endcomment %} - -{% block navbar-content %} -
- This web application aims to provide HTML views to easily navigate in the Software Heritage archive. This is an ongoing development - and new features and improvements will be progressively added over time. -
- -- The current URI scheme of that web application is described below and depends on the type of Software Heritage object to - browse. Its exhaustive documentation can be consulted from the official - - Software Heritage development documentation - -
- -- Context-independent URLs provide information about objects (e.g., revisions, directories, contents, persons, …), independently - of the contexts where they have been found (e.g., specific software origins, branches, commits, …). -
- -- Below are some examples of endpoints used to just render the corresponding information for user consumption: -
- -- Where hyperlinks are created when browsing these kind of endpoints, they always point to other context-independent browsing - URLs. -
- -- Context-dependent URLs provide information about objects, limited to specific contexts where the objects have been found. -
- -- Currently, browsing the Software Heritage objects in the context of an - origin is available. Below are some examples of such endpoints: -
- -Help