Comments (8)
I'll look into this before we do our next release, thanks for testing it out.
from hologram.
I played with this some tonight and it is working for me. Can you give me more details about your project layout/erb/etc?
from hologram.
ping @Yago31
Any updates on this?
Thanks!
from hologram.
@jdcantrell Sorry, I have always the same issue. When I place my data.json.erb
at the root of my theme directory, Hologram just paste it into my styleguide directory without compiling it... (I test it with the very last version)
from hologram.
Would you mind sharing your erb?
from hologram.
"The .result() of 'test.html.erb' will be saved to test.html" Is not that you said ? I thought that if we place a custom erb file in the theme, he will be compiled in the styleguide... Maybe a do something wrong...
My data.json.erb inside the theme directory (just to test) :
<%= @pages %>
and my data.json inside the styleguide :
<%= @pages %>
from hologram.
I believe the issue is that the erb file is not in the correct place. It needs to be in the source
folder you defined in the hologram config. Can you list out an overview of your project structure?
from hologram.
Closing until there are further details, this feature is working correctly from what I can tell.
from hologram.
Related Issues (20)
- Auto-generated nested navigation HOT 3
- `get_binding` error HOT 8
- Markdown not being parsed HOT 2
- How to doc colors HOT 3
- Link external files into HTML-example area? HOT 1
- Multiple styleguides for different sections? HOT 2
- Create new categories with .md files HOT 2
- How would you support multiple languages?
- Ignore subdirectories or specific file
- Can we access markdown variables inside a template? HOT 1
- `ignore_paths` causing error
- SCSS variables and mixins seem to be ignored HOT 1
- Annoying <p class="styleguide"> generated listing CSS styles commented HOT 1
- Seperate JSON file output
- Possible issue with latest rouge update HOT 1
- Primary menu is not useful in its current state
- Provide a means to set order to nav and section items
- haml rendering without code block output
- Still maintained? HOT 4
- Loop in the Markdown 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 hologram.