Coder Social home page Coder Social logo

Comments (8)

aflanagan-trulia avatar aflanagan-trulia commented on June 15, 2024

@mobywhale-chan are you saying that build/css/screen.css doesn't exist?

Can I see your config.yml file?

Thanks for the feedback. Please keep it coming :)

from hologram.

mobywhale-chan avatar mobywhale-chan commented on June 15, 2024

@aflanagan-trulia The css file exists, just that the path to it is not correct?

Here's my config.yml, should be the same as the one on your hologram-example repo:

# Hologram config

# The directory containing the source files to parse
source: ./components

# The directory that hologram will build to
destination: ./docs

# The assets needed to build the docs (includes header.html, footer.html, etc)
documentation_assets: ./templates

# This is a custom markdown renderer (see Redcarpet documentation for
# how to do this)
# custom_markdown: trulia_markdown_renderer.rb

# Any other asset folders that need to be copied to the destination folder
# This where you should include your full stylesheets, component javascript,
# libraries and any other dependencies your style guide will have
dependencies:
  - ./build

If I change the path to "../templates/static/css/doc.css" and "../build/css/screen.css" then it works.

from hologram.

mobywhale-chan avatar mobywhale-chan commented on June 15, 2024

@aflanagan-trulia FYI this is from the hologram-example repo too

from hologram.

mobywhale-chan avatar mobywhale-chan commented on June 15, 2024

Couple of screenshots to show my folder structure:

screen shot 2013-08-13 at 9 07 27 am

screen shot 2013-08-13 at 9 07 39 am

from hologram.

bluesaunders avatar bluesaunders commented on June 15, 2024

@mobywhale-chan Not sure if this got solved, but it appears that either the build directory should live inside of the docs directory, or the path should be ../build/css/screen.css

from hologram.

jdcantrell avatar jdcantrell commented on June 15, 2024

Hmm, sorry for the long delay, but @bluesaunders comment made me look at this again. When I test this repo out the ./build directory gets copied to the generated docs folder. @mobywhale-chan if you didn't get this working I'm guessing there's an error somewhere in hologram. Your docs folder doesn't have all the things in it that should be there (guessing because something went wrong during the build).

@mobywhale-chan, are you still working on getting this up and going and do you still need help with this?

from hologram.

aflanagan-trulia avatar aflanagan-trulia commented on June 15, 2024

@mobywhale-chan is it possible that you ended up with a pre-release version of hologram? I know we were showing it to you before anyone else. I just uninstalled the gem, blew away the example repo and recloned/reinstalled. I have still not been able to reproduce this.

@bluesaunders did you have the same issue as @mobywhale-chan? If so, what version of Ruby are you guys running? We've tested back to 1.8.7.

from hologram.

aflanagan avatar aflanagan commented on June 15, 2024

I'm going to close as "cannot reproduce"....please reopen if you're still having issues (or file a pull request).

from hologram.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.