Giter Club home page Giter Club logo

Comments (4)

tlienart avatar tlienart commented on July 18, 2024 2

A bit cheeky but you could just do serve(...); cp(...)

More to the point though, no there isn't. I think it should be easy to support though because everything is done via this path thing which is set up at the start and could take config.md in consideration for an alternative path for __site

Is this just a preference thing or do you have a more specific use case in mind?

from franklin.jl.

tlienart avatar tlienart commented on July 18, 2024 2

is it 3Gb because the whole git history is kept on the gh-pages branch? or because you actually have 3Gb of assets?

in the first case there may be a setting of the github-pages-deploy-action to avoid that, in the latter, maybe it'd make sense to store assets on a cloud bucket somewhere.

Anyway, can you test Franklin#tl/buildpath setting site_path = joinpath("your", "desired", "output", "path") in your config.md and see if that works for you? Note that the minification won't work anymore (it expects the __site path) so set minify=false in the final call to optimize, it's irrelevant anyway.

from franklin.jl.

cormullion avatar cormullion commented on July 18, 2024

Well, what happened was that git/Github/GithubPages eventually got fed up with my site's repo (when it got over 3Gb - I can't blame them), and all my attempts to fix it also failed (and might even have made it worse), with things taking hours to fail rather than minutes, so eventually I just nuked the entire thing. and started again. And my current idea is to maintain two separate repos, one with the site, the other with the source.

It is probably just a preference - an easier set-up to think about - but I wondered if it might be useful as a general feature... 🤔

from franklin.jl.

cormullion avatar cormullion commented on July 18, 2024

can you test Franklin#tl/buildpath setting site_path

It works great! If you think it would be useful to others as well, please add it to one of your forthcoming *ranklin releases...

store assets on a cloud bucket

Haha, well if it was important stuff I might do that, but this is just idle amusement, so I'll stop when it starts to get out of hand again... :)

Thanks so much for your work!

from franklin.jl.

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.