Confluence allows you to export part of, or the entire contents of, a space into a zipped archive of HTML files. This is useful if you want convert your space into a static website.
To export pages to HTML:
Screenshot: Selecting pages to export

...\download\attachments\xxxxxxxxxxxx is the page ID of the page containing the attachments.index.html and displays the space's details as well as a list of all available pages within it.Exporting Confluence Pages and Spaces to PDF
Exporting Confluence Pages and Spaces to XML
Take me back to the Confluence User's Guide.