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

Create basic component guide #1

Merged
merged 5 commits into from Jul 23, 2017
Merged

Create basic component guide #1

merged 5 commits into from Jul 23, 2017

Conversation

@fofr
Copy link
Owner

@fofr fofr commented Jul 12, 2017

A gem to document design patterns in Rails applications.

Use models, logic and styles from https://github.com/alphagov/govuk-component-guide. Structure of component documentation will be identical.

  • Render a list of components based on document files (.yml) found in the app/views/components/docs directory of the host app
  • Component templates must be in the app/views/components directory
  • Display a component with a set of test fixtures based on those docs
  • Include those partials in the view path
  • Use breadcrumbs component for navigating the guide
fofr added 5 commits Jul 5, 2017
* Add wrapper ID to allow slimmer to run insertion correctly
* Add sass, toolkit and slimmer dependencies
* Create index route, controller and view
Use models, logic and styles from
https://github.com/alphagov/govuk-component-guide. Docs structure will
be identical.

* Render a list of components based on docs in the
`app/views/components/docs` directory of the host app
* Display a component with a set of test fixtures based on those docs
* Include those partials in the view path
* Use breadcrumbs component for navigating the guide
*

def self.get(id)
all.find { |component| component.id == id }
end

This comment has been minimized.

@andysellick

andysellick Jul 12, 2017

Indenting issue here?

@fofr fofr merged commit d58db8d into master Jul 23, 2017
@fofr fofr deleted the living-style-guide branch Jul 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.