DOCUMENTATION

Documentation

Documentation art

Documentation

This page exists to prove the public site is rendering real database content through view.php. The menu is generated from the pages table, ordered by position, and nested by owner.

Real routing

Menu items now link to ?slug=... pages instead of being fake placeholders.

Child support

Documentation has seeded child pages so you can test drop downs and flyout menus immediately.

Prism ready

Code blocks use language-python and are highlighted by Prism on both page load and modal preview.

Getting Started

Open page

Getting Started

The quickest way to validate the front end is to install the SQL, hit the home page, and open the seeded pages from the dynamic menu. This page is a child of Documentation and proves the rollout stays open long enough to use.

from qtpy.QtWidgets import QApplication, QLabel

app = QApplication([])
label = QLabel("Hello from CutiePy")
label.resize(320, 60)
label.show()
app.exec()

Dynamic Menu

Open page

Dynamic Menu

The top navigation is built from the pages table. Parent-child relationships are determined by the owner column, and nested flyouts are rendered recursively.

  • Top-level pages have owner = 0.
  • Child pages store the parent page ID in owner.
  • Ordering comes from position.

Python Sample

Open page

Python Sample

This page is seeded specifically so you can verify Prism is wired up correctly on a real installed page.

class CutieWindow:
    def __init__(self, title: str) -> None:
        self.title = title
        self.widgets = []

    def addWidget(self, widget: str) -> None:
        self.widgets.append(widget)

    def describe(self) -> str:
        return f"{self.title} with {len(self.widgets)} widgets"

window = CutieWindow("CutiePy Demo")
window.addWidget("NavigationBar")
window.addWidget("CodePanel")
print(window.describe())