Grinnz / perldoc-browser

Perldoc Browser
https://perldoc.perl.org
Artistic License 2.0
55 stars 21 forks source link

Use .pod extension for source responses #24

Closed Grinnz closed 3 years ago

Grinnz commented 5 years ago

Currently source responses are retrieved by calling the endpoint with the .txt extension. These are really POD documents so we should support and default to the .pod extension.

Grinnz commented 5 years ago

For core modules some of them are technically .pm but I don't think we need to care about that detail since we are not reflecting the actual file path.

Grinnz commented 3 years ago

I don't think this is a good idea. The file extension formats are indicative of how the documentation should be displayed, not its source.