Skip to content
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

Online man page styler from a URL of your choice #1

Open
Ircama opened this issue Jun 15, 2017 · 3 comments
Open

Online man page styler from a URL of your choice #1

Ircama opened this issue Jun 15, 2017 · 3 comments

Comments

@Ircama
Copy link

Ircama commented Jun 15, 2017

Congratulations for your work.

I would suggest to add a github page to your repository, which can be used to allow rendering the man page of any troff document available on the web by appending the related URL as parameter to that page, like this:

https://ircama.github.io/osm-carto-tutorials/manpage.html?url=https://raw.githubusercontent.com/openstreetmap/osm2pgsql/master/docs/osm2pgsql.1

In this very rough example (to be removed as soon as a better solution will be available), the rendered document is for instance https://raw.githubusercontent.com/openstreetmap/osm2pgsql/master/docs/osm2pgsql.1
The github page is https://github.com/Ircama/osm-carto-tutorials/blob/gh-pages/manpage.html

The inspiration for this idea is from https://matteobrusa.github.io/md-styler/

BTW, while testing some man pages with this example, I found some minor errors which I will report to you through specific github issues.

@roperzh
Copy link
Owner

roperzh commented Jun 16, 2017

Hello @Ircama,

I would suggest to add a github page to your repository, which can be used to allow rendering the man page of any troff document available on the web by appending the related URL as parameter to that page.

This sounds like a really good idea! if you want to improve your page instead of deleting it, I will gladly add a link to the README and other places.

BTW, while testing some man pages with this example, I found some minor errors which I will report to you through specific github issues.

Thank you so much for all the issues, they help a lot. I know that the parser is in alpha state, so sorry about that.

@Ircama
Copy link
Author

Ircama commented Jun 16, 2017

if you want to improve your page instead of deleting it, I will gladly add a link to the README and other places.

Thanks, but do not worry. I would not suggest this as that code is just a temporary work and needs optimization. I'm not going to improve it any further anyway.

@dspinellis
Copy link

I am working on this; see manview.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants