Comments (15)
+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.
@mmatyas @trevor-white-ck thank you both. will get the PR merged when it is available.
from cinder.
@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.
@chrissimpkins we are good to go!
from cinder.
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.
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.
@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.
@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.
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.
@trevor-white-ck Something that you are still willing to push for us Trevor?
from cinder.
from cinder.
No worries! I accept all of the blame for the delay here. You are helping. :)
from cinder.
@trevorwh thank you!!
from cinder.
@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.
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)
- Top of sidebar cut off if Site name + top navigation = too much HOT 2
- Edit link for GitHub is using "master" branch instead of "main" HOT 3
- Dark variant HOT 2
- Putting folders in order
- Error with mkdocs serve
- How to define page.meta.disable_toc ?
- Out of date jquery library
- 404 page (404.html) is not generated HOT 10
- Broken link in base.html (Web Font Loader 1.6.28) HOT 3
- Stylesheets are blocked and scripts cannot be found
- Can't get shortcut keys to work. HOT 4
- Support for additional highlightjs languages HOT 2
- how would I make a folder? HOT 3
- Is index.md supported? HOT 8
- Sitemap is apparently broken HOT 3
- Add support for custom color schemes HOT 2
- Upgrade Bootstrap version HOT 1
- Not getting any syntax highlighting HOT 6
- Unrecognised theme name: 'cinder' when installed via pip HOT 4
- Navigation Customisation HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cinder.