Skip to content
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
1 change: 0 additions & 1 deletion packages/pgml-components/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(dead_code, unused_macros, unused_imports)]
//! A basic UI component. Any other component can accept this
//! as a parameter and render it.

Expand Down
1 change: 1 addition & 0 deletions pgml-dashboard/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
search_index
.DS_Store
.DS_Store/
node_modules
2 changes: 1 addition & 1 deletion pgml-dashboard/src/components/navigation/tabs/tab/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![allow(unused_variables)]
#![allow(unused_variables)] // tab.active usage isn't seen inside sailfish templates
use pgml_components::component;
use pgml_components::Component;
use sailfish::TemplateOnce;
Expand Down
2 changes: 1 addition & 1 deletion pgml-dashboard/src/utils/markdown.rs
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,7 @@ pub fn mkdocs<'a>(root: &'a AstNode<'a>, arena: &'a Arena<AstNode<'a>>) -> anyho
if text.ends_with(".md") {
if let Some(parent) = node.parent() {
match parent.data.borrow().value {
NodeValue::Link(ref link) => {
NodeValue::Link(ref _link) => {
for _ in 0..".md".len() {
text.pop();
}
Expand Down