
Build a Docusaurus-like Site with FastAPI: Step 6 - Sidebar Generation
This guide implements a dynamic sidebar by scanning Markdown files and updating layouts to create a professional two-column documentation interface.
Deploy your project in the fast yet powerful way.
Live Last read · last published · next check

This guide implements a dynamic sidebar by scanning Markdown files and updating layouts to create a professional two-column documentation interface.

This guide shows how to use python-frontmatter in FastAPI to parse Markdown metadata, like 'title', and dynamically pass it to a Jinja2 template instead of hardcoding it.

This guide shows how to add code syntax highlighting to a FastAPI docs site using Pygments and `python-markdown` extensions, including setting up static CSS.

This article guides you through rendering Markdown files in a FastAPI application by installing `python-markdown`, creating a new route, and passing the converted HTML to a Jinja2 template.

This guide explains the first step in building a documentation site with FastAPI: setting up the project and using Jinja2 to render a dynamic HTML template.

This article explains how to add a "Categories" feature to a FastAPI forum by updating database models, modifying routes, and updating templates to organize posts by topic.

This guide details adding S3 image uploads to a FastAPI forum. It covers backend logic with `boto3`, database model changes, and updating FastAPI routes and HTML templates.

This guide adds a powerful full-text search to a FastAPI forum using PostgreSQL's `tsvector`, SQL triggers, and a new search route.

This guide implements a permission system for the FastAPI forum, adding admin roles and a user-banning feature with model updates and protected routes.

This guide details adding comment and reply functionality to a FastAPI forum by updating database models, creating a new `post_detail.html` template, and implementing backend routes.