Giter Site home page Giter Site logo

Comments (4)

timvink avatar timvink commented on June 3, 2024

You need to install http if you are using Python 2. It's pre-installed with python 3.

Does it work without installing it ? So

pip install html5lib requests.

I should update the docs to be more clear on this.. thanks for opening an issue!

from mkdocs-print-site-plugin.

dfury0 avatar dfury0 commented on June 3, 2024

Thanks! I am getting a byte error now, so it is probably a different issue preventing me from generating the flat HTML site. I am guessing I have a file in my docs page that has utf set to an incorrect value. Do you know any tricks to get around this error?
Unable to convert webpage: 'utf-8' codec can't decode byte 0x89 in position 0: invalid start byte

from mkdocs-print-site-plugin.

timvink avatar timvink commented on June 3, 2024

Did you get this working yet?

Best to open a new issue for this, preferably with a reproducable example. Make sure it's related to this plugin by ensuring turning it on causes the error. A likely cause however is what encoding you used to save your markdown files. My guess is you're using windows and files are not saved in UTF-8 format.

from mkdocs-print-site-plugin.

dfury0 avatar dfury0 commented on June 3, 2024

Thanks! I am using windows and Typora for edit my markdown files so that could be the issue. It is only during the print build that I get the UTF-8 error, but I'll look into this further and open a new issue if I get stuck

from mkdocs-print-site-plugin.

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.