From b32324d69cacccf6d024de05d478f68955e3d5d4 Mon Sep 17 00:00:00 2001 From: bleudev Date: Tue, 2 Jul 2024 18:31:10 +0300 Subject: [PATCH] Stack: deprecations + create USTL dir --- docs/uSTL/stack.md | 8 ++++++++ docs/useful_classes/ustack.md | 8 ++++++-- mkdocs.yml | 3 +++ 3 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 docs/uSTL/stack.md diff --git a/docs/uSTL/stack.md b/docs/uSTL/stack.md new file mode 100644 index 0000000..74089a2 --- /dev/null +++ b/docs/uSTL/stack.md @@ -0,0 +1,8 @@ +--- +title: Stack[VT] + +tags: + - uSTL +--- + +# class Stack[VT] diff --git a/docs/useful_classes/ustack.md b/docs/useful_classes/ustack.md index 3a5c7dc..c8c8a98 100644 --- a/docs/useful_classes/ustack.md +++ b/docs/useful_classes/ustack.md @@ -1,8 +1,12 @@ --- -title: UStack +title: UStack[VT] (deprecated) tags: - useful class --- -# `UStack` class +{-- +# class UStack[VT] +--} + +UStack is deprecated in 0.2 and will be deleted in 0.5. Use [`ustl.Stack`](../uSTL/stack.md) class instead. diff --git a/mkdocs.yml b/mkdocs.yml index 173fb53..babff02 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -27,6 +27,7 @@ theme: typec: material/code-braces info: octicons/info-16 useful: simple/python + ustl: material/language-cpp palette: - media: "(prefers-color-scheme: light)" scheme: default @@ -45,6 +46,7 @@ extra: information: info useful class: useful useful feature: useful + uSTL: ustl version: provider: mike @@ -62,6 +64,7 @@ markdown_extensions: line_spans: __span use_pygments: true pygments_lang_class: true + - pymdownx.critic - pymdownx.details - pymdownx.inlinehilite - pymdownx.snippets