Skip to content

Loaders configuration#29

Merged
lovelydinosaur merged 1 commit intomainfrom
loaders-config
Feb 12, 2026
Merged

Loaders configuration#29
lovelydinosaur merged 1 commit intomainfrom
loaders-config

Conversation

@lovelydinosaur
Copy link
Contributor

Adapt how the theme and docs are configured.

The loaders section of the config contains theme and docs components, each of which take a URI.


The default theme supplied by the mkdocs package, and the documentation served directly from the project directory. This is the default configuration...

[loaders]
theme = "pkg://mkdocs/default"
docs = "dir://"

The default theme as a .zip URL, and a local docs directory...

[loaders]
theme = "https://github.com/lovelydinosaur/mkdocs-theme/archive/refs/heads/main.zip"
docs = "dir://docs"

A theme downloaded locally, and a docs directory...

[loaders]
theme = "dir://theme"
docs = "dir://docs"

Both the theme and the documentation included in a single directory...

[mkdocs]
theme = "dir://docs"
docs = "dir://docs"

@lovelydinosaur lovelydinosaur merged commit 1e41056 into main Feb 12, 2026
1 check passed
@lovelydinosaur lovelydinosaur deleted the loaders-config branch February 12, 2026 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant