Skip to content

How we built this site

Mkdocs

Mkdocs Material

1
pip show mkdocs-material

Result:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
Name: mkdocs-material
Version: 9.4.14
Summary: Documentation that simply works
Home-page: 
Author: 
Author-email: Martin Donath <martin.donath@squidfunk.com>
License: 
Location: /Users/danmccreary/miniconda3/envs/social/lib/python3.12/site-packages
Requires: babel, colorama, jinja2, markdown, mkdocs, mkdocs-material-extensions, paginate, pygments, pymdown-extensions, regex, requests
Required-by: 

Theme

Scheme Colors

  1. Make sure that pallette: is under `theme:.
  2. Make sure that scheme: default is under palette:
  3. Make sure that primary: blue and accent: orange is under scheme:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
theme:
  name: material
  logo: img/code-savvy-logo.png
  favicon: img/favicon.ico
  include_sidebar: true
  features:
    - content.code.copy
    - navigation.expand
    - navigation.path
    - navigation.prune
    - navigation.indexes
    - toc.follow
    - navigation.top
    # this adds the prev and next icons in the footer
    - navigation.footer
  palette:
    - scheme: default
      primary: blue
      accent: orange

Social

1
2
  - social:
    cards_layout: default/variant