[Git][ghc/ghc][master] 2 commits: linters: Make CPP linter skip image files

Marge Bot gitlab at gitlab.haskell.org
Wed Aug 26 08:50:26 UTC 2020



 Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
2d635a50 by Takenobu Tani at 2020-08-26T04:50:21-04:00
linters: Make CPP linter skip image files

This patch adds an exclusion rule for `docs/users_guide/images`,
to avoid lint errors of PDF files.

- - - - -
b7d98cb2 by Takenobu Tani at 2020-08-26T04:50:21-04:00
users-guide: Color the logo on the front page of the PDF

This patch updates the logo with a recent color scheme.
This affects only the PDF version of the user's guide.

See also:
* https://mail.haskell.org/pipermail/ghc-devs/2020-August/019139.html
* https://gitlab.haskell.org/ghc/ghc/-/wikis/logo

- - - - -


2 changed files:

- .gitlab/linters/check-cpp.py
- docs/users_guide/images/logo.pdf


Changes:

=====================================
.gitlab/linters/check-cpp.py
=====================================
@@ -29,6 +29,9 @@ for l in linters:
     # Don't lint font files
     l.add_path_filter(lambda path: not path.parent == Path('docs','users_guide',
         'rtd-theme', 'static', 'fonts'))
+    # Don't lint image files
+    l.add_path_filter(lambda path: not path.parent == Path('docs','users_guide',
+        'images'))
     # Don't lint core spec
     l.add_path_filter(lambda path: not path.name == 'core-spec.pdf')
 


=====================================
docs/users_guide/images/logo.pdf
=====================================
Binary files a/docs/users_guide/images/logo.pdf and b/docs/users_guide/images/logo.pdf differ



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/8426a1364ba450fe48fc41a95b2ba76c8d1bb7c8...b7d98cb2606997e05ad6406929dae3aba746fbb9

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/8426a1364ba450fe48fc41a95b2ba76c8d1bb7c8...b7d98cb2606997e05ad6406929dae3aba746fbb9
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20200826/2257344e/attachment.html>


More information about the ghc-commits mailing list