fix(lindoc): fix generated docs path
MODIFY
xtask/contributors/src/main.rs
xtask/contributors/src/main.rs
@@ -9,7 +9,7 @@ use xtask::*;
///
/// Only users that have read rights can run this script
fn main() -> Result<()> {
- let root = project_root().join("website/docs/src/components");
+ let root = project_root().join("website/src/components");
let mut args = Arguments::from_env();
let token: String = args.value_from_str("--token").unwrap();
let contributors = get_contributors(&token);

MODIFY
xtask/lintdoc/src/main.rs
xtask/lintdoc/src/main.rs
@@ -25,8 +25,8 @@ use std::{
use xtask::{glue::fs2, *};
fn main() -> Result<()> {
- let root = project_root().join("website/docs/src/pages/lint/rules");
- let reference_groups = project_root().join("website/docs/src/components/reference/Groups.md");
+ let root = project_root().join("website/src/pages/lint/rules");
+ let reference_groups = project_root().join("website/src/components/reference/Groups.md");
// Clear the rules directory ignoring "not found" errors
if let Err(err) = fs2::remove_dir_all(&root) {

fix(lindoc): fix generated docs path (#3700)