rubydoc.info icon indicating copy to clipboard operation
rubydoc.info copied to clipboard

Support for custom templates

Open 0x1eef opened this issue 2 years ago • 3 comments

I have created a simple custom template that adds my own stylesheet. It works locally, but not on rubydoc.info. Should it work, and if not - can support be added?

0x1eef avatar Apr 15 '22 10:04 0x1eef

Can you maybe share, in PR, what you've built so far?

skatkov avatar Sep 11 '22 10:09 skatkov

I have made a few edits to the default template, and for now I'm carrying them around in each of my projects and hosting the contents on GitHub pages - since rubydoc.info is not including them.

Example is here: https://github.com/0x1eef/trip.rb/tree/main/.yardoc-template/default

0x1eef avatar Sep 11 '22 23:09 0x1eef

I just realized some of those edits involve executing Ruby code so it is probably not practical to execute them on rubydoc.info.

0x1eef avatar Sep 11 '22 23:09 0x1eef