Skip to content

Add rustdoc option to make old docs "less important" to make search engine results more pertinent #48671

Open
@GuillaumeGomez

Description

@GuillaumeGomez

I think about something like:

rustdoc --robots-options="less-important" # or whatever option it is for search engine robots

However, this option will need to be called for the version specific docs generation (I'm talking about doc.rust-lang.org/doc/1.x.y) and not on "not specific" docs ( doc.rust-lang.org/doc/stable, ``doc.rust-lang.org/doc/betaordoc.rust-lang.org/doc/nightly`). Maybe you know something about this @Mark-Simulacrum? (wild guess)

cc @QuietMisdreavus (does the option's name seems ok to you?)

Metadata

Metadata

Labels

C-enhancementCategory: An issue proposing an enhancement or a PR with one.T-releaseRelevant to the release subteam, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions