Rspress best practices Apply these rules when writing or reviewing Rspress (v2) sites. Configuration - Use and from - Set explicitly when docs are not under the default directory - Keep site-wide settings such as , , , , , and in config instead of repeating them in page files - Prefer first-class Rspress options before custom theme code or low-level bundler overrides - Keep custom theme code in a top-level directory and import original theme pieces from CLI - Use for local development - Use for production output - Use only for local preview of the built site - Use only when CSS variables, cla…