jimporter / mike

Manage multiple versions of your MkDocs-powered documentation via Git
BSD 3-Clause "New" or "Revised" License
536 stars 47 forks source link

Change doc order #27

Closed amber-moe closed 3 years ago

amber-moe commented 3 years ago

I noticed that if you don't set-default version, you can't run mike serve successfully. Shall we change the doc order to remind the users?

jimporter commented 3 years ago

Hmm, it works for me. What's the error message you're getting?

Note that if you don't have a default and just try navigating to http://localhost:8000/ (or wherever mike serve is serving the docs), you'll get a 404. You need to type in the URL to a specific version, e.g. http://localhost:8000/1.0/.

amber-moe commented 3 years ago

yes as you said I got a lot 404 when trying to access the http://localhost:8000/ directly

jimporter commented 3 years ago

I added a bit more explanation of what's going on to the 404 page when you navigate to http://localhost:8000. Hopefully that will help anyone who runs into this in the future understand what's going on and how to fix it. Thanks for the bug report!

amber-moe commented 3 years ago

thanks