Hi,
OpenBSD is working on replacing the (heavily patched) apache 1.3 in
base with nginx. During that work the question was raised if we can
have a nginx.conf(5) man page.
As a proof of concept I put a perl script together which scrapes the
pages on nginx documentation (below “Modules reference”) and
generates a mdoc(7) file.
what’s the license of the documentation?
is the documentation on nginx documentation generated from some
sort of source file? Parsing the html works reasonably well but is not
optimal.
would there be interest to include a man page into the distribution
once it’s ready?
Thanks,
Florian
–
I’m not entirely sure you are real.
Hi,
OpenBSD is working on replacing the (heavily patched) apache 1.3 in
base with nginx. During that work the question was raised if we can
have a nginx.conf(5) man page.
Nice to hear.
As a proof of concept I put a perl script together which scrapes the
pages on nginx documentation (below “Modules reference”) and
generates a mdoc(7) file.
what’s the license of the documentation?
It’s under the same license as the whole nginx distribution:
On Tue, Sep 24, 2013 at 06:35:32PM +0400, Maxim K. wrote:
[…]
would there be interest to include a man page into the distribution
once it’s ready?
I think it’s a good idea while we manage to keep a single source for
both nginx.org docs and man page.
I actually don’t think it’s a good idea. We intentionally
have the documentation separated from the source code - it allows
to do releases and documentation editing/updating separately (and
this happens often). A separate distribution for a manpage might
be a better idea.
On Tue, Sep 24, 2013 at 06:45:50PM +0400, Maxim K. wrote:
I think it’s a good idea while we manage to keep a single source for
both nginx.org docs and man page.
I actually don’t think it’s a good idea. We intentionally
have the documentation separated from the source code - it allows
to do releases and documentation editing/updating separately (and
this happens often). A separate distribution for a manpage might
be a better idea.
Ability to generate man page from xml files doesn’t hurt.
Sure, as part of the nginx.org repository. But I believe the
original question was about including the resulting nginx.conf(5)
manpage into nginx distribution, which intentionally doesn’t
include documentation (except minimal nginx(8) manpage).
I actually don’t think it’s a good idea. We intentionally
have the documentation separated from the source code - it allows
to do releases and documentation editing/updating separately (and
this happens often). A separate distribution for a manpage might
be a better idea.
Ability to generate man page from xml files doesn’t hurt.
–
Maxim K.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.