build(mkdocs): changed the site theme to material and setup.

issue #3 !1
This commit is contained in:
2022-01-20 14:56:49 +09:30
parent a02d2c3bb5
commit dde0939e1b
11 changed files with 116 additions and 11 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
# Ignore build Directory
build/
aux/

View File

@ -3,7 +3,7 @@ site_description: A wiki with random bits of information you may find useful.
site_url: https://nofusscomputing.com
site_author: No Fuss Computing
copyright: Copyright No Fuss Computing 2021
copyright: Copyright © No Fuss Computing 2021
#site_favicon: favicon.ico
# site_dir: 'docs/static/mkdocs_build'
@ -11,20 +11,85 @@ copyright: Copyright No Fuss Computing 2021
docs_dir: 'pages'
site_dir: build
repo_name: Gitlab
repo_name: Website
#repo_url: https://gitlab.com/nofusscomputing/infrastructure/website
repo_url: https://gitlab.com/nofusscomputing/infrastructure/website
#edit_uri: '-/blob/pages'
edit_uri: '-/blob/master/pages/'
#edit_uri: '-/blob/master/pages/'
edit_uri: ''
theme:
name: mkdocs
locale: en
name: material
logo: assets/logo.png
custom_dir: theme-overrides
icon:
repo: fontawesome/brands/gitlab # (1)!
locale: en
font: false
features:
- navigation.tracking
- navigation.tabs
- navigation.tabs.sticky
- navigation.expand
- navigation.indexes
- toc.integrate
- navigation.top
- header.autohide
- navigation.sections
palette:
- scheme: default
primary: indigo
accent: indigo
toggle:
icon: material/lightbulb-outline
name: Switch to dark mode
- scheme: slate
primary: indigo
accent: indigo
toggle:
icon: material/lightbulb
name: Switch to light mode
plugins:
# - tags:
# tags_file: tags.md
- search:
lang: en
- git-revision-date
extra:
homepage: https://nofusscomputing.com
version: 1.0
social:
- icon: fontawesome/brands/docker
link: https://
- icon: fontawesome/brands/facebook
link: https://facebook.com/NoFussComputing
name: Facebook
- icon: fontawesome/brands/github
link: https://
- icon: fontawesome/brands/gitlab
link: https://
# - icon: fontawesome/brands/readthedocs
# link: https://
generator: false
markdown_extensions:
- meta
- attr_list
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji # (1)!
emoji_generator: !!python/name:pymdownx.emoji.to_alt
# disable until can figure out
# huge emoji size
# huge emoji size NOTE: isnt on material theme
# having the svg generated and be included as the image and not a link from elsewhere.
# - pymdownx.emoji:
# emoji_index: !!python/name:pymdownx.emoji.twemoji
@ -38,10 +103,13 @@ markdown_extensions:
nav:
- Home: index.md
- Wiki: wiki.md
- Articles:
- articles/index.md
- Projects:
- Home: projects.md
- projects/index.md
- Ansible Roles: projects/ansible-roles/README.md
@ -51,7 +119,11 @@ nav:
- Operations:
- Home: operations.md
- operations/index.md
- Wiki:
- wiki/index.md
- Contact Us: contact.md

3
pages/articles/index.md Normal file
View File

@ -0,0 +1,3 @@
# No Fuss Computing Articles
**Under construction**

BIN
pages/assets/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

@ -1,3 +1,8 @@
---
hide:
- navigation
- toc
---
# No Fuss Computing
Home Page

View File

@ -1,3 +1,8 @@
---
tags:
- Development
- brand new
---
# No Fuss Computing Projects

View File

@ -0,0 +1,3 @@
html.md-footer-social a[title="Facebook"] {
color: #00acee;
}

View File

@ -1,5 +1,7 @@
mkdocs>=1.2.3
mkdocs-material-extensions>=1.0.3
#pip install material
mkdocs-material==8.1.7
mkdocs-plugin-tags==1.0.2
mkdocs-git-revision-date-plugin==0.3.1
pymdown-extensions

View File

@ -0,0 +1,14 @@
{#-
This file was automatically generated - do not edit
-#}
<footer class="md-footer">
<div class="md-footer-meta md-typeset">
<div class="md-footer-meta__inner md-grid">
{% include "partials/copyright.html" %}
{% if config.extra.social %}
{% include "partials/social.html" %}
{% endif %}
</div>
</div>
</footer>