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
Copy file name to clipboardExpand all lines: docs/_docs/datafiles.md
+27Lines changed: 27 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -148,3 +148,30 @@ author: dave
148
148
{% endraw %}
149
149
150
150
For information on how to build robust navigation for your site (especially if you have a documentation website or another type of Jekyll site with a lot of pages to organize), see [Navigation]({{ '/tutorials/navigation/' | relative_url }}).
151
+
152
+
## CSV/TSV Parse Options
153
+
154
+
The way Ruby parses CSV and TSV files can be customized with the `csv_reader` and `tsv_reader`
155
+
configuration options. Each configuration key exposes the same options:
156
+
157
+
`converters`: What [CSV converters](https://ruby-doc.org/stdlib-2.5.0/libdoc/csv/rdoc/CSV.html#Converters) should be
158
+
used when parsing the file. Available options are `integer`, `float`, `numeric`, `date`, `date_time` and
159
+
`all`. By default, this list is empty.
160
+
`encoding`: What encoding the files are in. Defaults to the site `encoding` configuration option.
161
+
`headers`: Boolean field for whether to parse the first line of the file as headers. When `false`, it treats the
0 commit comments