Commit 3493bd57 authored by NGPixel's avatar NGPixel

feat: themes folder + telemetry option in setup

parent 24ca6e36
...@@ -27,6 +27,7 @@ export default { ...@@ -27,6 +27,7 @@ export default {
results: [] results: []
}, },
conf: { conf: {
telemetry: true,
upgrade: false, upgrade: false,
title: siteConfig.title || 'Wiki', title: siteConfig.title || 'Wiki',
host: siteConfig.host || 'http://', host: siteConfig.host || 'http://',
......
...@@ -3,6 +3,11 @@ const path = require('path') ...@@ -3,6 +3,11 @@ const path = require('path')
/* global wiki */ /* global wiki */
module.exports = () => { module.exports = () => {
wiki.config.site = {
path: '',
title: 'Wiki.js'
}
// ---------------------------------------- // ----------------------------------------
// Load modules // Load modules
// ---------------------------------------- // ----------------------------------------
...@@ -354,7 +359,6 @@ module.exports = () => { ...@@ -354,7 +359,6 @@ module.exports = () => {
error: wiki.IS_DEBUG ? err : {} error: wiki.IS_DEBUG ? err : {}
}) })
wiki.logger.error(err.message) wiki.logger.error(err.message)
process.exit(1)
}) })
// ---------------------------------------- // ----------------------------------------
......
...@@ -22,12 +22,16 @@ block body ...@@ -22,12 +22,16 @@ block body
i(v-if='loading') i(v-if='loading')
.panel-content.is-text .panel-content.is-text
p This installation wizard will guide you through the steps needed to get your wiki up and running in no time! p This installation wizard will guide you through the steps needed to get your wiki up and running in no time!
p Detailed information about installation and usage can be found on the #[a(href='https://docs.wiki.requarks.io/') official documentation site]. #[br] Should you have any question or would like to report something that doesn't look right, feel free to create a new issue on the #[a(href='https://github.com/Requarks/wiki/issues') GitHub project]. p Detailed information about installation and usage can be found on the #[a(href='https://wiki.requarks.io/docs') official documentation site]. #[br] Should you have any question or would like to report something that doesn't look right, feel free to create a new issue on the #[a(href='https://github.com/Requarks/wiki/issues') GitHub project].
.panel-content.form-sections .panel-content.form-sections
section section
p #[i.nc-icon-outline.tech_cd-reader] You are about to install Wiki.js #[strong= packageObj.version]. p #[i.nc-icon-outline.tech_cd-reader] You are about to install Wiki.js #[strong= packageObj.version].
section section
p.control.is-fullwidth p.control.is-fullwidth
input#ipt-telemetry(type='checkbox', v-model='conf.telemetry', name='ipt-telemetry')
label.label(for='ipt-telemetry') Enable telemetry
span.desc Help Wiki.js developers improve this app with anonymized #[a(href='https://wiki.requarks.io/docs/telemetry') telemetry].
p.control.is-fullwidth
input#ipt-upgrade(type='checkbox', v-model='conf.upgrade', name='ipt-upgrade') input#ipt-upgrade(type='checkbox', v-model='conf.upgrade', name='ipt-upgrade')
label.label(for='ipt-upgrade') Upgrade from Wiki.js 1.x label.label(for='ipt-upgrade') Upgrade from Wiki.js 1.x
span.desc Check this box if you are upgrading from Wiki.js 1.x and wish to migrate your existing data. span.desc Check this box if you are upgrading from Wiki.js 1.x and wish to migrate your existing data.
......
name: Default
author: Nicolas Giard
site: https://wiki.requarks.io/
version: 1.0.0
requirements:
minimum: '>= 2.0.0'
maximum: '< 3.0.0'
fields:
primary:
title: Primary Color
description: Used for top navigation bar, headers, links, etc.
type: color
default: indigo
alt:
title: Alternate Color
description: Used for the sidebar (in a darker tone)
type: color
default: blue-grey
codeDark:
title: Code Blocks - Use Dark Theme
description: todo
type: boolean
default: true
codeColorize:
title: Code Blocks - Colorize syntax
description: todo
type: boolean
default: true
\ No newline at end of file
This diff was suppressed by a .gitattributes entry.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment