SketchUp / sketchup-yard-template

YARD Template used to generate SketchUp Ruby API documentations
MIT License
13 stars 5 forks source link

CSS files do not have line wraps in GitHub code viewer #9

Closed DanRathbun closed 7 years ago

DanRathbun commented 7 years ago

CSS files do not have line wraps in GitHub code viewer.

Files infolder: /su-template/default/fulldoc/html/css/

thomthom commented 7 years ago

Some of the files are automatically generated and minified. (They should relate to the SketchUp header I think.)

Any file in particular? Or any element in particular you where looking for?

DanRathbun commented 7 years ago

There are only 2 files in that folder.

At the time, I was looking to see if your template had modified the div#search style rule.

Since they are minified (or "un-linefeed-ified") it is very hard to read them to know.

@thomthom: (They should relate to the SketchUp header I think.)

If this is true, and only these OEM stylesheets will be minified, then that's alright. I just found it weird that you'd post a project, and ask ppl to clone&PR, with obfuscated files.

I thought perhaps the file were using EOLs that the GitHub code viewer didn't like.

thomthom commented 7 years ago

The API docs were made before we figured out we could start accepting pull request for this.

I think Chrome's Developer Tools have some feature to prettyfi CSS. At least it will let you see all the styles it uses.

thomthom commented 7 years ago

Found it: http://stackoverflow.com/a/33731704

image

DanRathbun commented 7 years ago

I think Chrome's Developer Tools have some feature to prettyfi CSS. At least it will let you see all the styles it uses.

Thanx, Tried it, it works. (Now to remember.) Closing this issue.