Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,6 @@ def generate_docusaurus():

dest_path.write_text(safe_content, encoding="utf-8")

fishjam_dir = out / "fishjam"
submodules_dir = out / "submodules"

fishjam_dir.rename(submodules_dir)


def update_client():
if len(sys.argv) < 2:
Expand Down
4 changes: 2 additions & 2 deletions templates/docusaurus/frame.html.jinja2
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: {{ module.name }}
sidebar_label: {{ module.name.split(".")[-1] }}
sidebar_label: {{ module.name }}
custom_edit_url: null
---

{% block content %}{% endblock %}
{% block content %}{% endblock %}
4 changes: 2 additions & 2 deletions templates/docusaurus/module.html.jinja2
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "frame.html.jinja2" %}

{% block content %}
# {{ module.name }}
# {{ module.fullname }}

{% block module_info %}
{% if module.docstring and ".. include::" not in module.docstring %}
Expand All @@ -17,7 +17,7 @@
{% if module.submodules %}
## Submodules
{% for submodule in module.submodules if is_public(submodule) | trim %}
- [{{ submodule.name }}](submodules/{{ submodule.name }})
- [{{ submodule.name }}](fishjam/{{ submodule.name }})
{% endfor %}
{% endif %}
{% endblock %}
Expand Down