GithubHelp home page GithubHelp logo

Comments (3)

mosra avatar mosra commented on June 9, 2024 1

You're using the m.plots and m.qr plugins which depend on the matplotlib and qrcode Python packages. Assuming you don't use those plugins, remove them from the list (you really only need to list ones that you actually use, not everything from m.css). If you do use them, install the packages via pip or any other means that's best suited for your dev environment.

Judging from the output however, it seems that it just skips those plugins if they fail to load, so it should still generate something from the input .rst files. Is it not shown at http://127.0.0.1:8000? Are you sure it actually takes the .rst files you're editing and not some other stale copy?

Generally, there's no hidden magic done by m.css anywhere, it's all just plain Pelican with some theming on top. So if there's something strange going on, it's likely Pelican being misconfigured.

from m.css.

jegrami avatar jegrami commented on June 9, 2024

It's working fine now. Thanks, @mosra!

I think it was wrong indentation in some of the reST files that was causing the problem (beginner's error. lol). Because of those errors, Pelican wasn't parsing the files, so the changes I was making wasn't being updated. I added a new article file with fresh content, formatted with some m.css special directives. It rendered fine. So I deleted the content of the old articles and carefully added them back. They rendered perfectly, too. Everything is fine now. Thank you so much.

from m.css.

mosra avatar mosra commented on June 9, 2024

Ah, yes, the error handling / reporting is a bit strange in Pelican, a single error causing everything to stop. Gotta get used to it, I guess :)

from m.css.

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.