gristlabs / mkdocs-windmill

Outstanding mkdocs theme with a focus on navigation and usability
Other
110 stars 62 forks source link

Search not working on new content, and not displaying right on mobile #1

Closed ngawangtrinley closed 7 years ago

ngawangtrinley commented 7 years ago

I'm using your theme to build a documentation site on Tibetan NLP in Tibetan. I've opted to download the theme folder from github, but somehow the search doesn't build properly and the search bar doesn't scale properly on my mobile. My project is here.

bug

Thanks a lot for building this theme! It's going to be great.

dsagal commented 7 years ago

Apologies! This is brand new - mobile indeed doesn't work yet. I started on it, hope to have it later this week.

On Sun, May 28, 2017 at 11:52 AM ngawangtrinley notifications@github.com wrote:

I'm using your theme to build a documentation site on Tibetan NLP in Tibetan. I've opted to download the theme folder from github, but somehow the search doesn't build properly and the search bar doesn't scale properly on my mobile. My project is here http://arapatsa.com.

[image: bug] https://cloud.githubusercontent.com/assets/17675331/26530097/ad50fc6e-4400-11e7-9457-204a94dcf29a.PNG

Thanks a lot for building this theme! It's going to be great.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/gristlabs/mkdocs-windmill/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/ABCmR-4jcGI3lpuL6_5696dE2TtvSGbXks5r-ZhMgaJpZM4Norqg .

ngawangtrinley commented 7 years ago

Great! I'll keep an eye on the project. It's going to be useful for many people

dsagal commented 7 years ago

I made a lot of fixes for mobile, and published a new version. Please take a look! There is an example here: https://gristlabs.github.io/mkdocs-windmill/. Let me know what issues you find.

ngawangtrinley commented 7 years ago

It's looking great now, and the search works perfect. One thing when viewing on computer screens though, limiting the width of the text would make reading easier. Cheers!

dsagal commented 7 years ago

Excellent, I'll close this issue then.

Good idea for limiting the width: I added a limit of 700px (as medium.com does) on master. You can override it by using extra.css and setting .wm-page-content { width: <other>; } there.