-
Notifications
You must be signed in to change notification settings - Fork 763
Separate autogenerated posts from manually created posts. #138
Comments
Hi @wroscoe the way Jekyll works is everything needs to be converted to Therefore, I don't believe it is possible to seperate closing this issue for now, happy to keep discussing and we can reopen if we determine this is something that is possible. Thank you |
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? |
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 |
Would it make sense to have a separate folder 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. |
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 |
Is your feature request related to a problem? Please describe.
When writing notebook posts locally I'm finding it frustrating that autogenerated .md posts created from notebooks are being mixed in with my manual .md posts. This is also a little confusing with the images copied over from the notebooks into the /images folder. This makes managing commits difficult because some files need to be included while others ignored. It also makes it difficult to
clear
the state of your site because you have to delete the autogenerated posts.Describe the solution you'd like
It would be simple if the project followed a simple rule to never mix autogenerated code into folders that contain manually created files.
Describe alternatives you've considered
When preparing the files for jekyll copy all the files to a new temporary folder rather than an existing folder.
Additional context
None
The text was updated successfully, but these errors were encountered: