Docs: Redirect from GitLab pages URL to custom domain when one exists

  1. Update doc/api/pages.md to reflect the new attribute.
  2. Update documentation with this new feature
Edited by Naman Jagdish Gala