Giter VIP home page Giter VIP logo

Comments (5)

hamelsmu avatar hamelsmu commented on May 18, 2024 1

I don’t ignore them because the automated build process converts them on the fly so they are never committed to GitHub :)

The intermediate step of converting to md that you would normally have to do is automated once you push the notebook to GitHub, but the intermediate step isn’t saved ( unless you turn that option on ), because it doesn’t need to be saved.

When you are debugging remotely, it’s often necessary to see the intermediate files

As such i don’t have them in .gitignore

You could if you named your notebooks a special way, I suppose

from fastpages.

hamelsmu avatar hamelsmu commented on May 18, 2024

Hi @wroscoe the way Jekyll works is everything needs to be converted to .md in _posts. The magic of fastpages it it allows you to see the intermediate step of this being converted for you. The point is not for you to commit these files, however, they are just generated for you for debugging purposes.

Therefore, I don't believe it is possible to seperate autogenerated md posts from real md posts. If you have an idea let me know, but they need to be put into _posts so you can see a preview of what they look like.

closing this issue for now, happy to keep discussing and we can reopen if we determine this is something that is possible. Thank you

from fastpages.

wroscoe avatar wroscoe commented on May 18, 2024

Thanks for the fast response. Still familiarizing myself with the workflow. So when you're developing locally, what does your .gitignore file look like to ignore the notebook created posts?

from fastpages.

wroscoe avatar wroscoe commented on May 18, 2024

Would it make sense to have a separate folder _staging where all the markdown and image files are created and saved. This _staging folder would be what jekyll would use to create the site.

This wouldn't be needed if the only supported/recommend workflow is to edit/commit on github. But I've found the remote/local dev environment important as you work on notebooks that need specific libraries.

If you can link where in the code these folder are defined, I can take a stab a prototyping this flow. Cheers.

from fastpages.

hamelsmu avatar hamelsmu commented on May 18, 2024

I don’t think that approach will work. Jekyll requires you to put you to put things in _posts to render them

If you are very interested in this problem I highly recommend going through the Jekyll tutorials
https://jekyllrb.com/docs/

from fastpages.

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.