Skip to content
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

Sub-sections in styleguides.yml #3

Open
cmalven opened this issue Jan 23, 2013 · 1 comment
Open

Sub-sections in styleguides.yml #3

cmalven opened this issue Jan 23, 2013 · 1 comment

Comments

@cmalven
Copy link

cmalven commented Jan 23, 2013

Another area of documentation where nkss doesn't seem to like the official KSS documentation syntax is with subsections. For instance, I'd like to be able to create the following breakdown in my documentation:

sections:
  1: Typography
    1.1: Headings
    1.2: Body

Achievable using nkss? The documentation isn't nearly as clear without the ability to break each section down into sub-sections.

Thanks!

@rstacruz
Copy link
Member

Hm, no there isn't a specific provision for this in nkss-rails, but then again it may not really be necessary:

-# app/views/styleguides/1.haml

%h2 1.1. Headings
= kss_block '1.1.0' do
  ...
= kss_block '1.1.1' do
  ...

%h2 1.2. Body
= kss_block '1.2.0' do
  ...
= kss_block '1.2.1' do
  ...

pboling pushed a commit to trumaker/nkss-rails that referenced this issue Jun 11, 2014
…tings

kss blockの背景のデフォルトを透明に変更
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants