bitovi / bitovi/documentjs

Demos need compiled CSS from the project to work

Open
#199 1 comment 0 reactions 0 assignees View on GitHub
feature
Dominant language
JavaScript
Stars
598
Forks
371
PR merge metrics
No merged PRs in 30d

Description

In order for the demos in the iframes to display properly, they need a compiled version of the CSS from the project inside the documentation's output folder.

Currently, I'm solving this by having grunt compile the CSS and copy it to my output folder - but I think DocJS should handle it automatically.

Perhaps it can be added as a config variable:

```
demoStyles: '/folder/less/styles.less'
```

When generated, DocJS grabs this file, compiles it, moves it to the output folder, and updates the demo files with the correct CSS ref.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.