Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for custom templates #169

Open
0x1eef opened this issue Apr 15, 2022 · 3 comments
Open

Support for custom templates #169

0x1eef opened this issue Apr 15, 2022 · 3 comments

Comments

@0x1eef
Copy link

0x1eef commented Apr 15, 2022

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?

@skatkov
Copy link
Contributor

skatkov commented Sep 11, 2022

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

@0x1eef
Copy link
Author

0x1eef commented Sep 11, 2022

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
Copy link
Author

0x1eef commented Sep 11, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants