Coder Social home page Coder Social logo

Comments (15)

mmatyas avatar mmatyas commented on May 29, 2024 1

+1

Here are the deprecation warnings I get with mkdocs 0.16.3:

WARNING -  Template variable warning: 'copyright' is being deprecated and will not be available in a future version. Use 'config.copyright' instead. 
WARNING -  Template variable warning: 'favicon' is being deprecated and will not be available in a future version. Use '{{ base_url }}/img/favicon.ico' instead. 
WARNING -  Template variable warning: 'current_page' is being deprecated and will not be available in a future version. Use 'page' instead. 
WARNING -  Template variable warning: 'site_name' is being deprecated and will not be available in a future version. Use 'config.site_name' instead. 
WARNING -  Template variable warning: 'page_title' is being deprecated and will not be available in a future version. Use 'page.title' instead. 
WARNING -  Template variable warning: 'page_description' is being deprecated and will not be available in a future version. Use 'config.site_description' instead. 
WARNING -  Template variable warning: 'canonical_url' is being deprecated and will not be available in a future version. Use 'page.canonical_url' instead. 
WARNING -  Template variable warning: 'site_author' is being deprecated and will not be available in a future version. Use 'config.site_author' instead. 
WARNING -  Template variable warning: 'next_page' is being deprecated and will not be available in a future version. Use 'page.next_page' instead. 
WARNING -  Template variable warning: 'repo_url' is being deprecated and will not be available in a future version. Use 'config.repo_url' instead. 
WARNING -  Template variable warning: 'previous_page' is being deprecated and will not be available in a future version. Use 'page.previous_page' instead. 
WARNING -  Template variable warning: 'include_next_prev' is being deprecated and will not be available in a future version. Use '(page.next_page or page.previous_page)' instead. 
WARNING -  Template variable warning: 'repo_name' is being deprecated and will not be available in a future version. Use 'config.repo_name' instead. 
WARNING -  Template variable warning: 'include_nav' is being deprecated and will not be available in a future version. Use 'nav|length>1' instead. 
WARNING -  Template variable warning: 'homepage_url' is being deprecated and will not be available in a future version. Use 'nav.homepage.url' instead. 
WARNING -  Template variable warning: 'toc' is being deprecated and will not be available in a future version. Use 'page.toc' instead. 
WARNING -  Template variable warning: 'content' is being deprecated and will not be available in a future version. Use 'page.content' instead. 
WARNING -  Template variable warning: 'meta' is being deprecated and will not be available in a future version. Use 'page.meta' instead.
WARNING -  Your theme does not appear to contain a 'main.html' template. The 'base.html' template was used instead, which is deprecated. Update your theme so that the primary entry point is 'main.html'. 

And the hard error with 0.17:

ERROR   -  Error building page index.md
Traceback (most recent call last):
  File "/home/mmatyas/.local/bin/mkdocs", line 11, in <module>
    sys.exit(cli())
  [...]
  File "/home/mmatyas/.local/lib/python2.7/site-packages/jinja2/loaders.py", line 187, in get_source
    raise TemplateNotFound(template)
jinja2.exceptions.TemplateNotFound: main.html

Here's the mkdocs changelog: http://www.mkdocs.org/about/release-notes/

from cinder.

chrissimpkins avatar chrissimpkins commented on May 29, 2024 1

@mmatyas @trevor-white-ck thank you both. will get the PR merged when it is available.

from cinder.

trevorwh avatar trevorwh commented on May 29, 2024 1

@chrissimpkins just a heads up, I'll submit this PR from my personal account (not my work account). You'll see it in the next couple hours.

from cinder.

trevorwh avatar trevorwh commented on May 29, 2024 1

@chrissimpkins we are good to go!

from cinder.

chrissimpkins avatar chrissimpkins commented on May 29, 2024

I have been grossly negligent with this project and am trying to get to updates every six months or so. There are a number of outstanding PR's that I need to tackle at some point.

Definitely would be willing to merge a straightforward PR that does not involve a great deal of source review at this stage.

I haven't kept up with mkdocs changes as of v0.17. What should I be expecting for changes?

from cinder.

ketozhang avatar ketozhang commented on May 29, 2024

That's quite unfortunate. I find Cinder the best fit for what I need. It's so clean and nice looking. Can't help you out much but just a +1 to this suggestion.

from cinder.

chrissimpkins avatar chrissimpkins commented on May 29, 2024

@trevor-white-ck can you submit the PR that you proposed or point me to documentation on how mkdocs was modified that breaks this theme?

from cinder.

chrissimpkins avatar chrissimpkins commented on May 29, 2024

@ketozhang if we don’t get a response to the above request can i ask you to submit the error message that you receive when you attempt to build? Thanks. I intend to fix this so that it is usable.

from cinder.

trevor-white-ck avatar trevor-white-ck commented on May 29, 2024

I have a patch ready for this already. I will cut a PR for the upgrade to 0.17 today or tomorrow. @chrissimpkins

from cinder.

chrissimpkins avatar chrissimpkins commented on May 29, 2024

@trevor-white-ck Something that you are still willing to push for us Trevor?

from cinder.

trevor-white-ck avatar trevor-white-ck commented on May 29, 2024

from cinder.

chrissimpkins avatar chrissimpkins commented on May 29, 2024

No worries! I accept all of the blame for the delay here. You are helping. :)

from cinder.

chrissimpkins avatar chrissimpkins commented on May 29, 2024

@trevorwh thank you!!

from cinder.

chrissimpkins avatar chrissimpkins commented on May 29, 2024

@trevorwh and no rush! Just following up with you earlier. If you didn't intend to submit it, I was going to try to get it done.

from cinder.

chrissimpkins avatar chrissimpkins commented on May 29, 2024

Thanks so much Trevor!!

Trevor's fixes available in v0.10.0

Available on PyPI:

pip install --upgrade mkdocs-cinder

from cinder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.