diff --git a/Makefile b/Makefile index bf51361e3..e2f78053e 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: all fmt build check test +.PHONY: all fmt build check test docs servedocs all: build @@ -22,3 +22,8 @@ build: fmt: cargo +nightly fmt +docs: + ci/build-docs.sh + +servedocs: + ci/build-docs.sh serve diff --git a/docs/config/files.md b/docs/config/files.md index 1a11e9592..d4fe04b5f 100644 --- a/docs/config/files.md +++ b/docs/config/files.md @@ -11,15 +11,28 @@ local wezterm = require 'wezterm' -- This will hold the configuration. local config = wezterm.config_builder() --- This is where you actually apply your config choices +-- This is where you actually apply your config choices. --- For example, changing the color scheme: +-- For example, changing the initial geometry for new windows: +config.initial_cols = 120 +config.initial_rows = 28 + +-- or, changing the font size and color scheme. +config.font_size = 10 config.color_scheme = 'AdventureTime' --- and finally, return the configuration to wezterm +-- Finally, return the configuration to wezterm: return config ``` +For more details, see: + +- [wezterm.config_builder](lua/wezterm/config_builder.md) +- [initial_cols](lua/config/initial_cols.md) +- [initial_rows](lua/config/initial_rows.md) +- [font_size](lua/config/font_size.md) +- [color_scheme](lua/config/color_schemes.md) + ## Configuration Files `wezterm` will look for a [lua](https://www.lua.org/manual/5.3/manual.html)