diff --git a/poxy/data/poxy.css b/poxy/data/poxy.css index 8e3cc21..5306766 100644 --- a/poxy/data/poxy.css +++ b/poxy/data/poxy.css @@ -17,7 +17,7 @@ body > header top: 0; left: 0; right: 0; - z-index: 100; + z-index: 5; } body > main diff --git a/poxy/fixers.py b/poxy/fixers.py index 208677c..f5f179a 100644 --- a/poxy/fixers.py +++ b/poxy/fixers.py @@ -605,6 +605,8 @@ def __call__(self, doc, context): for tag in tags: strings = strings + soup.string_descendants(tag, lambda t: soup.find_parent(t, 'a', tag) is None) for expr, uri in context.autolinks: + if uri == doc.path.name: # don't create unnecessary self-links + continue i = 0 while i < len(strings): string = strings[i] diff --git a/setup.py b/setup.py index 6270940..fb7fea8 100644 --- a/setup.py +++ b/setup.py @@ -41,7 +41,7 @@ def enum_subdirs(root): setup_args = dict( name=r'poxy', - version=r'0.1.1', + version=r'0.1.2', description=r'Documentation generator for C++.', long_description_content_type=r'text/markdown', long_description=f'{README}\n\n{HISTORY}'.strip(),