Unable to build the doumentation

Until now I was building the documentation of beat.docs that checks out the beat.web package and it is building the documentation. But when I try to build only the documentation of beat.web separately I get this error.

pkg_resources.DistributionNotFound: The 'beat.web' distribution was not found and is required by the application

Any ideas?