docs icon indicating copy to clipboard operation
docs copied to clipboard

sphinx php parameter rendering hard to read

Open othercorey opened this issue 4 years ago • 6 comments

https://book.cakephp.org/4/en/core-libraries/logging.html#namespace-Cake\Log

The formatting is inconsistent and the font size is very large.

image

othercorey avatar Aug 24 '21 07:08 othercorey

@markstory did something change in the sphinx plugin?

othercorey avatar Aug 24 '21 07:08 othercorey

Not any time recently, but I agree the formatting isn't great.

markstory avatar Aug 24 '21 14:08 markstory

This issue is stale because it has been open for 120 days with no activity. Remove the stale label or comment or this will be closed in 15 days

github-actions[bot] avatar Dec 23 '21 00:12 github-actions[bot]

This issue is stale because it has been open for 120 days with no activity. Remove the stale label or comment or this will be closed in 15 days

github-actions[bot] avatar Apr 23 '22 00:04 github-actions[bot]

Can I be of any help?

vinodkmwt avatar May 18 '22 09:05 vinodkmwt

Can I be of any help?

I think this is a css issue with dd elements.

othercorey avatar May 19 '22 08:05 othercorey

(Looks like) this issue belongs to cakephpsphinx package (default.css -> field-list) ... will propose a pull request for the theme (may be only a workaround)

preview:

image

following workaround applied to cakephpsphinx/themes/cakephp/static/css/default.css:

/* -- fix test -- */
.field-list,
.field-list strong {
  font-family: "Roboto Mono", "Consolas", "Monaco", monospace;
  color: #003d4c;
  font-weight: normal;
  font-size: 12px;
}
/* -- fix test end -- */

gludie avatar Feb 19 '23 01:02 gludie

(Looks like) this issue belongs to cakephpsphinx package

@gludie You're right that this issue belongs there now. The preview of your changes looks good to me. A pull request would be greatly appreciated.

markstory avatar Feb 19 '23 03:02 markstory

I guess, we can close the issue, hence PR was accepted and done in cakephp/sphinxtheme

gludie avatar Feb 27 '23 10:02 gludie

Thanks!

othercorey avatar Feb 27 '23 10:02 othercorey