rosscdh / mkdocs-markdownextradata-plugin

A MkDocs plugin that injects the mkdocs.yml extra variables into the markdown template
MIT License
83 stars 18 forks source link

python is difficult #2

Closed snelweg closed 6 years ago

snelweg commented 6 years ago

Collecting mkdocs-markdownextradata-plugin Could not find a version that satisfies the requirement mkdocs-markdownextradata-plugin (from versions: ) No matching distribution found for mkdocs-markdownextradata-plugin

What does this mean ???????

mkdocs --version mkdocs, version 1.0 from /usr/local/lib/python2.7/dist-packages/mkdocs (Python 2.7)

python --version Python 2.7.13

rosscdh commented 6 years ago

Hey there,

Python 3 only I believe

On Sat, Aug 4, 2018 at 10:32 PM Ton notifications@github.com wrote:

Collecting mkdocs-markdownextradata-plugin Could not find a version that satisfies the requirement mkdocs-markdownextradata-plugin (from versions: ) No matching distribution found for mkdocs-markdownextradata-plugin

What does this mean ???????

mkdocs --version mkdocs, version 1.0 from /usr/local/lib/python2.7/dist-packages/mkdocs (Python 2.7)

python --version Python 2.7.13

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rosscdh/mkdocs-markdownextradata-plugin/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/AAYPMoJjDeN2ayAZenp2gYFlMLkkg1gqks5uNgTGgaJpZM4VvIVd .

rosscdh commented 6 years ago

https://github.com/rosscdh/mkdocs-markdownextradata-plugin/blob/master/setup.py#L29

snelweg commented 6 years ago

ok, switched over to python 3.5.3

Now the mkdocs server craps out and says:

ERROR - Error reading page 'index.md': on_page_markdown() missing 1 required positional argument: 'site_navigation'

Thanks for your help

rosscdh commented 6 years ago

just uploaded 0.0.5 try pip install the plugin again with -U

pip install mkdocs-markdownextradata-plugin==0.0.5
snelweg commented 6 years ago

just uploaded 0.0.5 try pip install the plugin again with -U

Thanks, it works now! Keep up the good work, thank you for making this available!

rosscdh commented 6 years ago

My pleasure mate. Good luck with your project and thanks for helping refine it.

On Sun, 5 Aug 2018, 08:58 Ton, notifications@github.com wrote:

just uploaded 0.0.5 try pip install the plugin again with -U

Thanks, it works now! Keep up the good work, thank you for making this available!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/rosscdh/mkdocs-markdownextradata-plugin/issues/2#issuecomment-410500261, or mute the thread https://github.com/notifications/unsubscribe-auth/AAYPMngkUSGPHV4mjDW-Quwj1t3VReb9ks5uNpepgaJpZM4VvIVd .