Mixed Function Spaces in Fenicsx

As stated on the top of the link you sent:

Note: this is documentation for an old release. View the latest documentation at docs.fenicsproject.org/dolfinx/v0.9.0/python/demos.html

If you go to the latest documentation, you’ll find
https://docs.fenicsproject.org/dolfinx/v0.9.0/python/search.html?q=MixedFunctionSpace&check_keywords=yes&area=default
along with

Additional resources include
http://jsdokken.com/FEniCS-workshop/src/multiphysics/submeshes.html
http://jsdokken.com/FEniCS-workshop/src/multiphysics/coupling.html
and