UNPKG

@xpack/docusaurus-plugin-doxygen

Version:

A Docusaurus plugin to integrate Doxygen into a Docusaurus project.

33 lines (27 loc) 1.05 kB
/* * This file is part of the xPack project (http://xpack.github.io). * Copyright (c) 2024 Liviu Ionescu. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software * for any purpose is hereby granted, under the terms of the MIT license. * * If a copy of the license was not distributed with this file, it can * be obtained from https://opensource.org/licenses/MIT. */ // ---------------------------------------------------------------------------- import styles from './styles.module.css'; import React from 'react'; // ---------------------------------------------------------------------------- export default function XrefSect({title, permalink, children}) { return ( <div class="doxyXrefSect"> <dl class="doxyXrefSectList"> <dt class="doxyXrefSectTitle"><a href={permalink}>{title}</a></dt> <dd class="doxyXrefSectDescription"> {children} </dd> </dl> </div> ); } // ----------------------------------------------------------------------------