File tree Expand file tree Collapse file tree 5 files changed +14
-2
lines changed
Expand file tree Collapse file tree 5 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 33 hooks :
44 - id : scss-lint
55 files : scss/.*\.scss$
6+ language_version : 1.9.3-p484
67- repo : git@github.com:pre-commit/pre-commit-hooks
78 sha : d3db0385825d4c082bc7117c090ac16cb4840f3e
89 hooks :
Original file line number Diff line number Diff line change 88 <meta name =" viewport" content =" width=device-width, initial-scale=1" >
99 <title >pre-commit by Yelp</title >
1010 </head >
11- <body data-spy =" scroll" data-target =" .pc-sidebar" >
11+ <body class = " page-${template_name} " data-spy =" scroll" data-target =" .pc-sidebar" >
1212 <header class =" navbar navbar-default pc-nav" role =" banner" >
1313 <div class =" container" >
1414 <div class =" navbar-header" >
Original file line number Diff line number Diff line change 11## -*- coding: utf-8 -*-
22<%inherit file =" base.mako" />
33
4- <h1 >Supported hooks</h1 >
4+ <div class = " page-header " >< h1 >Supported hooks</h1 ></ div >
55
66<p >
77To add to this list, fork <a href =" https://github.com/pre-commit/pre-commit.github.io" >this repository</a >.
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ def get_env():
2727def main ():
2828 env = get_env ()
2929 for template in ALL_TEMPLATES :
30+ env ['template_name' ] = template
3031 with io .open ('{0}.html' .format (template ), 'w' ) as html_file :
3132 template_obj = template_lookup .get_template (
3233 '{0}.mako' .format (template ),
Original file line number Diff line number Diff line change 132132 color : white ;
133133 }
134134}
135+
136+ .page-hooks {
137+ .top-shelf {
138+ display : none ;
139+ }
140+
141+ .pc-main-content {
142+ margin-top : 30px ;
143+ }
144+ }
You can’t perform that action at this time.
0 commit comments