Open
Description
We have some functions that are reimplemented per architecture, with docs only on one implementation. Rustdoc should ideally be able to merge these docs.
More seriously though a bunch of our libc hierarchy can't be viewed because it's conditionally compiled and the docs are built on linux.
Probably rustdoc should extract its documentation before pruning the AST for conditional compilation, collapse things with the same name into a single document, then run resolve.
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
graydon commentedon Mar 21, 2012
I think the latter case is probably best, yes. Collapse-same-name is a bit of a kludge but not entirely unexpected.
catamorphism commentedon Jun 10, 2013
Not backwards-compatible. Nominating for milestone 4, well-covered (having documentation tools work the way we expect is helpful in making sure the documentation covers everything...)
graydon commentedon Jun 13, 2013
doc-coverage can be assured elsewhere, but this is embarrassing. should be fixed before production ready.
graydon commentedon Jun 13, 2013
accepted for production-ready milestone
msullivan commentedon Aug 10, 2013
Nothing new to say except to link to #5413.
emberian commentedon Aug 15, 2013
#8125
This is not yet fixed by rustdoc_ng, and requires a bit of thought.
emberian commentedon Sep 18, 2013
This is a hard problem with no good solution. If I use the AST before configuration, I can't have any hyperlinking for those items. Is that worth it?
catamorphism commentedon Oct 24, 2013
Low, no milestone
emberian commentedon Jul 28, 2014
My current thinking:
core
.Then, later, when cleaning, check if the item's nodeid is in the sidetable of cfg'd things. If so, add them to a vec of "alternatives" in the item, cleaning each.
This depends on:
When rendered, we'd have a list of "alternative definitions", listing the cfg's that would have enabled them. This of course doesn't handle things that are actually conditionally enabled/disabled, just things that are defined multiple times.
pcwalton commentedon Jul 29, 2014
I'm not sure about AST renumberings off the top of my head.
65 remaining items