Documentation sources are not linted in CI

Open
#8,480 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
64/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
github-actions, markdown

Research direction

Start with .github/workflows/docs-pull-request.yml, then inspect the lint target in docs/Makefile and the prettier hook in .pre-commit-config.yaml. Run the existing documentation lint checks, resolve the current formatting and Markdown findings under docs/, and verify that a documentation pull request with a lint defect fails CI.

Written by the indexing model from the issue text.

Description

bug docs

Documentation pull requests pass CI with formatting and Markdown quality defects which should be caught before review. The docs CI workflow only builds the site (.github/workflows/docs-pull-request.yml); the existing lint Makefile target (docs/Makefile) and the repository pre-commit prettier hook (.pre-commit-config.yaml) are never run by CI. As a result, the current documentation sources already fail formatting on 151 files and carry thousands of Markdown lint findings.

Acceptance criteria

  • All current documentation sources under docs/ pass formatting and Markdown lint checks.
  • A documentation pull request that introduces a formatting or Markdown lint defect fails CI.
Dominant language
Python
Stars
9.9k
Forks
658
Avg merge
1d 15h
Merged PRs (30d)
168

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Flagsmith/flagsmith

All issues in Flagsmith/flagsmith

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.