jeaye / stdman

Formatted C++20 stdlib man pages (cppreference)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bad formatting in some files (std::find_first_of, for example)

jeaye opened this issue · comments

These formatting issues are not caused by stdman, but rather the way elinks is rendering the html. Some steps could be taken to massage the html into something elinks prefers.

How about using 'lynx' instead of 'elinks'.
Lynx seem to render the html files better. If using lynx is okay, I would be more than happy to make the required changes and send a pull request.

When I first created stdman, I tried both lynx and elinks. If I remember correctly, elinks handles the tables much better; that seemed worth it, given how often cppref lays things out as tables.

@jeaye
okay, then how about a python script to parse the html page ? I think that would mostly be easy and will be able to achieve better formatting.
or, how would you suggest it otherwise ?