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

chore: update docs styles when SCSS change #11491

Merged
merged 1 commit into from
Sep 9, 2018

Conversation

ncoden
Copy link
Contributor

@ncoden ncoden commented Sep 4, 2018

Description

Documentation styles uses the SCSS mixins/functions, so they must be recompiled when the SCSS change. This pull request start the Gulp task sass which contains both sass:foundation and sass:docs when the scss change.

Types of changes

  • Documentation
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (anything that would change an existing functionality)
  • Maintenance (refactor, code cleaning, development tools...)

Checklist

  • I have read and follow the CONTRIBUTING.md document.
  • The pull request title and template are correctly filled.
  • The pull request targets the right branch (develop or develop-v...).
  • My commits are correctly titled and contain all relevant information.
  • I have updated the documentation accordingly to my changes (if relevant).
  • I have added tests to cover my changes (if relevant).

Documentation styles uses the SCSS mixins/functions, so they must be recompiled when the SCSS change.

Introduced in foundation#11454
@@ -27,7 +27,7 @@ gulp.task('serve', gulp.series('build', function(done){
gulp.task('watch', function() {
gulp.watch('docs/**/*', gulp.series('docs', browserReloadSync));
gulp.watch(['docs/layout/*.html', 'docs/partials/*{html,hbs}', 'docs/assets/partials/*{html,hbs}', 'node_modules/foundation-docs/templates/*{html,hbs}'], gulp.series('docs:all', browserReloadSync));
gulp.watch('scss/**/*', gulp.series('sass:foundation', browserReloadSync));
gulp.watch('scss/**/*', gulp.series('sass', browserReloadSync));
Copy link
Contributor

@IamManchanda IamManchanda Sep 9, 2018

Choose a reason for hiding this comment

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

@ncoden ncoden merged commit 8849253 into foundation:develop Sep 9, 2018
@ncoden
Copy link
Contributor Author

ncoden commented Sep 9, 2018

Thank you for your review @IamManchanda, and welcome back! 🎉 Feels free to take a look at the latest pull requests, and those with the needs reviewers label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants