Skip to content

Commit

Permalink
fixed z-index of fixed title bar being higher than the search overlay
Browse files Browse the repository at this point in the history
also:
- fixed documents autolinking to themselves
  • Loading branch information
marzer committed May 2, 2021
1 parent e616234 commit d227640
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion poxy/data/poxy.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ body > header
top: 0;
left: 0;
right: 0;
z-index: 100;
z-index: 5;
}

body > main
Expand Down
2 changes: 2 additions & 0 deletions poxy/fixers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit d227640

Please sign in to comment.