[docs] Add docs support.
Determine what write access to use based on the catalog's write access.