Skip to content

Commit 9058437

Browse files
committed
fix: rust doc string build
1 parent 2a83599 commit 9058437

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

bintensors/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bintensors"
3-
version = "0.0.1-alpha.2"
3+
version = "0.0.1-alpha.3"
44
edition = "2024"
55
license = "MIT"
66
rust-version = "1.85"
@@ -51,4 +51,4 @@ name = "benchmark"
5151
harness = false
5252

5353
[package.metadata.docs.rs]
54-
rustdoc-args = ["--html-in-header", "../docs/katex.html"]
54+
rustdoc-args = ["--html-in-header", "./docs/katex.html"]
File renamed without changes.

bintensors/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#![deny(missing_docs)]
22
#![doc(
3-
html_logo_url = "https://github.com/GnosisFoundation/bintensors/blob/master/.github/assets/bintensors-logo.png"
3+
html_logo_url = "https://github.com/GnosisFoundation/bintensors/blob/master/.github/assets/bintensors-logo.png?raw=true"
44
)]
55
#![doc = include_str!("../DOC_README.md")]
66
#![cfg_attr(not(feature = "std"), no_std)]

makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Define variables
22
ROOT_DIR := $(shell pwd)
3-
TARGET_DIR := $(ROOT_DIR)/../docs
4-
KATEX_HEADER := $(ROOT_DIR)/docs/katex.html
53
DOCS_DIR := $(ROOT_DIR)/bintensors
4+
TARGET_DIR := $(DOCS_DIR)/docs
5+
KATEX_HEADER := $(DOCS_DIR)/docs/katex.html
66

77
# Ensure the target directory exists
88
$(TARGET_DIR):

0 commit comments

Comments
 (0)