Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add disambiguateByNonOperator disambiguator #6540

Merged

Conversation

jakovljevic-mladen
Copy link
Member

@jakovljevic-mladen jakovljevic-mladen commented Jul 29, 2021

This PR fixes all errors when building docs. It add new disambiguator that removes duplicates when building docs. Since most of the operators are now exported in both root ('rxjs') and /operators paths, a lot of duplicates were created. With this disambiguator, precedence is given to those from 'index' module ('rxjs' import site).

Also, existing disambiguateByDeprecated disambiguator is changed for this reason: many duplicated documents that were deprecated are filtering all existing documents with this disambiguator which lead to yet another error saying that no documents are found.

Side note: for couple of months now, running npm run docs has always slightly modified /concatAll.svg file, which I committed now - this is totally unrelated to the issue solved with this PR. If not needed, please let me know so I can remove it.

Related issue (if exists):
Closes #6539

@jakovljevic-mladen
Copy link
Member Author

I'm not sure why this test is failing. It doesn't seem to be related to the changes from this PR. Seems related to #5370 and #4089 (@cartant).

@cartant
Copy link
Collaborator

cartant commented Jul 29, 2021

I'm not sure why this test is failing.

Ben encountered the same failing test - in CI - recently and was unable to get it to fail locally. Rerunning the CI tests 'fixed' the problem there and here, too.

@jakovljevic-mladen
Copy link
Member Author

@cartant thanks!

@benlesh benlesh merged commit 2b17e9c into ReactiveX:master Aug 5, 2021
@benlesh
Copy link
Member

benlesh commented Aug 5, 2021

Thank you @jakovljevic-mladen!

@jakovljevic-mladen jakovljevic-mladen deleted the fix_warnings_when_building_docs branch August 5, 2021 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create new disambiguator to remove warning when building docs
3 participants