Skip to content
This repository was archived by the owner on Feb 4, 2025. It is now read-only.

Conversation

@elessar-ch
Copy link
Contributor

Add a first docs page about buttons to the toolkit.

Copy link
Contributor

@davidknezic davidknezic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some wording findings. Also make sure your editor adds end lines to files.

<h1 class="h2">{{title}}</h1>
<p>
Our buttons are based completely on the default bootstrap buttons.
</p>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feel free to add the .lead class to the first paragraph, that usually quickly summarizes the following page.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

<p>
This means that you can use all components provided by your favorite
platform or third party framework that are based on
bootstrap buttons and apply our styles easily.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd simplify this

This means that you can use all components provided by Bootstrap and apply our custom button styles easily.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

{{#*inline "content"}}
<h1 class="h2">{{title}}</h1>
<p>
Our buttons are based completely on the default bootstrap buttons.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sure you always capitalize Bootstrap, it's a name.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

</p>
<p>
The modifications are implemented in a way that should not adversely
affect other frameworks that are based
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The end of this sentence doesn't seem to match with the list that follows.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

got a bit more specific

metadata.snippets = {}
// eslint-disable-next-line no-shadow
_.forEach((files, file) => {
_.forEach(files, (file) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh, good catch!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yea, messed up the whole snippets thing

slug: icon-buttons
- title: AXA Button
slug: axa-buttons
- title: Ghost Button
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After learning that only book and article titles should be capitalized and sub-titles and chapters not, this is how I'd write the chapters:

Standard button instead of Standard Button

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@elessar-ch
Copy link
Contributor Author

Requested changes implemented

@davidknezic
Copy link
Contributor

👍

Fixed newlines at the end of the files and set order to something else than -1.

@davidknezic davidknezic merged commit bc8d449 into master Nov 8, 2016
@davidknezic davidknezic deleted the feature/button-docs branch November 8, 2016 14:12
@elessar-ch
Copy link
Contributor Author

thx

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants