If you are looking to display your team rosters on your league website
Classic Website Editor:
Go to the Website tab and click Manage
Click the Settings button in the upper right
Under the 'Site Information' section on the left check Public Rosters
Website Builder:
Go to the Website tab and click Builder
Click Site Settings at the top
Go to the Site Info tab
Make sure Public Rosters is checked
These rosters will be visible when a team is clicked from the standings, schedule, statistics, or scores pages on your website.