Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3f5b94c

Browse files
authored
Fix Gitbook relative links (#1196)
1 parentef96ad1 commit3f5b94c

File tree

5 files changed

+14
-6
lines changed

5 files changed

+14
-6
lines changed

‎pgml-cms/careers/full-stack-engineer.md‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,3 @@ We take care of our team and care about your well being.
3535
###Employment Eligibility
3636

3737
You must be eligible to work in the United States.
38-
39-
\

‎pgml-cms/careers/machine-learning-engineer.md‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,3 @@ We take care of our team and care about your well being.
3535
###Employment Eligibility
3636

3737
You must be eligible to work in the United States.
38-
39-
\

‎pgml-cms/careers/product-manager.md‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,3 @@ We take care of our team and care about your well being.
3636

3737
You must be eligible to work in the United States.
3838

39-
\

‎pgml-dashboard/src/components/navigation/tabs/mod.rs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@ pub mod tab;
66
pubuse tab::Tab;
77

88
// src/components/navigation/tabs/tabs
9-
#[allow(clippy::module_inception)]
109
pubmod tabs;
1110
pubuse tabs::Tabs;

‎pgml-dashboard/src/utils/markdown.rs‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -917,6 +917,20 @@ pub fn mkdocs<'a>(root: &'a AstNode<'a>, arena: &'a Arena<AstNode<'a>>) -> anyho
917917

918918
iter_nodes(root,&mut |node|{
919919
match&mut node.data.borrow_mut().value{
920+
&mutNodeValue::Link(refmut link) =>{
921+
let path =Path::new(link.url.as_str());
922+
923+
if path.is_relative(){
924+
if link.url.ends_with(".md"){
925+
for _in0..".md".len(){
926+
link.url.pop();
927+
}
928+
}
929+
}
930+
931+
Ok(true)
932+
}
933+
920934
&mutNodeValue::Text(refmut text) =>{
921935
if text.starts_with("===\""){
922936
letmut parent ={

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp