Repository navigation
fix(rxjs): Include index functions and improve scraper coverage (#2529) - #2540
aditya-7562 wants to merge 1 commit into
Conversation
|
timeInterval appears twice now as http://localhost:9292/rxjs/api/operators/timeinterval and http://localhost:9292/rxjs/api/index/function/timeinterval. Is this intended? |
Thanks for catching that! Yeah, the duplication is actually intentional — it matches how the official RxJS docs list timeInterval in both the standalone functions and the operators section. Since it’s validly part of both, the scraper now reflects that to stay consistent with the source. That said, if you think we should clean it up or consolidate one of the paths in DevDocs, I’m happy to make the change! |
|
Hey @simon04 Just checking in on this PR. As you pointed out, Would love to hear your thoughts when you get a chance — happy to tweak things as needed! |
|
Many users of devdocs simply use the search to find symbols when they already know the library. I dislike that every function is shown twice in the results (with different typesetting) when the actual content is indistinguishable. For comparison, searching for timeInterval on rxjs.dev only results in https://rxjs.dev/api/index/interface/TimeInterval and https://rxjs.dev/api/index/function/timeInterval
|
|
Thanks for the thoughtful feedback, @simon04 — that’s a really good point about the search results feeling cluttered with duplicates. I included Would you prefer we just keep it under Appreciate the guidance! |

Fixes #2529
This PR enhances the RxJS documentation by introducing a dedicated Top-level Functions category in the DevDocs sidebar. This improves discoverability for core RxJS functions such as of(), from(), and merge(), which were previously uncategorized or grouped under "Miscellaneous".
✅ Changes Made:
Updated
lib::docs::filters::rxjs::entriesget_typeto returnTop-level Functionsfor root-levelapi/entries that don't belong to any operator class (e.g.,ajax,animationFrameScheduler, etc.).Sidebar now reflects the new grouping for standalone functional APIs.
Ensured no impact to existing guide sections or categorized operators.
🧪 Testing
Ran the scraper locally and verified a successful build
Confirmed sidebar now contains a Top-level Functions section
Verified visual consistency and link correctness across updated entries