mirror of
https://github.com/lune-org/lune.git
synced 2024-12-12 13:00:37 +00:00
Replace references to wiki with gitbook
This commit is contained in:
parent
d0094ec0d1
commit
9cf6c0f44f
3 changed files with 6 additions and 6 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
/bin
|
/bin
|
||||||
/target
|
/target
|
||||||
/wiki
|
/gitbook
|
||||||
|
|
||||||
# Autogenerated files
|
# Autogenerated files
|
||||||
|
|
||||||
|
|
2
.vscode/settings.json
vendored
2
.vscode/settings.json
vendored
|
@ -40,6 +40,6 @@
|
||||||
// Autogenerate dirs
|
// Autogenerate dirs
|
||||||
"bin": true,
|
"bin": true,
|
||||||
"target": true,
|
"target": true,
|
||||||
"wiki": true
|
"gitbook": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -47,9 +47,9 @@ pub struct Cli {
|
||||||
/// Generate a Lune documentation file for Luau LSP
|
/// Generate a Lune documentation file for Luau LSP
|
||||||
#[clap(long)]
|
#[clap(long)]
|
||||||
generate_docs_file: bool,
|
generate_docs_file: bool,
|
||||||
/// Generate the full Lune wiki directory
|
/// Generate the full Lune gitbook directory
|
||||||
#[clap(long, hide = true)]
|
#[clap(long, hide = true)]
|
||||||
generate_wiki_dir: bool,
|
generate_gitbook_dir: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[allow(dead_code)]
|
#[allow(dead_code)]
|
||||||
|
@ -119,7 +119,7 @@ impl Cli {
|
||||||
let generate_file_requested = self.generate_luau_types
|
let generate_file_requested = self.generate_luau_types
|
||||||
|| self.generate_selene_types
|
|| self.generate_selene_types
|
||||||
|| self.generate_docs_file
|
|| self.generate_docs_file
|
||||||
|| self.generate_wiki_dir;
|
|| self.generate_gitbook_dir;
|
||||||
if generate_file_requested {
|
if generate_file_requested {
|
||||||
if self.generate_luau_types {
|
if self.generate_luau_types {
|
||||||
generate_and_save_file(FILE_NAME_LUAU_TYPES, "Luau type definitions", || {
|
generate_and_save_file(FILE_NAME_LUAU_TYPES, "Luau type definitions", || {
|
||||||
|
@ -139,7 +139,7 @@ impl Cli {
|
||||||
})
|
})
|
||||||
.await?;
|
.await?;
|
||||||
}
|
}
|
||||||
if self.generate_wiki_dir {
|
if self.generate_gitbook_dir {
|
||||||
generate_wiki_dir_from_definitions(FILE_CONTENTS_LUAU_TYPES).await?;
|
generate_wiki_dir_from_definitions(FILE_CONTENTS_LUAU_TYPES).await?;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue