Skip to content

Add API Documentations to the Website #494

@gemanor

Description

@gemanor

Important! This issue depends on the completion of #491

We want to add another tab to the docs website - API - which will have auto-generated pages based on our OpenAPI docs. The issue also includes some modifications/updates to the top Navbar on the website.

Requirements

  • The API references should be embedded in the documentation website with the following plugin: https://github.com/PaloAltoNetworks/docusaurus-openapi-docs
  • There are two sets of APIs to add to the docs
  • Each of these API spec docs should have its own sidebar with all the available APIs
  • In terms of menus, the existing sidebar should kept under a new navbar menu item, Docs, and each of the specs should be under new tabs in the new navbar
  • Each API endpoint has a different page URL
  • Every API page is SEO oriented with proper titles and descriptions for SEO purposes (the text should be taken from the OpenAPI)
  • UI modifications of the navbar:
    • Move the search box to the middle
    • Remove the border between the Permit.io/Docs and the search box
    • Add a left menu with three items (docs, API Reference, PDP API) - the style should fit with our docs, and the layout should be similar to the attached Stripe navbar layout
    • Add a right menu with two items (homepage and help)
    • Replace the Twitter icon/link at the top with LinkedIn icon/link https://www.linkedin.com/company/permitio
    • The navbar on the desktop should look as the attached layout reference screenshot
    • The UI changes need to be carefully tested on desktop and mobile

Bounty Assignment

  1. Before participating in this bounty, comment here with your detailed plan and timeline. We will not assign this issue if this information is missing. Please, DO NOT attempt the bounty before your proposal got accepted.
  2. This task is on a first-come, first-served basis, but we will give it to the most promising/detailed proposal. There is an ask to avoid any GPT-generated proposals.

Navbar Layout Reference

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions