aboutsummaryrefslogtreecommitdiff
path: root/mkdocs.yml
blob: 8447a6d09bd6244e48ac6dac7f0defa569e44b0b (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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
#
# 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_uri : edit/main/docs/

# 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:
  #features:
  #  - content.action.edit

  name               : material
  collapse_navigation: true
  titles_only        : false
  palette:

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

    # Palette toggle for dark mode
    - scheme: slate
      primary: custom
      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

  - macros

  - 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
          nav_translations:
            Flavors: Sabores
            Versions: Versões

   # In case site structure is needed, this plugin will ensure permalink functionality
   #- redirects:
   #   redirect_maps:
   #    'flavors/CC-BY-NC-SA-4.0-FAI.en.md' : variants/CC-BY-NC-SA-4.0-FAI.en.md
   #    'flavors/CC-BY-4.0-FAI.en.md'       : variants/CC-BY-4.0-FAI.en.md
   #    'flavors/CC-BY-4.0-FAI.pt.md'       : variants/CC-BY-4.0-FAI.pt.md
   #    'flavors/CC-BY-NC-SA-4.0-FAI.pt.md' : variants/CC-BY-NC-SA-4.0-FAI.pt.md
   #    'flavors/CC-BY-SA-4.0-FAI.en.md'    : variants/CC-BY-SA-4.0-FAI.en.md
   #    'flavors/CC-BY-SA-4.0-FAI.pt.md'    : variants/CC-BY-SA-4.0-FAI.pt.md

markdown_extensions:
  - footnotes
  - pymdownx.tasklist:
      custom_checkbox: true

copyright: Copy Far "AI" 🄯 2023+

extra:
  generator: false

  base_url: https://copyfarai.itcouldbewor.se

  slogan:
    en: Copyleft license far from the so-called "Artificial Intelligences"
    pt: Licença copyleft longe das ditas "Inteligências Artificiais"

  licenses:
    v0_0_1:
      en: >
        This work, in the present or previous versions, cannot be used for
        procedures known as "machine learning" and stylometric analysis
        without the previous authorization. For all other uses, this
        version is available under the License

      pt: >
        Esta obra, na presente versão assim como nas anteriores, não pode
        ser usada para procedimentos conhecidos como "treinamento ou
        aprendizado de máquina" e análise estilométrica sem a prévia
        autorização. Para todos os outros meios e fins, esta versão está
        disponível sob a Licença