Searching for EnableWebSecurity at https://docs.spring.io/spring-security/reference/ shows 10 results that are all for EnableWebMvcSecurity. For example, https://docs.spring.io/spring-security/reference/5.7.0-RC1/servlet/integrations/mvc.html#mvc-enablewebmvcsecurity is the top hit.
Comment From: wilkinsona
This has been fixed in the latest docs.