Comments (5)
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.
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.
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.
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.
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)
- Option to group blogs under folders - for a tree hierarchy instead of current flat structure HOT 3
- Keep-Alive-Actions HOT 1
- CI / build-site Failed HOT 2
- There are no comments in my notebook cells HOT 1
- Jupyter notebook isn't displaying the python comments HOT 5
- Keep-Alive-Actions HOT 1
- Auto upgrade fails HOT 7
- Question: Why .gitattributes ? HOT 2
- Keep-Alive-Actions HOT 1
- Fastpages + mkdocs ?? HOT 2
- [fastpages] Automated Upgrade HOT 1
- Initial commit Setup #1 [The requested URL returned error: 403] HOT 5
- Problem rendering notebooks even with gh pages working fine HOT 4
- Failed to set up locally in M1 Mac HOT 2
- Post in different pages HOT 1
- First PR of initial commit is not showing up HOT 2
- Deleting published pages HOT 2
- [fastpages] Automated Upgrade
- [fastpages] Automated Upgrade
- I am not able to figure out how to make my blog searchable on any search engine (Google, Bing etc.) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastpages.