mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-13 00:57:53 +02:00
feat(v2): allow per-doc hiding of edit url (#2166)
This commit is contained in:
parent
428e087eb7
commit
75f5bb4d23
4 changed files with 42 additions and 1 deletions
|
@ -134,7 +134,7 @@ export default async function processMetadata({
|
|||
description,
|
||||
source: aliasedSitePath(filePath, siteDir),
|
||||
permalink,
|
||||
editUrl: custom_edit_url || docsEditUrl,
|
||||
editUrl: custom_edit_url !== undefined ? custom_edit_url : docsEditUrl,
|
||||
version,
|
||||
lastUpdatedBy,
|
||||
lastUpdatedAt,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue