Mainnet docs are version-pinned. Check each section's exact version in the sidebar; it can lag the newest upstream release.
Some basic example contracts to see how Sway and Forc work.
Additional examples can be found in the Sway Applications repository.