Skip to content

Commit

Permalink
문서에 추적 기능 추가하고 기타 기능이 wiki 레포에서 일반 레포 기준으로
Browse files Browse the repository at this point in the history
동작하도록 변경
  • Loading branch information
deptno committed Oct 15, 2023
1 parent 5086e62 commit 312682a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apps/wiki/component/MarkdownAside.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ export const MarkdownAside: FC<Props> = async (props) => {
<div className="p-2">
<ChildrenWithSearchResult>
{!path.includes('/') && <div className="flex justify-end gap-2 border-b-2">
<a className="underline border-l-blue-400" href={`${URL_WIKI}/${path}/_edit`} target="_blank">수정</a>
<a className="underline border-l-blue-800" href={`${URL_WIKI}/${path}/_history`} target="_blank">기록</a>
<a className="underline border-l-blue-400" href={`${URL_WIKI}/edit/${branch}/${path}.md`} target="_blank">수정</a>
<a className="underline border-l-blue-800" href={`${URL_WIKI}/commits/${branch}/${path}.md`} target="_blank">기록</a>
<a className="underline border-l-blue-800" href={`${URL_WIKI}/blame/${branch}/${path}.md`} target="_blank">추적</a>
</div>}
<TOC html={data}/>
<LinkList graphData={g}/>
Expand Down

0 comments on commit 312682a

Please sign in to comment.