New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

output of multiple pages #57

ronaldlokers opened this Issue Mar 19, 2014 · 2 comments


None yet
2 participants

ronaldlokers commented Mar 19, 2014

I would like to be able to have multiple pages as output, so I can easily navigate/link to the different parts of code.

@hagenburger hagenburger added this to the v1.2.0 milestone Mar 19, 2014


This comment has been minimized.


hagenburger commented Mar 19, 2014

I’m sure this is a feature for a lot of users. My current focus is stable integration into various platforms and building an useful documentation website. So I put this feature into v.1.2.0.

I’ll come up with an API that makes it easy to split an existing single-page style guide into a multi-page style guide as soon as the new gem version is out.

@hagenburger hagenburger modified the milestones: v2.0.0, v2.1.0 Jan 26, 2015


This comment has been minimized.


hagenburger commented Jan 26, 2015

This is done and will be released and documented soon. Some examples can be found here:

Basically you put all global configuration as well as header/footer HTML in a file named _config.lsg. Next you create all multiple pages (e. g. index.html.lsg, components.html.lsg, layouts.html.lsg, …) and start them with:

@import config

# Use Markdown to continue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment