SketchUp / ruby-api-docs

SketchUp Ruby API Documentation
18 stars 9 forks source link

"Generated on" Footer #26

Closed jimfoltz closed 7 years ago

jimfoltz commented 7 years ago

Could the "Generated On" footer by kept to a single file so it does not touch every file html file in the repo? It's hard to find what actually changed when all the files have changed due to the generation date being updated.

MSP-Greg commented 7 years ago

Lose the footer date-time and maybe put a rev date in the SU/Trimble header?

templates\default\layout\html\footer.erb

thomthom commented 7 years ago

Yea, the timestamp have bothered me as well. Not sure how we can insert it to only one page. It's doable somehow, but tracing hiw the template work is convoluted. I wad tempted at removing it all together.

Greg, moving the tomestamp from the footer to the header doesn't change anything, all the erb files get compiled to single html files.

jimfoltz commented 7 years ago

iframe? The side-bar is an iframe using the class_list.html as its source.

jimfoltz commented 7 years ago

I will play with the template and see what works. I think an iframe should work using some generatde footer.html file as its source.

thomthom commented 7 years ago

Is the timestamp that useful/important though?

thomthom commented 7 years ago

The git repo got timesyamps for the particularly interested.

jimfoltz commented 7 years ago

Is the timestamp that useful/important though?

No. I figured it was something you wanted.

thomthom commented 7 years ago

Nah, it was part of the default template. I think I'll just strip it out.

MSP-Greg commented 7 years ago

@thomthom

doesn't change anything, all the erb files get compiled to single html files.

Missed that, sorry. Thought maybe it was an iframe.

You could use an iframe for the header or open the css file and use :after content to change it in the header...

thomthom commented 7 years ago

I'm not a fan of iframe. Adds extra HTTP requests - for a timestamp its not worth it. Frames in genetal is discouraged in moders webdesign.

MSP-Greg commented 7 years ago

FYI, I striped it out so my commits would involve just the changed files, main 'home' page shows when the library was last updated.

Speaking of, thought about adding the Ruby library in current SU version? IOW, site would have the SU API docs and the Ruby docs...