Skip to content

Add a gem-level index template #82

Description

@skatkov

Motivation

rdoc-markdown currently renders class/module pages with lib/templates/classfile.md.erb and emits index.csv directly from generator code. There is no canonical gem-level landing page/template where documentation-set metadata can live.

That leaves gem-wide signals, such as whether type information is available for the generated docs, without a natural home.

Proposal

Introduce a gem-level/index template that owns top-level documentation metadata and can also become the rendering path for index.csv or its replacement metadata.

The template could expose documentation-set attributes such as:

  • generated title
  • generated pages/classes summary
  • whether type signatures are available
  • links to generated class/module pages
  • search/index metadata currently emitted as index.csv

Notes

This should not change existing generated class/module page behavior initially. The first step can be a small additive template that gives gem-level concerns a canonical location instead of spreading them through class page templates or generator internals.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions