Giter Site home page Giter Site logo

Comments (6)

geocine avatar geocine commented on June 16, 2024 2

I had some luck using deno's cdn

https://esm.sh/haunted

from haunted.

bennypowers avatar bennypowers commented on June 16, 2024 1

Unfortunately my best suggestion will be to redo the docs build altogether. I think there are two good options:

  1. Redo it with 11ty, replacing the rocket-specific plugins
  2. Redo it with rocket, which was rewritten to remove 11ty, rewriting the rocket plugins

either way, the plugins need to be removed or rewritten.

I've got some plans to port my rocket plugins to 11ty, but no timeline

from haunted.

geocine avatar geocine commented on June 16, 2024

Were you able to find a workaround?

from haunted.

micahjon avatar micahjon commented on June 16, 2024

The syntax error is in the haunted.js file that is bundled with the 5.0.0 release on npm, which in turn is distributed by unpkg, CDNJS, etc.

Looks like @matthewp has been working on automating/upgrading the testing and release pipeline, so I'm guessing it's related to that. I also noticed that a bunch of compiled js and d.ts files for the npm release were committed by a bot to the top level repo, which is probably also unintentional, but hopefully easy to reverse.

@bennypowers might also be able to fix this. I'm a bit out of my depth here unfortunately.

from haunted.

micahjon avatar micahjon commented on June 16, 2024

Unfortunately my best suggestion will be to redo the docs build altogether. I think there are two good options:

  1. Redo it with 11ty, replacing the rocket-specific plugins
  2. Redo it with rocket, which was rewritten to remove 11ty, rewriting the rocket plugins

either way, the plugins need to be removed or rewritten.

I've got some plans to port my rocket plugins to 11ty, but no timeline

Thanks @bennypowers. I spent the morning playing around with both options and I'm currently leaning towards option 1 (just use 11ty) as Rocket appears to be evolving much more quickly and is much less widely used. As a sidenote, it's unfortunate that the name "Rocket" is already used by the Rust web framework as it makes searching difficult.

I took at stab at rewriting the docs in 11ty and soon realized that the layout files are not committed to this repo. Where is layout-home defined? Is it built-in to an old version of Rocket? I couldn't find it in the Rocket repo either.

Appreciate your help with this. Hopefully it's something I can knock out in the coming week or so.

from haunted.

bennypowers avatar bennypowers commented on June 16, 2024

yeah it's likely an old-rocket thing

In old-rocket, a 'preset' was a bundle of eleventy plugin + templates + includes + data which could be then used throughout the app. AFAICT 11ty never provided an 'official' way to do this.

from haunted.

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.