Skip to content

Commit

Permalink
edit source url in build time
Browse files Browse the repository at this point in the history
  • Loading branch information
sator-imaging authored Jan 12, 2024
1 parent a2d848a commit ff8b841
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .docfx/template/ManagedReference.extension.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

/**
* This method will be called at the start of exports.transform in ManagedReference.html.primary.js
*/
exports.preTransform = function (model) {
return model;
}

/**
* This method will be called at the end of exports.transform in ManagedReference.html.primary.js
*/
exports.postTransform = function (model) {

model.sourceurl += 'xxx';

return model;
}

0 comments on commit ff8b841

Please sign in to comment.