Skip to content

Commit a22ed80

Browse files
Merge remote-tracking branch 'repoconf-rust-public-lib-template/main'
2 parents af6536d + 924e6d2 commit a22ed80

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ categories = ["development-tools::procedural-macro-helpers", "rust-patterns"]
1313
exclude = [
1414
".*",
1515
"*.local.*",
16+
"doc/dev",
17+
"specs",
1618
"README.ts",
1719
"AGENTS*.md",
1820
"CLAUDE*.md",

README.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ const docsUrlIs200 = docsUrlHead.status === 200
174174

175175
// Hack: await the promise instead of calling `then` because `then` has incorrect type in `zx`
176176
const insertCrateDocsIntoReadme = async (readmePath: string) => {
177-
await $`cargo insert-docs crate-into-readme --allow-dirty --link-to-latest --readme-path ${readmePath}`
177+
await $`cargo insert-docs crate-into-readme --allow-dirty --link-to-latest --shrink-headings 0 --readme-path ${readmePath}`
178178
}
179179

180180
const theGitHubRepo = await (async () => {

mise.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ cargo-binstall = "1.10.15"
1010
"npm:@commitlint/cli" = "19.6.0"
1111
"npm:@commitlint/types" = "19.5.0"
1212
"npm:repomix" = "1.5.0"
13-
"cargo:https://github.com/DenisGorbachev/cargo-insert-docs" = { version = "branch:main", crate = "cargo-insert-docs" }
13+
"cargo:cargo-insert-docs" = "1.2.0"
1414
"cargo:cargo-sort" = "1.0.9"
1515
"cargo:cargo-hack" = "0.6.33"
1616
"cargo:cargo-machete" = "0.7.0"

0 commit comments

Comments
 (0)