Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
Update the in-doc editor config
Browse files Browse the repository at this point in the history
Summary: Update the enable in-doc editor configuration:

Reviewed By: justinhaaheim

Differential Revision: D39680690

fbshipit-source-id: f9214a3a9a5ad96727cdfba19b24b643a1a194b3
  • Loading branch information
raedle committed Nov 20, 2022
1 parent 76af923 commit d03b8a3
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,14 +156,20 @@ module.exports = {
rehypePlugins: [katex],
editUrl: fbContent({
internal:
'https://www.internalfb.com/code/fbsource/xplat/pytorch/live/website',
'https://www.internalfb.com/intern/diffusion/FBS/browse/master/xplat/playtorch/playtorch-github/website/',
external:
'https://github.com/facebookresearch/playtorch/edit/main/website',
'https://github.com/facebookresearch/playtorch/blob/main/website',
}),
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
staticDocsProject: 'playtorch',
trackingFile: 'xplat/staticdocs/WATCHED_FILES',
'remark-code-snippets': {
baseDir: '..',
},
enableEditor: true,
gtag: {
trackingID: 'G-703RV77NHN',
},
Expand Down

0 comments on commit d03b8a3

Please sign in to comment.