how to save a website as a pdf on iphone

Want to read a website later but worried that you might not have an internet connection? Maybe there’s a long article that you want to save for later in case it gets taken down. Saving a website as a PDF would be a useful way to preserve the content, but how do you do that on an iPhone?