Skip to content

Commit

Permalink
doc: better phrasing
Browse files Browse the repository at this point in the history
  • Loading branch information
tguichaoua authored and ctron committed Jan 13, 2025
1 parent ac9f02c commit e4772e4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion schemas/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@
"type": "boolean"
},
"html_output": {
"description": "The name of the output HTML file.\n\nIf not set, use the same file name as the target HTML file.",
"description": "The name of the output HTML file.\n\nIf not set, use the same name as the target HTML file.",
"type": [
"string",
"null"
Expand Down
2 changes: 1 addition & 1 deletion site/content/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ generation of the assets.
```toml
[build]
target = "index.html" # The index HTML file to drive the bundling process.
html_output = "index.html" # The file name of the output HTML file.
html_output = "index.html" # The name of the output HTML file.
release = false # Build in release mode.
dist = "dist" # The output dir for all final assets.
public_url = "/" # The public URL from which assets are to be served.
Expand Down
2 changes: 1 addition & 1 deletion src/config/models/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pub struct Build {

/// The name of the output HTML file.
///
/// If not set, use the same file name as the target HTML file.
/// If not set, use the same name as the target HTML file.
pub html_output: Option<String>,

/// Build in release mode [default: false]
Expand Down
2 changes: 1 addition & 1 deletion src/config/rt/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pub struct RtcBuild {
pub core: RtcCore,
/// The index HTML file to drive the bundling process.
pub target: PathBuf,
/// The file name of the output HTML file.
/// The name of the output HTML file.
pub html_output_filename: String,
/// The parent directory of the target index HTML file.
pub target_parent: PathBuf,
Expand Down

0 comments on commit e4772e4

Please sign in to comment.