Skip to content

How to add a custom language to be used with mkdocs? #3482

Discussion options

You must be logged in to vote

To get the download page working locally, you have to run it with a local HTTP server (e.g. this one). Then the download page will work.

Also, be sure to run npm run build before "downloading" the generated bundle. The download page load components.js, so that file has to be rebuilt.

My language appears in the list, but with a size of 0 KB

That's because we get the sizes from our GitHub repo. Since your languages isn't included, it will be displayed as 0KB.

However, this doesn't affect the bundle. It's just user-facing information.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mattias-mohlin
Comment options

Answer selected by mattias-mohlin
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