2018-09-07 23:50:09 +08:00
|
|
|
module.exports = {
|
|
|
|
title: 'QtPromise',
|
|
|
|
description: 'Promises/A+ implementation for Qt/C++',
|
2019-12-21 17:27:26 +08:00
|
|
|
dest: 'dist/docs',
|
2018-09-07 23:50:09 +08:00
|
|
|
head: [
|
|
|
|
['link', { rel: 'icon', href: `/favicon.png` }],
|
|
|
|
],
|
2020-01-24 11:58:32 +08:00
|
|
|
plugins: [
|
|
|
|
['@vuepress/google-analytics', {
|
|
|
|
ga: 'UA-113899811-1'
|
|
|
|
}]
|
|
|
|
],
|
2018-09-07 23:50:09 +08:00
|
|
|
themeConfig: {
|
|
|
|
repo: 'simonbrunel/qtpromise',
|
|
|
|
lastUpdated: 'Last Updated',
|
2020-01-10 03:41:09 +08:00
|
|
|
smoothScroll: false,
|
2018-09-07 23:50:09 +08:00
|
|
|
editLinks: true,
|
2020-01-10 03:41:09 +08:00
|
|
|
sidebarDepth: 2,
|
2018-09-07 23:50:09 +08:00
|
|
|
docsDir: 'docs',
|
2018-09-10 18:36:31 +08:00
|
|
|
algolia: {
|
|
|
|
apiKey: '0e6e9cccb8c2c360a5543e28c4e31cb8',
|
|
|
|
indexName: 'qtpromise'
|
|
|
|
},
|
2019-12-21 17:27:26 +08:00
|
|
|
nav: [
|
|
|
|
{ text: 'Home', link: '/' },
|
|
|
|
{ text: 'Guide', link: '/qtpromise/getting-started' },
|
|
|
|
{ text: 'API Reference', link: '/qtpromise/api-reference' },
|
|
|
|
],
|
2018-09-07 23:50:09 +08:00
|
|
|
sidebar: [
|
2019-12-21 17:27:26 +08:00
|
|
|
'/qtpromise/getting-started',
|
|
|
|
'/qtpromise/qtconcurrent',
|
|
|
|
'/qtpromise/qtsignals',
|
|
|
|
'/qtpromise/thread-safety',
|
2018-09-07 23:50:09 +08:00
|
|
|
{
|
2020-01-10 03:41:09 +08:00
|
|
|
title: 'API Reference',
|
|
|
|
path: '/qtpromise/api-reference',
|
2018-09-07 23:50:09 +08:00
|
|
|
children: [
|
2020-01-10 03:41:09 +08:00
|
|
|
//['/qtpromise/api-reference', 'Overview'],
|
|
|
|
{
|
|
|
|
title: 'QPromise',
|
|
|
|
children: [
|
|
|
|
'/qtpromise/qpromise/constructor',
|
|
|
|
'/qtpromise/qpromise/delay',
|
|
|
|
'/qtpromise/qpromise/each',
|
|
|
|
'/qtpromise/qpromise/fail',
|
|
|
|
'/qtpromise/qpromise/filter',
|
|
|
|
'/qtpromise/qpromise/finally',
|
|
|
|
'/qtpromise/qpromise/isfulfilled',
|
|
|
|
'/qtpromise/qpromise/ispending',
|
|
|
|
'/qtpromise/qpromise/isrejected',
|
|
|
|
'/qtpromise/qpromise/map',
|
|
|
|
'/qtpromise/qpromise/reduce',
|
|
|
|
'/qtpromise/qpromise/tap',
|
|
|
|
'/qtpromise/qpromise/tapfail',
|
|
|
|
'/qtpromise/qpromise/then',
|
|
|
|
'/qtpromise/qpromise/timeout',
|
|
|
|
'/qtpromise/qpromise/wait',
|
|
|
|
'/qtpromise/qpromise/reject',
|
|
|
|
'/qtpromise/qpromise/resolve'
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: 'Helpers',
|
|
|
|
children: [
|
|
|
|
'/qtpromise/helpers/all',
|
|
|
|
'/qtpromise/helpers/attempt',
|
|
|
|
'/qtpromise/helpers/connect',
|
|
|
|
'/qtpromise/helpers/each',
|
|
|
|
'/qtpromise/helpers/filter',
|
|
|
|
'/qtpromise/helpers/map',
|
|
|
|
'/qtpromise/helpers/reduce',
|
|
|
|
'/qtpromise/helpers/resolve'
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: 'Exceptions',
|
|
|
|
children: [
|
|
|
|
'/qtpromise/exceptions/canceled',
|
|
|
|
'/qtpromise/exceptions/context',
|
|
|
|
'/qtpromise/exceptions/timeout',
|
|
|
|
'/qtpromise/exceptions/undefined'
|
|
|
|
]
|
|
|
|
}
|
2019-02-01 23:06:29 +08:00
|
|
|
]
|
2018-09-07 23:50:09 +08:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|