or Create a profile
22 Jul, 2022 09:53 PM
I'm trying to add a newly minted gem to rdoc.info for the first time. You can find the gem here: https://github.com/LoganBarnett/monad-oxide
When I go to create or visit the gem in rdoc.info, I see this error:
undefined method new' for nil:NilClass /home/app/.gems/bundler/gems/yard-e21c9323bba8/lib/yard/templates/helpers/html_helper.rb:103:inhtml_markup_org' /home/app/.gems/bundler/gems/yard-e21c9323bba8/lib/yard/templates/helpers/html_helper.rb:62:in htmlify' /home/app/.gems/gems/yard-sd-0.0.4/lib/yard-sd/sequence_diagram_mixin.rb:5:inhtmlify' /home/app/.gems/bundler/gems/yard-e21c9323bba8/templates/default/layout/html/setup.rb:67:in diskfile' /home/app/.gems/bundler/gems/yard-e21c9323bba8/lib/yard/templates/template.rb:369:inrender_section'
new' for nil:NilClass /home/app/.gems/bundler/gems/yard-e21c9323bba8/lib/yard/templates/helpers/html_helper.rb:103:in
The entire error + stack is included as an attachment.
I am able to run Yard successfully on my local machine. However, I did have to install org-ruby to make it work, since I use .org (of org-mode fame/infamy) for my document format in this gem. That `html_markup_org' is in the error stack makes me think the org-mode processing might be involved in this error.
This is a successful run from yard:
@ bundle exec yard Files: 5
Modules: 1 ( 0 undocumented)
Classes: 7 ( 0 undocumented)
Constants: 1 ( 0 undocumented)
Attributes: 1 ( 0 undocumented)
Methods: 28 ( 0 undocumented)
Any help here would be appreciated. Thanks!
on 23 Jul, 2022 12:53 AM
I forgot to add, here's the rdoc.info link to the gem: https://rdoc.info/github/LoganBarnett/monad-oxide/main
on 23 Jul, 2022 07:31 AM
Based on a brief read of our Gemfile, it does not seem like we have any orgmode markup libraries installed. This is something we can fix, but this should explain the error.
Formatting help /
(switch to plain text)
(switch to Markdown)
You can attach files up to 10MB
If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.
A conversation has been started with the Rubydoc.info staff to resolve this discussion.
This discussion is private.
Only you and Rubydoc.info support staff can see and reply to it.
This discussion is public. Everyone can see and reply to it.
You can use Command ⌘ instead of Control ^ on Mac
Powered by Tender™.