In the doc you want to share, go to the share button
A menu will appear in the middle of your screen as in the screenshot below
Select “copy link”, then choose anyone with link and set your “access rights” in the screenhot they are “can view or play” ( for the community the best option in most cases)