Skip to content
This repository was archived by the owner on May 23, 2025. It is now read-only.
This repository was archived by the owner on May 23, 2025. It is now read-only.

Make OCA bot push docs #7

Description

@yajo

@sbidoul we can discuss here the implementation of the bot work.

Current plan:

  • When a PR is merged, it should get to this repo and check if that module has docs.
  • If there are no docs, then it should generate the module docs here directly.
  • If it has docs, (or if it didn't have but now it has because of the previous step) then it should:
    • Remove these fragments:
      • CONFIGURE
      • CONTEXT
      • USAGE
      • DESCRIPTION
      • INSTALL
    • Add a basic DESCRIPTION fragment that just points to the docs URL. The URL must be written directly, so users browsing the README from Odoo Apps store can copy the URL and paste it in the browser (because they remove any links).

The goal is that the single source of truth for a module docs should be found here, but we wouldn't want to force developers to open 2 PRs when proposing a new module.

Notice that, when the PR alters the module behavior and thus the README needs an update, yes they will need to open 2 PRs. But the 2nd one can be done by someone else (hopefully a functional person).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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