Skip to content

Commit

Permalink
Fix schema jump links
Browse files Browse the repository at this point in the history
  • Loading branch information
Bwc9876 committed Jan 20, 2023
1 parent 64d84b1 commit 9d88fca
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion menagerie/Items/Managers/PageManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ def generate(self):
'static': self.gen.shared_info['static_filter'],
'external_or_static': self.gen.shared_info['external_resolver_filter'],
'upper_first': lambda x: x[0].upper() + x[1:],
'simple_md': lambda md: self.filter_md.convert(md)
'simple_md': lambda md: self.filter_md.convert(md),
'replace_dollar': lambda x: x.replace("$", "_")
}
da_globals = {
'nav_items': nav_items,
Expand Down
2 changes: 1 addition & 1 deletion menagerie/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from menagerie.generate import generate
from menagerie.new_project import new_project

__version__ = '0.1.12'
__version__ = '0.1.13'


def get_parser():
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% from "schema_templates/schema_macros.jinja2" import badge %}
{% set html_id = sub_property.html_id %}
{% set html_id = sub_property.html_id|replace_dollar %}
<div class="row my-2">
<div class="col">
<div class="accordion" id="accordion{{ html_id }}">
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = menagerie-docs
author = bwc9876
author_email = [email protected]
version = 0.1.12
version = 0.1.13
url = https://github.com/Bwc9876/menagerie
description = A static site generator made for MarkDown, HTML, JsonSchema, XMLSchema, and more
long_description = file: README.md
Expand Down

0 comments on commit 9d88fca

Please sign in to comment.