mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-02 01:03:29 +01:00
Updated API doc theme. Added Wizard Sample
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
// Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
var urefCommon = require('./UniversalReference.common.js');
|
||||
var extension = require('./UniversalReference.extension.js');
|
||||
|
||||
exports.transform = function (model) {
|
||||
if (extension && extension.preTransform) {
|
||||
model = extension.preTransform(model);
|
||||
}
|
||||
|
||||
if (urefCommon && urefCommon.transform) {
|
||||
model = urefCommon.transform(model);
|
||||
}
|
||||
|
||||
model._disableToc = model._disableToc || !model._tocPath || (model._navPath === model._tocPath);
|
||||
|
||||
if (extension && extension.postTransform) {
|
||||
model = extension.postTransform(model);
|
||||
}
|
||||
|
||||
return model;
|
||||
}
|
||||
|
||||
exports.getOptions = function (model) {
|
||||
return {
|
||||
"bookmarks": urefCommon.getBookmarks(model)
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user