Skip to content

Contribution guidelines do not cover how to PR fixes for docs #221

Description

@jankapunkt

The documentation does require to start PRs from development. However, the readthedocs.io always points to master and fixes for stable docs should therefore be made by pointing to master and starting from master.

Otherwise we might face the uncomfortable situation of

  • either merging unstable code from development into master
  • or have to wait for the fix to be released until development is stable and mergeable

The contribution guidelines should therefore have their own section on how to contribute to the docs.

See #220 (comment)

Activity

  1. jorenvandeweyer commented on Aug 26, 2023

    @jorenvandeweyer
    Member

    Can we set the default branch to merge to development instead of master?

  2. jankapunkt commented on Aug 26, 2023

    @jankapunkt
    MemberAuthor
  3. dhensby commented on Jun 16, 2026

    @dhensby
    Contributor

    The specific ask here — a docs-contribution section — is now in place (CONTRIBUTING.md → ## Documentation: the Vitepress workflow, editing the guide section, the auto-generated api docs, and building).

    But triaging this surfaced a bigger, related problem worth fixing: our contribution guidance still describes a gitflow model and points contributors at a development branch (git checkout development, "target the development branch and not master"). That workflow is a bit out of date compared to more modern development flows — and it's the very workflow that let a fix land on development and never reach a release (e.g. the refresh-token scope-validation fix that sat on development, missed 5.3.0, and had to be recovered in #441).

    I'd propose we switch to GitHub Flow and retire the development branch: master is always deployable, protected, and gated by CI on every PR (which we already have). Benefits:

    • No more fixes stranded on development that never make it into a release.
    • Much simpler releases — especially now that semantic-release (ci: semantic releases #335) cuts releases straight from master, with prereleases on next/N.x via npm dist-tags.

    Keeping this open to track updating CONTRIBUTING.md to GitHub Flow and removing the stale development-branch guidance. cc @jankapunkt

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

    documentation 📑Improvements or additions to documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions