You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 16, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -74,6 +74,14 @@ gulp-boilerplate/
74
74
| |—— index.html
75
75
| |—— # other docs
76
76
|—— src/
77
+
| |—— docs/
78
+
| | |—— _templates/
79
+
| | | |—— _header.html
80
+
| | | |—— _footer.html
81
+
| | |—— assets/
82
+
| | | |—— # doc-specific assets
83
+
| | |—— index.html
84
+
| | |—— # other docs
77
85
| |—— js/
78
86
| | |—— classList.js
79
87
| | |—— myplugin.js
@@ -125,6 +133,14 @@ Unit test results are printed in terminal, but you can also view them in a brows
125
133
126
134
SVG files placed in the `src` > `svg` directory will be compiled into a single SVG sprite called `icons.svg` in the `dist` > `svg` directory.
127
135
136
+
### Documentation
137
+
138
+
Add HTML or markdown (`.md` or `.markdown`) files to your `docs` folder in `src`.
139
+
140
+
The `_templates` directory in `src` contains the `_header.html` and `_footer.html` templates. These are automatically added to the beginning and end of each documentation page. You can also add your own templates to the `_templates` directory. Include template files in your docs by writing `@@include('path-to-file')` on its own line in your markup (or markdown).
141
+
142
+
Files placed in the `assets` directory will be moved over as-is to the `docs` directory. Keel will also add a copy of your `dist` files so you can use them in your documentation.
143
+
128
144
129
145
130
146
## Options and Settings
@@ -193,6 +209,8 @@ Gulp Boilerplate is licensed under the [MIT License](http://gomakethings.com/mit
0 commit comments