mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-08 12:20:06 +00:00
Set the anchors
This commit is contained in:
parent
2bf1b3004e
commit
709169a4d8
@ -3,10 +3,11 @@
|
||||
|
||||
import os
|
||||
from pathlib import Path
|
||||
import xml.etree.ElementTree as et
|
||||
from mkdocstrings.handlers.base import BaseHandler
|
||||
from typing import Any, List, Mapping, Optional
|
||||
from subprocess import CalledProcessError, PIPE, Popen, STDOUT
|
||||
import xml.etree.ElementTree as et
|
||||
|
||||
from mkdocstrings.handlers.base import BaseHandler
|
||||
|
||||
class Definition:
|
||||
'''A definition extracted by Doxygen.'''
|
||||
@ -288,6 +289,8 @@ class CxxHandler(BaseHandler):
|
||||
return self.collect_compound(identifier, cls)
|
||||
|
||||
def render(self, d: Definition, config: dict) -> str:
|
||||
if d.id is not None:
|
||||
self.do_heading('', 0, id=d.id)
|
||||
text = '<div class="docblock">\n'
|
||||
text += render_decl(d)
|
||||
text += '<div class="docblock-desc">\n'
|
||||
|
Loading…
Reference in New Issue
Block a user