From f4ffee1f5968dfe1b77f44e73b511b1edae53ee1 Mon Sep 17 00:00:00 2001 From: mostafaei2002 Date: Sun, 12 May 2024 20:06:41 +0330 Subject: [PATCH 01/40] feat: add venv/ to .gitignore --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 641714d16..066d5f510 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,5 @@ coverage.* !.github !.gitignore !.pre-commit-config.yaml + +venv/ \ No newline at end of file From db00ca7506710a14dc49c60cb359f44100b0045e Mon Sep 17 00:00:00 2001 From: mostafaei2002 Date: Sun, 12 May 2024 22:04:11 +0330 Subject: [PATCH 02/40] feat: remove old src tags and add new --- docs_theme/main.html | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/docs_theme/main.html b/docs_theme/main.html index b4e894781..e83c135d5 100644 --- a/docs_theme/main.html +++ b/docs_theme/main.html @@ -12,10 +12,12 @@ - + + + + + + + {% for path in config.extra_javascript %} {% endfor %} From ea66c941bb24e6783ad789a73c6c7ef4b6515608 Mon Sep 17 00:00:00 2001 From: mostafaei2002 Date: Sun, 12 May 2024 22:04:36 +0330 Subject: [PATCH 03/40] feat: add new navbar base HTML --- docs_theme/nav.html | 210 +++++++++++++++++++++++++++++++++++--------- 1 file changed, 170 insertions(+), 40 deletions(-) diff --git a/docs_theme/nav.html b/docs_theme/nav.html index d30348756..7f24805f4 100644 --- a/docs_theme/nav.html +++ b/docs_theme/nav.html @@ -1,46 +1,176 @@ - + --> + + + From 44dd71c7c7470457192d5c28278aa926f0afbb0d Mon Sep 17 00:00:00 2001 From: mostafaei2002 Date: Tue, 14 May 2024 09:52:12 +0330 Subject: [PATCH 04/40] fix: change search form to search modal btn --- docs_theme/nav.html | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/docs_theme/nav.html b/docs_theme/nav.html index 7f24805f4..4e83c14af 100644 --- a/docs_theme/nav.html +++ b/docs_theme/nav.html @@ -139,17 +139,16 @@ {% endif %} - -
+ + Search + Date: Tue, 14 May 2024 10:11:07 +0330 Subject: [PATCH 05/40] feat: add search modal --- docs_theme/main.html | 287 +++++++++++++++++++++++++------------------ docs_theme/nav.html | 11 +- 2 files changed, 174 insertions(+), 124 deletions(-) diff --git a/docs_theme/main.html b/docs_theme/main.html index e83c135d5..210fa720b 100644 --- a/docs_theme/main.html +++ b/docs_theme/main.html @@ -1,86 +1,126 @@ + + + + + {% if page.title %}{{ page.title }} - {% endif %}{{ config.site_name }} + + + + + + - - - - {% if page.title %}{{ page.title }} - {% endif %}{{ config.site_name }} - - - - - - - - + - - + - + (function () { + var ga = document.createElement("script"); + ga.type = "text/javascript"; + ga.async = true; + ga.src = + ("https:" == document.location.protocol + ? "https://ssl" + : "http://www") + ".google-analytics.com/ga.js"; + var s = document.getElementsByTagName("script")[0]; + s.parentNode.insertBefore(ga, s); + })(); + - - - + #sidebarInclude a.promo { + color: black; + } + @media (max-width: 767px) { + div.promo { + display: none; + } + } + + + +
+ {% include "nav.html" %} -
- {% include "nav.html" %} +
+
+ - -
-

Documentation built with MkDocs. -

-
- - - - + - + - + - {% for path in config.extra_javascript %} - - {% endfor %} + {% for path in config.extra_javascript %} + + {% endfor %} - - + // Dynamically force sidenav/dropdown to no higher than browser window + $(".side-nav, .dropdown-menu").css( + "max-height", + window.innerHeight - 130 + ); + + $(function () { + $(window).resize(function () { + $(".side-nav, .dropdown-menu").css( + "max-height", + window.innerHeight - 130 + ); + }); + }); + + diff --git a/docs_theme/nav.html b/docs_theme/nav.html index 4e83c14af..203470c68 100644 --- a/docs_theme/nav.html +++ b/docs_theme/nav.html @@ -140,15 +140,16 @@ {% endif %}
- +
diff --git a/docs_theme/nav.html b/docs_theme/nav.html index 404b760f7..9929f48ab 100644 --- a/docs_theme/nav.html +++ b/docs_theme/nav.html @@ -38,8 +38,7 @@
  • {{ nav_item.title }} + href="{{ nav_item.url|url }}">{{ nav_item.title }}
  • {% endfor %} From e294ad7a708fff0a6b2d8bdc1eccacd56fe810e9 Mon Sep 17 00:00:00 2001 From: mostafaei2002 Date: Tue, 14 May 2024 10:48:22 +0330 Subject: [PATCH 08/40] fix: move modal code, update main-content classes --- docs_theme/main.html | 112 +++++++++++++++++++++---------------------- 1 file changed, 55 insertions(+), 57 deletions(-) diff --git a/docs_theme/main.html b/docs_theme/main.html index f66e9deae..45eb6d9c3 100644 --- a/docs_theme/main.html +++ b/docs_theme/main.html @@ -63,62 +63,9 @@ {% include "nav.html" %}
    -
    - - - -
    -
    +
    +
    +
    From 4f7f4ab05481b191ea115c7ae8f8774f6ae04ac2 Mon Sep 17 00:00:00 2001 From: mostafaei2002 Date: Tue, 14 May 2024 10:54:34 +0330 Subject: [PATCH 09/40] fix: update side nav --- docs_theme/main.html | 43 ++++++++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 19 deletions(-) diff --git a/docs_theme/main.html b/docs_theme/main.html index 45eb6d9c3..74a605cdd 100644 --- a/docs_theme/main.html +++ b/docs_theme/main.html @@ -67,30 +67,35 @@
    - +
    +
    From fb6210066f427f603adb8ecdc945d764b9b31ca7 Mon Sep 17 00:00:00 2001 From: mostafaei2002 Date: Tue, 14 May 2024 10:56:00 +0330 Subject: [PATCH 10/40] fix: move scripts to end of page --- docs_theme/main.html | 95 ++++++++++++++++++++++---------------------- 1 file changed, 48 insertions(+), 47 deletions(-) diff --git a/docs_theme/main.html b/docs_theme/main.html index 74a605cdd..3b588db5d 100644 --- a/docs_theme/main.html +++ b/docs_theme/main.html @@ -127,53 +127,7 @@

    - - - - - - - - - {% for path in config.extra_javascript %} - - {% endfor %} - - - + + + + + + + + + + + {% for path in config.extra_javascript %} + + {% endfor %} + + From aa3583a83b269e3e8c10aef6fdf9a824bcf1ec95 Mon Sep 17 00:00:00 2001 From: mostafaei2002 Date: Tue, 14 May 2024 10:59:58 +0330 Subject: [PATCH 11/40] fix: update footer --- docs_theme/main.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs_theme/main.html b/docs_theme/main.html index 3b588db5d..d6b0c8f1f 100644 --- a/docs_theme/main.html +++ b/docs_theme/main.html @@ -121,8 +121,8 @@
    -