aboutsummaryrefslogtreecommitdiff
path: root/mkdocs.yml
blob: 44e26acb7f39c0cafba9bf6793940b0b5336af11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#
# Mkdocs configuration
#

site_name: Copy Far "AI"
docs_dir : docs
site_dir : public
dev_addr : '127.0.0.1:8070'
repo_url : https://0xacab.org/copyfarai/copyfarai.itcouldbewor.se
edit_url : ''

# Site address is bind to 0.0.0.0 so it works find inside a Docker container.
# A better config would be desirable.
dev_addr : '0.0.0.0:8070'

theme:
  name               : material
  collapse_navigation: true
  titles_only        : false
  palette:

    # Palette toggle for light mode
    - scheme: default
      primary: black
      toggle:
        icon: material/brightness-7
        name: Switch to dark mode

    # Palette toggle for dark mode
    - scheme: slate
      primary: black
      toggle:
        icon: material/brightness-4
        name: Switch to light mode

  # Do not use external fonts
  # Usefult for offline operation
  # See https://squidfunk.github.io/mkdocs-material/setup/changing-the-fonts/#autoloading
  #font: false

extra_css:
  - site.css

plugins:
  - search

  - awesome-pages:
      strict: false
      collapse_single_pages: true

  - i18n:
      docs_structure: suffix
      languages:
        - locale: en
          name: English
          build: true
          default: true
        - locale: pt
          name: Português
          build: true

markdown_extensions:
  - footnotes

copyright: Copy Far "AI" © 2023+

extra:
  generator: false