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

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
File Size Uploaded Provenance Actions
mkdocs_smzhbook_theme-1.5.tar.gz 1.0 MB Without provenance Details for mkdocs_smzhbook_theme-1.5.tar.gz

Built distribution (wheel)

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

Total release size: 2.1 MB

Release files / mkdocs_smzhbook_theme-1.5.tar.gz

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

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

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

Security for mkdocs-smzhbook-theme 1.5

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