mirror of
https://github.com/lune-org/lune.git
synced 2024-12-12 04:50:36 +00:00
Fix gitbook formatting
This commit is contained in:
parent
d4d9108947
commit
3cc514a301
2 changed files with 2 additions and 1 deletions
|
@ -30,5 +30,5 @@ generate-gitbook:
|
|||
cargo run -- --generate-gitbook-dir
|
||||
|
||||
# Publish gitbook directory to gitbook branch
|
||||
publish-gitbook:
|
||||
publish-gitbook: generate-gitbook
|
||||
npx push-dir --dir=gitbook --branch=gitbook
|
||||
|
|
|
@ -255,6 +255,7 @@ fn post_process_docs(contents: String) -> String {
|
|||
.collect::<Vec<_>>()
|
||||
.join("\n");
|
||||
no_empty_lines
|
||||
.replace("\n\n---", "\n---")
|
||||
.replace("\n\n\n", "\n\n")
|
||||
.replace("\n\n\n", "\n\n")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue