Closed sabob closed 7 years ago
Use PR if deemed proper, otherwise reject ;-)
Was planning to add instructions for Windows last night, but was busy with other things.
We might want platform-specific instructions. IIRC, python and pip for Windows comes in an installer. For ubuntu, it's simply a sudo apt-get install python python-pip
. virtualenv can then be installed via pip. Then platform-specific activate and deactivate.
I pulled all of the changes except the inline demo over while I was fiddling with the index page. I'll add examples as playground entries and maybe get an inline embeddable version of the playground. Thanks!
Embeddable playground sounds great. What I like about inline demos, is you get instant feedback without breaking context eg. switching to a different view such as playground or jsfiddle
There is a bug in the sidebar, it doesn't set the selected item to active. I think this is a bug in mkdocs though.
I noticed that the other day. I'm not sure what changed, but it did work when we first started using mkdocs. I don't see any exceptions, unhandled or otherwise, that seem relevant on page load. I also don't have any experience with the bootstrap thingy that does the scroll spying.
I'm working on the layout mentioned in https://github.com/ractivejs/ractivejs.github.io/issues/16. I think the scrollspy handled the boldening of the sidebar items. Not sure what changed. I'm considering using CSS :target
for that instead.
Seems the the base.html in custom_theme folder doesn't have the spyscroll enabled. Not sure how that works either.
Ah! That actually makes sense. The scroll container is now a div rather than the body, so it's not getting scroll events on the element it is expecting any more. I'll see if there's a way to hook it up on the div.
Made the heading font-weight less, changed sidebar colors. Added an intro inline demo.