Comments (6)
My main motivating factor for this approach is that it could remove the ./bin/lesson_initialize.py
python dependency. This could enable a workflow for lesson creation that would not require any local cloning. This would enable a workflow for lesson creation that could be done entirely in the GitHub web interface.
from lesson-example.
Prototypo:
- submodule: https://github.com/rgaiacs/swc-proto-sub
- lesson: https://github.com/rgaiacs/swc-proto-lesson
from lesson-example.
I don't know how create
commit f779b6dee156c50ae7ff6c2705ce22cb1edbd9ed
Author: Raniere Silva <[email protected]>
Date: Tue Mar 28 15:58:29 2017 +0100
Fix submodule commit
diff --git a/jekyll-files b/jekyll-files
index d5b3b9c..092a9a8 160000
--- a/jekyll-files
+++ b/jekyll-files
@@ -1 +1 @@
-Subproject commit d5b3b9c753c5d263575805431b748d8f540b8295
+Subproject commit 092a9a88bbccfef1e17e9ceefe1f7f25ed7b6062
using GitHub interface.
from lesson-example.
Submodules are the right technical solution, but our previous experience using them (in the days of the bc
repository) was unhappy: it is very easy for inexperienced Git users to mess things up that they cannot then fix themselves (which is why we built lesson_initialize.py
). They could certainly learn to use submodules eventually, but I believe it would be yet another obstacle to contribution.
from lesson-example.
Right now the requirement of having Python installed to start lesson development is a bigger obstacle to contribution than the confusion of submodules. I had a learner in a mini-workshop yesterday tell me he's an R dev and he has no intention of installing Python so he can test our template. With submodules we can have a web-only workflow for lesson developers to get started, lowering the initial barrier to entry.
from lesson-example.
@rgaiacs I imported https://github.com/rgaiacs/swc-proto-lesson and the submodule link is preserved. I immediately have a working GitHub pages website: https://jduckles.github.io/test-proto-lesson
I think we can put documentation for changing the submodule for those who find it necessary.
For local clones we will want to make sure we guide people to do:
git clone --recursive
from lesson-example.
Related Issues (20)
- migrate setup-ruby from actions to ruby HOT 4
- 404 page does not render correctly for any arbitrary invalid URL HOT 4
- Silent syntax error in Rmd example HOT 2
- Problematic templating issue in code blocks HOT 2
- Document katex math support HOT 4
- Broken link Github where to contribute page HOT 1
- Teaching Time versus Teaching Times? HOT 3
- "weekly styles update" notification HOT 2
- Change output in weekly workflow from `wf` to `workflow`
- `make serve` gives warning about python venv HOT 6
- How to link to episode from setup? HOT 5
- Explain purpose of `files`, `code`, and `data` folders HOT 2
- Adding a "last updated" element to any page or episode in a lesson
- Reference-style links don't work in keypoints HOT 1
- Should code boxes show a prompt?
- Include style guidance for button labels
- Ubuntu setup - additional steps required to install homebrew
- Ubuntu setup - clarify step to check rbenv version
- Syntax highlighting methods HOT 1
- Adding `.caution` to the list of special blockquotes 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 lesson-example.