trailblazer / trailblazer.github.io

The TRAILBLAZER.TO website. Please PR against the f6 branch. 💋
http://trailblazer.to
23 stars 55 forks source link

Restructure sidebar to abide by Foundation's Accordion #111

Closed DrummerHead closed 7 years ago

DrummerHead commented 7 years ago

And auto-open item according to URL

Right now the rendering of the server with $ bundle exec jekyll serve -I is giving out errors, example:

$ bundle exec jekyll serve -I
Configuration file: /Users/DrummerHead/client/nick/trailblazer/docs/trailblazer.github.io/_config.yml
            Source: /Users/DrummerHead/client/nick/trailblazer/docs/trailblazer.github.io
       Destination: /Users/DrummerHead/client/nick/trailblazer/docs/trailblazer.github.io/_site
 Incremental build: enabled
      Generating... 
       Deprecation: posts.each should be changed to posts.docs.each.
                    Called by /Users/DrummerHead/.gem/ruby/2.3.1/gems/jekyll-last-modified-at-0.3.4/lib/jekyll-last-modified-at/generator.rb:7:in `block in generate'.
Already on 'operation-01'
Already on 'operation-01'
Already on 'operation-01'
Already on 'operation-01'
Already on 'operation-01'
Already on 'operation-01'
Already on 'operation-01'
Already on 'operation-01'
Already on 'operation-01'
Already on 'operation-01'
Already on 'operation-01'
Already on 'operation-01'
Already on 'operation-01'
Already on 'operation-01'
Already on 'operation-01'
Already on 'operation-01'
Already on 'operation-01'
Already on 'operation-01'
Already on 'operation-01'
Already on 'operation-01'
Already on 'operation-01'
Already on 'operation-01'
Already on 'operation-01'
Already on 'operation-01'
Already on 'operation-01'
Already on 'operation-01'
Already on 'operation-01'
Already on 'operation-01'
Already on 'operation-01'
Already on 'operation-01'
Already on 'operation-01'
Already on 'operation-01'
Already on 'operation-01'
Already on 'operation-01'
Already on 'operation-01'
Already on 'operation-01'
Already on 'operation-01'
Already on 'operation-01'
Already on 'operation-01'
Already on 'operation-01'
@@@@@ "guides/trailblazer/2.0/01-operation-basics.md"
Switched to branch 'operation-02'
Switched to branch 'operation-01'
Switched to branch 'operation-02'
Switched to branch 'operation-01'
Switched to branch 'operation-02'
Switched to branch 'operation-01'
Switched to branch 'operation-02'
Switched to branch 'operation-01'
Switched to branch 'operation-02'
Switched to branch 'operation-01'
Switched to branch 'operation-02'
Switched to branch 'operation-01'
Switched to branch 'operation-02'
Switched to branch 'operation-01'
Switched to branch 'operation-02'
Switched to branch 'operation-01'
Switched to branch 'operation-02'
Switched to branch 'operation-01'
Switched to branch 'operation-02'
Switched to branch 'operation-01'
Switched to branch 'operation-02'
Switched to branch 'operation-01'
Switched to branch 'operation-02'
Switched to branch 'operation-01'
Switched to branch 'operation-02'
Switched to branch 'operation-01'
Switched to branch 'operation-02'
Switched to branch 'operation-01'
Switched to branch 'operation-02'
Switched to branch 'operation-01'
Switched to branch 'operation-02'
Switched to branch 'operation-01'
Switched to branch 'operation-02'
Switched to branch 'operation-01'
Switched to branch 'operation-02'
Switched to branch 'operation-01'
Switched to branch 'operation-02'
Switched to branch 'operation-01'
Switched to branch 'operation-02'
Switched to branch 'operation-01'
Switched to branch 'operation-02'
Switched to branch 'operation-01'
Switched to branch 'operation-02'
Switched to branch 'operation-01'
@@@@@ "guides/trailblazer/2.0/02-trailblazer-basics.md"
Switched to branch 'operation-03'
Switched to branch 'operation-01'
Switched to branch 'operation-03'
Switched to branch 'operation-01'
Switched to branch 'operation-03'
Switched to branch 'operation-01'
Switched to branch 'operation-03'
Switched to branch 'operation-01'
Switched to branch 'operation-03'
Switched to branch 'operation-01'
Switched to branch 'operation-03'
Switched to branch 'operation-01'
Switched to branch 'operation-03'
Switched to branch 'operation-01'
Switched to branch 'operation-03'
Switched to branch 'operation-01'
Switched to branch 'operation-03'
Switched to branch 'operation-01'
Switched to branch 'operation-03'
Switched to branch 'operation-01'
Switched to branch 'operation-03'
Switched to branch 'operation-01'
Switched to branch 'operation-03'
Switched to branch 'operation-01'
Switched to branch 'operation-03'
Switched to branch 'operation-01'
Switched to branch 'operation-03'
Switched to branch 'operation-01'
Switched to branch 'operation-03'
Switched to branch 'operation-01'
Switched to branch 'operation-03'
Switched to branch 'operation-01'
Switched to branch 'operation-03'
Switched to branch 'operation-01'
@@@@@ "guides/trailblazer/2.0/03-rails-basics.md"
@@@@@ "gems/operation/2.0/api.md"
@@@@@ "gems/operation/2.0/api.md"
@@@@@ "gems/reform/api.md"
@@@@@ "gems/representable/3.0/api.md"
@@@@@ "gems/disposable/api.md"
@@@@@ "gems/cells/api.md"
sh: line 0: cd: ../gemgem-sinatra/: No such file or directory
sh: line 0: cd: ../gemgem-sinatra/: No such file or directory
error: pathspec 'formular-slim-bootstrap3' did not match any file(s) known to git.
  Liquid Exception: No such file or directory @ rb_sysopen - ../gemgem-sinatra/concepts/post/view/new.slim in gems/formular/bootstrap.md
                    done in 6.249 seconds.
 Auto-regeneration: enabled for '/Users/DrummerHead/client/nick/trailblazer/docs/trailblazer.github.io'
Configuration file: /Users/DrummerHead/client/nick/trailblazer/docs/trailblazer.github.io/_config.yml
    Server address: http://127.0.0.1:4000//
  Server running... press ctrl-c to stop.

And the result is that there are a lot of empty html files rendered on _site (but not all of them)

I was investigating what could be caused by this, but also saw that you have created custom scripts and modificated the original jekyll quite a bit, so perhaps it's best for you to take a look at it before me :)

apotonick commented 7 years ago

:heart:

Small bug: It used to be image

but now the grey background for the current page is missing.