@@ -78,18 +78,24 @@ type Define = {
7878 * Defines the Rsbuild config for the app.
7979 *
8080 * This config is used by the `rs dev`, `rs build`, and `rs preview` commands.
81+ *
82+ * @see {@link https://rstack.rs/config | Rstack configuration guide }
8183 */
8284 app : ( config : RsbuildConfigDefinition ) => void ;
8385 /**
8486 * Defines the Rslib config for libraries.
8587 *
8688 * This config is used by the `rs lib` command.
89+ *
90+ * @see {@link https://rstack.rs/config | Rstack configuration guide }
8791 */
8892 lib : ( config : RslibConfigDefinition ) => void ;
8993 /**
9094 * Defines the Rspress config for documentation.
9195 *
9296 * This config is used by the `rs doc` command.
97+ *
98+ * @see {@link https://rstack.rs/config | Rstack configuration guide }
9399 */
94100 doc : ( config : RspressConfigDefinition ) => void ;
95101 /**
@@ -100,24 +106,32 @@ type Define = {
100106 * Unless `extends` is set explicitly, Rstest automatically extends `define.app` or
101107 * falls back to `define.lib`. For multi-project configs, this applies to every inline
102108 * project without an explicit `extends`. The app config takes precedence when both are defined.
109+ *
110+ * @see {@link https://rstack.rs/config | Rstack configuration guide }
103111 */
104112 test : ( config : RstestConfigExport ) => void ;
105113 /**
106114 * Defines the Rslint config for linting.
107115 *
108116 * This config is used by the `rs lint` command.
117+ *
118+ * @see {@link https://rstack.rs/config | Rstack configuration guide }
109119 */
110120 lint : ( config : RslintConfig | ( ( ) => Promise < RslintConfig > ) ) => void ;
111121 /**
112122 * Defines the Prettier config for formatting.
113123 *
114124 * This config will be used by the `rs fmt` command.
125+ *
126+ * @see {@link https://rstack.rs/config | Rstack configuration guide }
115127 */
116128 fmt : ( config : FmtConfigDefinition ) => void ;
117129 /**
118130 * Defines the lint-staged config for staged files.
119131 *
120132 * This config is used by the `rs staged` command.
133+ *
134+ * @see {@link https://rstack.rs/config | Rstack configuration guide }
121135 */
122136 staged : ( config : StagedConfig ) => void ;
123137} ;
0 commit comments