選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

conceptual.html.primary.js 697 B

12345678910111213141516171819
  1. // Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE file in the project root for full license information.
  2. var common = require('./common.js');
  3. var extension = require('./conceptual.extension.js')
  4. exports.transform = function (model) {
  5. if (extension && extension.preTransform) {
  6. model = extension.preTransform(model);
  7. }
  8. model._disableToc = model._disableToc || !model._tocPath || (model._navPath === model._tocPath);
  9. model.docurl = model.docurl || common.getImproveTheDocHref(model, model._gitContribute, model._gitUrlPattern);
  10. if (extension && extension.postTransform) {
  11. model = extension.postTransform(model);
  12. }
  13. return model;
  14. }