Re: Small modification suggestion to new PHPDoc
| From: | Hannes Magnusson | Date: | Sat, 23 Aug 2008 17:52:36 +0000 |
| Subject: | Re: Small modification suggestion to new PHPDoc | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-2512@lists.php.net to get a copy of this message | ||
On Sat, Aug 23, 2008 at 19:13, Guilherme Blanco
<guilhermeblanco@gmail.com> wrote:
> Hi Bjori,
>
>
> Pierre pointed me to message you.
> I checked the new PHP Doc layout and I want to suggest 2 small modifications.
>
> 1- Code examples
> They are too similar to documentation, so I suggest a way to
> differenciate them from paragraphs.
> The change is simple and could be tested with firebug before apply.
>
> .example-contents {
> background-color: #fff;
> border: 1px solid #e2e2e2;
> padding: 5px 10px;
> }
>
> This will modify all examples to have a white background with smooth
> border color and internal padding to increase visual experience.
Committed, thanks!
There is still one minor annoying bug in PhD that generates two <pre>
blocks in some cases, screwing up few examples.. I'll try to look into
that
> 2- Differenciate sections
> At the first glance, it's difficult to differenciate between section,
> sub-section, etc.
> Please try to find a combination of color/size/style that differenciates it.
> If you prefer, I can give you a final patch to fix this too.
I completely agree. Each .refsect1 should probably be "boxed in" somehow..
If you have a patch for it, awesome, if not.. I'll try to get AOE
media to come up with something for us ;)
-Hannes