fix: change edit branch to aio
This commit is contained in:
parent
b01176cf80
commit
dd5e3f9ff9
@ -12,7 +12,7 @@
|
||||
{% macro githubEditHref(doc, versionInfo, pathPrefix) -%}
|
||||
{% set githubUrl = 'https://github.com/' + versionInfo.gitRepoInfo.owner + '/' + versionInfo.gitRepoInfo.repo -%}
|
||||
{% set lineInfo = doc.startingLine and ('#L' + (doc.startingLine + 1) + '-L' + (doc.endingLine + 1)) or '' -%}
|
||||
{$ githubUrl $}/edit/master/{$ projectRelativePath(doc.fileInfo) $}?message=docs
|
||||
{$ githubUrl $}/edit/aio/{$ projectRelativePath(doc.fileInfo) $}?message=docs
|
||||
{%- if doc.moduleDoc %}({$ doc.moduleDoc.id.split('/')[0] $})
|
||||
{%- elseif doc.docType === 'module' %}({$ doc.id.split('/')[0] $})
|
||||
{%- elseif doc.docType === 'content' %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user