php / php/doc-en

Table legibility on page is poor - use color to differentiate?

Open
#884 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

QA
Dominant language
XML
Stars
596
Forks
890
Avg merge
1d 15h
Merged PRs (30d)
55

Description

From manual page: https://php.net/types.comparisons

Sorry I couldn't submit a pull request to go along with this feature request; I honestly do not know how the XML docs work well and so don't know the best/most straightforward way to implement this.

The tables on this page, all three but especially the last two "loose comparisons" and "strict comparisons," are pretty hard to read as they are, populated with just the bold "true" and "false" text. I would like to suggest that each table cell also receive an identifying background color to ease reading those tables. So for example cells containing "true" could be set to a green background color and "false" to red.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start with the XML documentation source that generates https://php.net/types.comparisons and trace how its comparison tables are rendered. The work is done when the loose and strict comparison tables visibly distinguish true and false cells with background colors in the generated page.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
documentation
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.