From 9c610e6e62e42b7006927dea0c9f1007007285b3 Mon Sep 17 00:00:00 2001 From: Simon Wisselink Date: Fri, 3 Feb 2023 22:27:18 +0100 Subject: [PATCH] multiversion mkdocs config --- .gitignore | 2 ++ docs/index.md | 2 +- mkdocs.yml | 4 ++++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 33463018..4de2ae04 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,8 @@ .idea/ +/site + phpunit* .phpunit.result.cache /vendor/* diff --git a/docs/index.md b/docs/index.md index c1d88102..697b5721 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,4 +1,4 @@ -# Smarty 4 Documentation +# Smarty Documentation Smarty is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. It allows you to write **templates**, using **variables**, **modifiers**, **functions** and **comments**, like this: diff --git a/mkdocs.yml b/mkdocs.yml index 9f0a7d35..e1868e67 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -9,6 +9,10 @@ theme: logo: material/lightbulb-on favicon: images/favicon.ico +extra: + version: + provider: mike + markdown_extensions: - pymdownx.highlight: anchor_linenums: true