mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-14 20:48:00 +00:00
* add docfx and gh action to build docs * kick off build from feature branch * Fix LGTM linting * update az pipeline to win22 & remove nuget install * remove azure ci changes * fix implicit using to support 5.0 * fix more js issues * remove resource designer changes * remove space * fix linting misspellings in autogenerated js temp * fix misspellings in generated code * delete log file
28 lines
No EOL
813 B
JavaScript
28 lines
No EOL
813 B
JavaScript
// 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)
|
|
};
|
|
} |