Project

General

Profile

Actions

Bug #10161

closed

C API docs not generated properly without baseruby

Added by swills (Steve Wills) over 9 years ago. Updated over 9 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.0.0p481 (2014-05-08 revision 45883) [amd64-freebsd11]
[ruby-core:64488]

Description

In 1.9.x, the C API docs would be generated properly even if you didn't have ruby installed first. However, this has changed in 2.0.0 and 2.1.x.

Because lines 44-50 of configure.in expect baseruby to exist or set it to "echo executable host ruby is required....", I think the lines at the top of template/Doxyfile.tmpl don't work and so you end up with FILE_VERSION_FILTER and INPUT_FILTER set to "echo executable host ruby is required....", which causes the doxygen docs to be generated without the "Modules" and "Data Structures" tabs. This makes the docs far less useful.

In 1.9.x, baseruby isn't checked to exist at build time, FILE_VERSION_FILTER and INPUT_FILTER end up set to miniruby and all works fine.

There are several ways to fix this, either changing configure.in, changing template/Doxyfile.tmpl etc.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0