aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mkdocs.yml81
-rwxr-xr-xscripts/provision-host2
2 files changed, 59 insertions, 24 deletions
diff --git a/mkdocs.yml b/mkdocs.yml
index eb6d63c..cde2cc2 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -21,16 +21,24 @@ theme:
collapse_navigation: true
titles_only : false
palette:
+ # Palette toggle for automatic mode
+ - media: "(prefers-color-scheme)"
+ primary: custom
+ toggle:
+ icon: material/brightness-auto
+ name: Switch to light mode
# Palette toggle for light mode
- - scheme: default
+ - media: "(prefers-color-scheme: light)"
+ scheme: default
primary: custom
toggle:
icon: material/brightness-7
name: Switch to dark mode
# Palette toggle for dark mode
- - scheme: slate
+ - media: "(prefers-color-scheme: dark)"
+ scheme: slate
primary: custom
toggle:
icon: material/brightness-4
@@ -45,15 +53,24 @@ extra_css:
- site.css
plugins:
- #- search
-
- - macros
-
- - awesome-pages:
- strict: false
- #collapse_single_pages: true
-
- - i18n:
+ # Search
+ # See https://www.mkdocs.org/user-guide/configuration/#search
+ # https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-search/
+ #search: {}
+
+ # MkDocs-Macros Plugin
+ # https://mkdocs-macros-plugin.readthedocs.io
+ macros: {}
+
+ # Awesome Pages Plugin
+ # https://github.com/lukasgeiter/mkdocs-awesome-pages-plugin
+ awesome-pages:
+ strict: false
+ #collapse_single_pages: true
+
+ # MkDocs static i18n plugin
+ # https://github.com/ultrabug/mkdocs-static-i18n
+ i18n:
docs_structure: suffix
languages:
- locale: en
@@ -67,23 +84,41 @@ plugins:
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
+ # mkdocs-redirects
+ # https://github.com/mkdocs/mkdocs-redirects
+ # In case site re-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
+
+ # The built-in privacy plugin automatically identifies external assets as
+ # part of the build process and downloads all assets for very simple
+ # self-hosting
+ #
+ # See https://squidfunk.github.io/mkdocs-material/plugins/privacy/
+ # https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#built-in-privacy-plugin
+ privacy: {}
markdown_extensions:
- - footnotes
- - pymdownx.tasklist:
- custom_checkbox: true
+ # Footnotes
+ # https://squidfunk.github.io/mkdocs-material/reference/footnotes/
+ footnotes: {}
+
+ # Tasklist handling
+ # https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#tasklist
+ pymdownx.tasklist:
+ custom_checkbox: true
+# Copyright notice
copyright: Copy Far "AI" 🄯 2023+
+# Extra template parameters
+# https://www.mkdocs.org/user-guide/configuration/#extra
extra:
generator: false
diff --git a/scripts/provision-host b/scripts/provision-host
index 2d0fab5..e867900 100755
--- a/scripts/provision-host
+++ b/scripts/provision-host
@@ -23,7 +23,7 @@ $SUDO apt install -y $DEPENDENCIES
# Configure virtual host for the local service
cat <<-EOF | $SUDO tee /etc/apache2/sites-available/local.conf > /dev/null
<VirtualHost *:80>
- ServerName estudo.local
+ ServerName copyfaria.local
DocumentRoot "/srv/shared/site"
<Directory /srv/shared/site>