diff --git a/Pipfile b/Pipfile index 0441646..3e538a5 100644 --- a/Pipfile +++ b/Pipfile @@ -6,5 +6,5 @@ verify_ssl = true [dev-packages] [packages] -mkdocs-bootswatch = "*" +mkdocs-material = "*" markdown-include = "*" diff --git a/Pipfile.lock b/Pipfile.lock index 2463de2..ae39a27 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "d3afc4ba328040ac0ab4a30748aaef4638d40b60272535ca4b47850dce27b471" + "sha256": "926d34630c729228bb015cb958c04f8269c57f5ca1ffc2ceab1dfd1798884772" }, "pipfile-spec": 6, "requires": {}, @@ -122,13 +122,21 @@ "markers": "python_version >= '3.6'", "version": "==1.3.0" }, - "mkdocs-bootswatch": { + "mkdocs-material": { "hashes": [ - "sha256:9cc2c8431a26026eba096c55abe7dd054de7881312ca8fc948c4a6a0da25840c", - "sha256:cc999ba15a3ce2a46eab35fcaabea9907f5c74bc49e79d9c866b51d4b0fa7f33" + "sha256:263f2721f3abe533b61f7c8bed435a0462620912742c919821ac2d698b4bfe67", + "sha256:dc82b667d2a83f0de581b46a6d0949732ab77e7638b87ea35b770b33bc02e75a" ], "index": "pypi", - "version": "==1.1" + "version": "==8.3.9" + }, + "mkdocs-material-extensions": { + "hashes": [ + "sha256:a82b70e533ce060b2a5d9eb2bc2e1be201cf61f901f93704b4acf6e3d5983a44", + "sha256:bfd24dfdef7b41c312ede42648f9eb83476ea168ec163b613f9abd12bbfddba2" + ], + "markers": "python_version >= '3.6'", + "version": "==1.0.3" }, "packaging": { "hashes": [ @@ -138,6 +146,22 @@ "markers": "python_version >= '3.6'", "version": "==21.3" }, + "pygments": { + "hashes": [ + "sha256:5eb116118f9612ff1ee89ac96437bb6b49e8f04d8a13b514ba26f620208e26eb", + "sha256:dc9c10fb40944260f6ed4c688ece0cd2048414940f1cea51b8b226318411c519" + ], + "markers": "python_version >= '3.6'", + "version": "==2.12.0" + }, + "pymdown-extensions": { + "hashes": [ + "sha256:3ef2d998c0d5fa7eb09291926d90d69391283561cf6306f85cd588a5eb5befa0", + "sha256:ec141c0f4983755349f0c8710416348d1a13753976c028186ed14f190c8061c4" + ], + "markers": "python_version >= '3.7'", + "version": "==9.5" + }, "pyparsing": { "hashes": [ "sha256:2b020ecf7d21b687f219b71ecad3631f644a47f01403fa1d1036b0c6416d70fb", diff --git a/docs/css/extra.css b/docs/css/extra.css index d9f3c1c..b5ceb8a 100644 --- a/docs/css/extra.css +++ b/docs/css/extra.css @@ -2,35 +2,14 @@ p, a, li, pre { font-family: "Tiresias PCFont", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important; } -.md-typeset a -{ - color: #ffab40; -} - -.md-nav__link--active, .md-nav__link:active -{ - color: #ffab40; -} - -.md-typeset .superfences-tabs > label:hover { - color: #ffab40 !important; -} - code, .codehilite pre { font-weight: bold; } -pre, code { - background: #f0e8ff !important; -} - -code > .c1 > .hljs-comment { - color: #550f0f !important; -} - -.bg-secondary { - background-color: #f0e8ff !important; +:root > * { + --md-primary-fg-color: #593196; + --md-accent-fg-color: #455a63; } @font-face { diff --git a/docs/index.md b/docs/index.md index 9689f99..2387886 100644 --- a/docs/index.md +++ b/docs/index.md @@ -8,4 +8,5 @@ ## Community Channels * Code: - +* IRC: `#akkoma` and `#akkoma-dev` on `irc.akkoma.dev` (port 6697, SSL) +* Discourse: diff --git a/mkdocs.yml b/mkdocs.yml index 3bbe781..975f36f 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,7 +1,7 @@ site_name: Akkoma Documentation theme: favicon: 'images/pleroma_logo_vector_bg_32.png' - name: 'pulse' + name: 'material' custom_dir: 'theme' # Disable google fonts font: false @@ -9,8 +9,8 @@ theme: features: - tabs palette: - primary: 'black' - accent: 'orange' + primary: 'deep purple' + accent: 'blue grey' extra_css: - css/extra.css