mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
fix(edit-docs): not working under NixOS
This commit is contained in:
parent
3091eb831a
commit
bab679fd2a
@ -33,24 +33,24 @@ if (!DOCS_ROOT || !USER_GUIDE_ROOT) {
|
|||||||
const NOTE_MAPPINGS: NoteMapping[] = [
|
const NOTE_MAPPINGS: NoteMapping[] = [
|
||||||
{
|
{
|
||||||
rootNoteId: "pOsGYCXsbNQG",
|
rootNoteId: "pOsGYCXsbNQG",
|
||||||
path: path.join(DOCS_ROOT, "User Guide"),
|
path: path.join(__dirname, DOCS_ROOT, "User Guide"),
|
||||||
format: "markdown"
|
format: "markdown"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
rootNoteId: "pOsGYCXsbNQG",
|
rootNoteId: "pOsGYCXsbNQG",
|
||||||
path: USER_GUIDE_ROOT,
|
path: path.join(__dirname, USER_GUIDE_ROOT),
|
||||||
format: "html",
|
format: "html",
|
||||||
ignoredFiles: ["index.html", "navigation.html", "style.css", "User Guide.html"],
|
ignoredFiles: ["index.html", "navigation.html", "style.css", "User Guide.html"],
|
||||||
exportOnly: true
|
exportOnly: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
rootNoteId: "jdjRLhLV3TtI",
|
rootNoteId: "jdjRLhLV3TtI",
|
||||||
path: path.join(DOCS_ROOT, "Developer Guide"),
|
path: path.join(__dirname, DOCS_ROOT, "Developer Guide"),
|
||||||
format: "markdown"
|
format: "markdown"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
rootNoteId: "hD3V4hiu2VW4",
|
rootNoteId: "hD3V4hiu2VW4",
|
||||||
path: path.join(DOCS_ROOT, "Release Notes"),
|
path: path.join(__dirname, DOCS_ROOT, "Release Notes"),
|
||||||
format: "markdown"
|
format: "markdown"
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user