+
Skip to content
This repository was archived by the owner on Aug 31, 2023. It is now read-only.

fix(lindoc): fix generated docs path #3700

Merged
merged 1 commit into from
Nov 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion xtask/contributors/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions xtask/lintdoc/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载