Links to Documentation include a timestamp to make the exact version you link to viewable for all time.
By default the latest version is shown (future revisions are hopefully improved, after all), but a banner linking to the older version is added.
If an example is deleted (but the topic still exists), you'll see an option to view the topic as it was before the example was deleted.
If the entire topic was deleted, you'll get one of two options depending on whether your link includes a stamp (and if the timestamp points to a date prior to deletion).
The only exception to being able to view deleted content is if the content had to be taken down permanently for some legal or moderation reason: things like social security numbers, bank account info, DMCA requests, pornography, spam, etc.