Skip to main content

UBL theme for MkDocs, extending Material for MkDocs

Project description

MkDocs UBL theme for documentation

MkDocs UBL is a theme for writing documentation using the Leiden University Libraries style and colors. MkDocs UBL template is based on Material for MkDocs; a theme for MkDocs. MkDocs is static site generator geared towards (technical) project documentation.

Installation

The MkDocs UBL theme can be installed with pip:

First, make sure you have installed Python v3.* on your machine. During the installation you will be asked if you also want to install 'pip'. Do so, and then run the following command to install all the dependencies to run MkDocs with the theme on your machine:

pip install mkdocs-ubleiden-theme

This will automatically install compatible versions of all dependencies: MkDocs, Material for MkDocs, Markdown, Pygments and Python Markdown Extensions. There's no need to install these packages separately.

Using this theme in your project

Following the [Styling your docs guide][style], set the theme to ubleiden in your mkdocs.yml configuration file:

theme: ubleiden

or:

theme:
  name: ubleiden

Generating the documentation

If you have installed Python 3.* and MkDocs, you can use the command mkdocs serve, or python -m mkdocs serve in your terminal to serve the documentation on your development computer. For example:

C:\Users\username\Documents\my-cool-application> python -m mkdocs serve

When you are ready to generate the final documentation files, run mkdocs build to create a static version locally, or mkdocs gh-deploy to build and push the docs to a special branch in your remote git repository.

For more information about generating and publishing the documentation, see Deploying your Docs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mkdocs_ubleiden_theme-1.2.0.tar.gz (91.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mkdocs_ubleiden_theme-1.2.0-py3-none-any.whl (90.6 kB view details)

Uploaded Python 3

File details

Details for the file mkdocs_ubleiden_theme-1.2.0.tar.gz.

File metadata

  • Download URL: mkdocs_ubleiden_theme-1.2.0.tar.gz
  • Upload date:
  • Size: 91.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for mkdocs_ubleiden_theme-1.2.0.tar.gz
Algorithm Hash digest
SHA256 9c6f00758f4791db192e06c875c5eb76494cf7b201e9dba2c1bbfe7ec9ae5833
MD5 1409a3848ac2a2c1cece620e7eb49b51
BLAKE2b-256 0ce129dea40bd3fcc7ebd566bbef3c1c8d392cb1ed7a018add5d1a244addaf14

See more details on using hashes here.

Provenance

The following attestation bundles were made for mkdocs_ubleiden_theme-1.2.0.tar.gz:

Publisher: publish-to-pypi.yml on LeidenUniversityLibrary/mkdocs-ubleiden-theme

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mkdocs_ubleiden_theme-1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mkdocs_ubleiden_theme-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 65a38a9e02ead1dac19eb08b31f0d2e954ee63ce2a67ae18557913407d3889de
MD5 301fc7de033304bb8a7c5939a075fc36
BLAKE2b-256 7a4806c7fb8241222a4ca6638d62d1d172a570f142bbd6f44a29f362e217bb3a

See more details on using hashes here.

Provenance

The following attestation bundles were made for mkdocs_ubleiden_theme-1.2.0-py3-none-any.whl:

Publisher: publish-to-pypi.yml on LeidenUniversityLibrary/mkdocs-ubleiden-theme

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page