zachhannum / mkdocs-toc-sidebar-plugin

An MkDocs plugin that allows users to add additional content to the ToC sidebar using the Material theme
MIT License
5 stars 3 forks source link

Update plugin.py #2

Closed OhMyMndy closed 2 years ago

OhMyMndy commented 4 years ago

Fix for _AttributeError: module 'mkdocs.utils' has no attribute 'stringtypes' after dropping support for Python 2.7 in Mkdocs

Can be tested by installing with pip3 install git+https://github.com/Mandy91/mkdocs-toc-sidebar-plugin.git@drop_python_2.7_support

Voronenko commented 4 years ago

Addresses also https://github.com/midnightprioriem/mkdocs-toc-sidebar-plugin/issues/3 Would be cool to merge and release updated version on a pypi