Giter VIP home page Giter VIP logo

Comments (4)

simonw avatar simonw commented on June 6, 2024

Here's the problem:

<link rel="stylesheet" href="/static/github-light.css">

I generate the HTML on disk and then take a screenshot of that HTML file - but that relative link won't resolve to a CSS file.

from til.

simonw avatar simonw commented on June 6, 2024

That's going to require regenerating all 410 screenshots AGAIN - for the third time - because the template hash will have changed.

from til.

simonw avatar simonw commented on June 6, 2024

It's working: http://s3.amazonaws.com/til.simonwillison.net/aad395a26e49b35b85798523aa2b1e06.jpg

image

from til.

simonw avatar simonw commented on June 6, 2024

Fixed and deployed.

https://til.simonwillison.net/pytest/registering-plugins-in-tests is a good demo:

https://s3.amazonaws.com/til.simonwillison.net/8dda22f3aab0e3224aa6b2c330b07af3.jpg

image

In the Facebook debugger: https://developers.facebook.com/tools/debug/?q=https%3A%2F%2Ftil.simonwillison.net%2Fpytest%2Fregistering-plugins-in-tests

image

from til.

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.