Skip to main content

MkDocs Smzhbook Theme

The theme used on the blog.smallzh.top website, built with MkDocs.

Documentation: https://mkdocs-smzhbook-theme.readthedocs.io/

English | Chinese

0x01.Usage

Installing the Theme

pip install mkdocs-smzhbook-theme

Configuring MkDocs

Setting the theme in mkdocs.yml:

site_name: Your Site Name
theme:
  name: smzhbook

Customizing Styles and Scripts

extra_css:
  - custom.css

extra_javascript:
  - custom.js

Local Theme Development

If you need to use the theme source code directly locally (rather than the installed package), you can specify the theme directory directly in mkdocs.yml:

theme:
  name: null
  dir: /path/to/mkdocs-smzhbook-theme/smzhbook_theme

0x02.Development

First install uv, then run the following commands

# Create virtual environment
uv sync
# Start
uv run mkdocs serve

0xFF.Acknowledgments

  1. MkDocs - A simple and easy-to-use static site generator
  2. mkdocs-basic-theme - MkDocs' base theme library

Read the Docs PyPI Downloads PyPI Version

Metadata

Release files for mkdocs-smzhbook-theme 1.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mkdocs-smzhbook-theme 1.5.1
File Size Uploaded Provenance Actions
mkdocs_smzhbook_theme-1.5.1.tar.gz 1.0 MB Without provenance Details for mkdocs_smzhbook_theme-1.5.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mkdocs-smzhbook-theme 1.5.1
File Interpreter ABI Platform Actions
mkdocs_smzhbook_theme-1.5.1-py3-none-any.whl Python 3 none any Details for mkdocs_smzhbook_theme-1.5.1-py3-none-any.whl

Total release size: 2.1 MB

Release files / mkdocs_smzhbook_theme-1.5.1.tar.gz

Download URL mkdocs_smzhbook_theme-1.5.1.tar.gz
Size 1.0 MB
Tags Source
SHA-256 checksum
How to use checksums
735bc5ced1427ec30e7ce70987596aa5780807c8a6433732f907aed89f08a182
BLAKE2b-256 checksum
How to use checksums
57113586ddcd521d6c30eaecb7a443e0cddb09a978cf705c8df427965929b714
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.6

Release files / mkdocs_smzhbook_theme-1.5.1-py3-none-any.whl

Download URL mkdocs_smzhbook_theme-1.5.1-py3-none-any.whl
Size 1.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
a50f7c2465f473ab0fb2d467bb03af3d5fd942c2f991053eb0babd2815733569
BLAKE2b-256 checksum
How to use checksums
b4e80106f28eccb9b40fa3456fc1f64f549359cda2230b73e220b48bb190c4fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.6

Security for mkdocs-smzhbook-theme 1.5.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page