aitjcize / cppman

C++ 98/11/14 manual pages for Linux/MacOS
GNU General Public License v3.0
1.27k stars 79 forks source link

Add cppreference as an alternative backend #24

Closed garaud closed 9 years ago

garaud commented 9 years ago

Hi,

Use http://en.cppreference.com/ as an alternative backend.

As we talked about the cppreference website in the issue https://github.com/aitjcize/cppman/issues/23 I decided to add an issue dedicated to this task.

Regards, Damien G.

aitjcize commented 9 years ago

@garaud I just implemented the cppreference.com backend, can you try it out and tell me what you think?

use cppman -s cppreference.com to switch to cppreference.com

garaud commented 9 years ago

Thanks !! Looks great. Sometimes, you have some piece of code which is not highlighted (I use the vim pager). In 'Possible Implemenation' sections, you have sometimes two possible implementations

First version
[code here]...
Second version
[code here]

In this case, the code isn't highlighted. In the same way, in the 'Example' section, when you have a sentence which can explained the content before the piece of code, it's not highlighted.

For instance, you can check algorithm::mismatch page.

It's not very important, just a note. The content seems be here. so it's great. I won't hesitate to open an issue if I see something wrong.

aitjcize commented 9 years ago

Thanks for the feedback, I'll fix it soon :)