learntextvis / code-samples

draft code to communicate ideas
0 stars 0 forks source link

Learn Website #2

Open iros opened 8 years ago

iros commented 8 years ago

Nice to Have:

Content:

vlandham commented 8 years ago

proposal:

use jekyll for build system. it has all of these features and more. It is also a mature package and integrates well into gh-pages.

use pandoc for converting to pdf.

Structure:

New repo for learn website:

learntextvis or learntextvis.com or leartextvis-site inside the leartextvis org.

Sample content of repo:

_posts
  - 01-01-2016-chapter01-.md
_layouts
 - chapter_layout.html
_includes
 - footer.html
 - header.html

index.html

Publishing

we can ensure our site needs no preprocessing and simply use a single branch gh-pages.

iros commented 8 years ago
src/
  _posts/
  _layouts/
  _sass/
    - layout.scss
    - toc.scss
    - embeds.scss
    - mq.scss
  css/
    - main.scss
  assets/
    - img/
    - data/
  js/
    - main.js (etc)

build/
_config.yml
<your build instructions js or whatever files>
vlandham commented 8 years ago

yep. my start was just to show how "chapters" could be "posts" in the jekyll world.

i will look at the sass stuff to see if it doesnt add too much in complexity.