Skip to content
Discussion options

You must be logged in to vote

mkdocs serve is only meant for previewing. If you want to serve files with specific content types and as downloads, you'll need a proper reverse proxy or file server. I'm not sure if GitHub Pages will set the right headers so *.sh will be a download. The redirects plugin is probably not a good choice for this, as its purpose is to redirect links to HTML files.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@twpayne
Comment options

@twpayne
Comment options

Answer selected by squidfunk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants