GithubHelp home page GithubHelp logo

openpodcastapi / api-specs Goto Github PK

View Code? Open in Web Editor NEW
40.0 5.0 1.0 1.16 MB

Open Podcast API specifications

Home Page: https://www.openpodcastapi.org/specs

License: Other

JavaScript 3.64% Astro 1.65% TypeScript 0.50% MDX 94.22%
specification podcasting api

api-specs's People

Contributors

georgkrause avatar jonofus avatar keunes avatar mogwa1 avatar renovate[bot] avatar sporiff avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

jonofus

api-specs's Issues

Set up PR deployments

It would be nice to be able to deploy changes made in a PR to a preview environment so that contributors can see the rendered output when reviewing a PR. Some actions such as PR Preview Action exist to help with this already, so we might be able to use something like the following:

# .github/workflows/preview.yml
name: Deploy PR previews

on:
  # Runs on pull requests targeting the default branch
  pull_request:
    types:
      - opened
      - reopened
      - synchronize

  # Allows you to run this workflow manually from the Actions tab
  workflow_dispatch:

concurrency:
  group: preview-${{ github.ref }}
  cancel-in-progress: false

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
  contents: read
  pages: write
  id-token: write

jobs:
  deploy-preview:
    runs-on: ubuntu-20.04
    steps:
      # Checkout the branch
      - name: Checkout
        uses: actions/checkout@v3
      # Setup Poetry for dependencies
      - name: Setup Poetry
        uses: Gr1N/setup-poetry@v8
      # Build the site with Poetry
      - name: Build html
        run: |
          cd docs
          poetry install
          poetry run make html
      # Deploy the preview to a subsite
      - name: Deploy preview
        uses: rossjrw/pr-preview-action@v1
        with:
          source-dir: _build/html
          preview-branch: main
          umbrella-dir: docs
          action: auto

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/ci.yml
  • actions/checkout v4
  • lycheeverse/lychee-action v1.10.0
  • ubuntu 22.04
npm
package.json
  • @astrojs/starlight ^0.23.4
  • astro ^4.9.3
  • astro-auto-import ^0.4.2
  • remark-definition-list ^2.0.0
  • sharp ^0.33.3
  • starlight-openapi ^0.6.3

  • Check this box to trigger a request for Renovate to run again on this repository

RFC2119 capitalisation

The capitalisation comes from RFC2119, which defined some keywords practical for specification designing. E.g. SHOULD is defined as:

This word, or the adjective "RECOMMENDED", mean that there may exist valid reasons in particular circumstances to ignore a particular item, but the full implications must be understood and carefully weighed before choosing a different course.

So the capitalisation indicates that this definition is used.

If we decide to use this, we have to put the following text somewhere prominent in the spec:

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL
NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED",  "MAY", and
"OPTIONAL" in this document are to be interpreted as described in
[RFC 2119](https://www.rfc-editor.org/rfc/rfc2119).

Originally posted by @JonOfUs in #42 (comment)

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Location: renovate.json
Error type: The renovate configuration file contains some invalid settings
Message: Invalid regExp for packageRules[1].matchPackagePatterns: *astro*

404 on GET /subscriptions

Our OpenAPI Specs show that there might be a 404 on GET /subscriptions, however I am wondering what this means. In which scenario would this happen?

As far as I can tell, the returned json is a list, so in case there is no subscription, it would basically return []. The endpoint is also required, so its not allowed to be missing.

cc @Sporiff

Set up GitHub pages

To host the new documentation site, we need to configure a Sphinx build process and set up deployment to GitHub pages. Once this is configured, we can use a custom domain to access the site.

Makefile improvements

I think we should improve the docs Makefile:

  • Add a hint that the available commands are run in docker
  • Provide a build command to build something we can release

@Sporiff Can you help with the second point?

Set up Sphinx

We need to have a site dedicated to hosting our specs and outlining our technical materials. The best documentation platform for this kind of work is Sphinx.

We need to set this up with the following:

  • Mermaid for diagramming
  • MyST for markdown support
  • A responsive and pleasant theme

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.