Skip to content

Bug when using cached ri data with RDoc servlet (via :nodoc: excluded constants are shown) #177

@gettalong

Description

@gettalong

Description

When generating an ri cache directory with rdoc -r and then using ri --server to display the API documentation, constants that should not appear due to the :nodoc: directive are shown nonetheless.

When directly generating the HTML API documentation, the constants don't show up which is the correct way.

This was tested with the latest rdoc from the repository.

How to reproduce

  • cd /tmp/
  • git clone https://github.com/gettalong/webgen.git
  • cd webgen
  • rdoc -r --no-force-update -o ri-data lib
  • Link the ri-data directory to ~/.rdoc so that it can be viewed with the servlet.
  • ri --server and go to Webgen::Path

The four constants should not be shown since for all the :nodoc: directive is specified.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions