-
Couldn't load subscription status.
- Fork 3.4k
Switch to Pod::Simple::XHTML. #241
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
Conversation
|
That was quick ;) Do the tests pass for you? They're failing for me: |
|
I don't run the tests, but noticed the failure in Travis. Hopefully 8d326ff will fix it. |
|
Hrm. Looking at this failure, it appears that perldoc isn't getting called. Is there something that's not recognizing that file as Pod? I don't know enough about how this works to judge. |
|
For some reason, it is comparing the raw Pod to the HTML. Curious. It looks like it properly generated HTML in this test, but not after I committed the updated |
|
You mentioned that Pod 3.12 is recommended. What version of perl is that installed with? How do we install the latest? |
|
3.12 was released in 2009, so it should be in 5.12. You just need to have Pod::Simple::XHTML installed. You can get the latest from CPAN with |
|
Any idea why this is failing? |
|
What version of Pod::Simple is on those boxes? We could try updating it by running |
|
I don't get it. Maybe |
|
/me sighs @bkeepers Can you suggest how to get |
|
@theory The easiest thing would probably just be to make a call to |
|
Well, it stupidly sent output to a pager, but the output looks right. So I don't know WTF is going on. |
|
@bkeepers The |
|
You can try commenting out these rescue lines: https://github.com/github/markup/blob/master/lib/github/markup/command_implementation.rb#L45-L48 |
|
Hrm. 6786b1f's not going into the Travis build queue… :-( |
|
Any idea what the issue is with Travis, @bkeepers? |
|
No clue. I'm not seeing it show up here either https://travis-ci.org/github/markup/pull_requests What happens if you push something again? |
|
Let's find out. |
|
Crap. I guess I need to create another pull request? |
|
I'm not sure what's going on with travis. I tried running the perl command locally after installing the latest But let's try this, create a |
|
Oh, that’s an old version of |
|
Okay, done in adbadcc. Be aware that Perl itself ships with a script named |
There are a few reasons for this: * It's HTML output is *much* cleaner. * You can tell it not to emit headers and footers directly. The only downside is that you need a fairly recent version of Pod::Simple for it to be there and really solid. I recommend 3.12 or higher, and at least 3.11.
I'm sure there is one, since Perl builds use it, but I don't know what it's called. This will do for now.
To see what the errors are.
By putting it all into a Perl script, we can more easily control things, including being able to add code to sent the indentation for verbatim blocks to the indentation of the first line.
|
Rebased. |
The perl-doc package failed to install with a 404. But maybe it will not be needed now.
|
Okay, back to the thing refusing to convert the Pod again. Can you look into it now, @bkeepers? |
|
Yep, it'll be a few days, but it's on my list. |
|
Great, thank you. |
|
Is this worth merging? It should be combined with #421, imo. |
|
The spammers above have brought this back to my attention. What can we do to move this forward? |
|
Can we move this forward? |
|
@github/workflow for determination on rendering these documents. |
|
I've resurrected this at #241 with a master merge. I would love to get this merged! |
There are a few reasons for this:
The only downside is that you need a fairly recent version of Pod::Simple for
it to be there and really solid. I recommend 3.12 or higher, and at least
3.11.