diff --git a/hc/front/urls.py b/hc/front/urls.py index 28b68c35..140e5a60 100644 --- a/hc/front/urls.py +++ b/hc/front/urls.py @@ -55,4 +55,5 @@ urlpatterns = [ path('docs/', views.docs, name="hc-docs"), path('docs/api/', views.docs_api, name="hc-docs-api"), path('docs/cron/', views.docs_cron, name="hc-docs-cron"), + path('docs/resources/', views.docs_resources, name="hc-docs-resources"), ] diff --git a/hc/front/views.py b/hc/front/views.py index 24796abb..3221369e 100644 --- a/hc/front/views.py +++ b/hc/front/views.py @@ -183,6 +183,11 @@ def docs_cron(request): return render(request, "front/docs_cron.html", ctx) +def docs_resources(request): + ctx = {"page": "docs", "section": "resources"} + return render(request, "front/docs_resources.html", ctx) + + @require_POST @login_required def add_check(request): diff --git a/templates/front/base_docs.html b/templates/front/base_docs.html index 44187b53..fd9bf4d0 100644 --- a/templates/front/base_docs.html +++ b/templates/front/base_docs.html @@ -24,7 +24,10 @@ Cron Syntax
  • - REST API + API Reference +
  • +
  • + Third-Party Resources
  • diff --git a/templates/front/docs_api.html b/templates/front/docs_api.html index 2d76424c..5e4cdf8b 100644 --- a/templates/front/docs_api.html +++ b/templates/front/docs_api.html @@ -1,7 +1,7 @@ {% extends "front/base_docs.html" %} {% load compress static hc_extras %} -{% block title %}REST API - {% site_name %}{% endblock %} +{% block title %}API Reference - {% site_name %}{% endblock %} {% block description %} @@ -9,7 +9,7 @@ {% block docs_content %} -

    REST API

    +

    API Reference

    {% site_name %} REST API supports listing, creating, updating, pausing and deleting checks in user's account.

    diff --git a/templates/front/docs_resources.html b/templates/front/docs_resources.html new file mode 100644 index 00000000..e248403e --- /dev/null +++ b/templates/front/docs_resources.html @@ -0,0 +1,52 @@ +{% extends "front/base_docs.html" %} +{% load compress static hc_extras %} + +{% block title %}Third-Party Resources - {% site_name %}{% endblock %} + +{% block description %} + +{% endblock %} + +{% block docs_content %} +

    Third-Party Resources

    + +

    A collection of third-party software projects that integrate + with Healthchecks. Please submit additions and corrections + on GitHub. +

    + +

    Deployment Tools

    + + + +

    API Wrappers

    + + + +

    Plugins & Integrations

    + + + +

    Other

    + + +{% endblock %} \ No newline at end of file diff --git a/templates/front/single_resource.html b/templates/front/single_resource.html new file mode 100644 index 00000000..fec44546 --- /dev/null +++ b/templates/front/single_resource.html @@ -0,0 +1,3 @@ +
  • + {{ name }} – {{ desc }} +