mirror of
https://github.com/driftywinds/materialmkdocs.git
synced 2025-12-19 04:53:34 +00:00
Initial commit
This commit is contained in:
2
.gitattributes
vendored
Normal file
2
.gitattributes
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
# Auto detect text files and perform LF normalization
|
||||
* text=auto
|
||||
17
docs/index.md
Normal file
17
docs/index.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# Welcome to MkDocs
|
||||
|
||||
For full documentation visit [mkdocs.org](https://www.mkdocs.org).
|
||||
|
||||
## Commands
|
||||
|
||||
* `mkdocs new [dir-name]` - Create a new project.
|
||||
* `mkdocs serve` - Start the live-reloading docs server.
|
||||
* `mkdocs build` - Build the documentation site.
|
||||
* `mkdocs -h` - Print help message and exit.
|
||||
|
||||
## Project layout
|
||||
|
||||
mkdocs.yml # The configuration file.
|
||||
docs/
|
||||
index.md # The documentation homepage.
|
||||
... # Other markdown pages, images and other files.
|
||||
49
mkdocs.yml
Normal file
49
mkdocs.yml
Normal file
@@ -0,0 +1,49 @@
|
||||
site_name: drifty's docs
|
||||
site_url: https://docs.drifty.win
|
||||
theme:
|
||||
favicon: images/favicon.png
|
||||
logo: assets/logo.png
|
||||
name: material
|
||||
palette:
|
||||
primary: teal
|
||||
accent: purple
|
||||
# Palette toggle for light mode
|
||||
- scheme: default
|
||||
toggle:
|
||||
icon: material/lightbulb
|
||||
name: Switch to dark mode
|
||||
# Palette toggle for dark mode
|
||||
- scheme: slate
|
||||
toggle:
|
||||
icon: material/lightbulb-outline
|
||||
name: Switch to light mode
|
||||
features:
|
||||
- navigation.instant
|
||||
- navigation.tabs
|
||||
- navigation.path
|
||||
- navigation.top
|
||||
- search.suggest
|
||||
- search.highlight
|
||||
- header.autohide
|
||||
extra:
|
||||
consent:
|
||||
title: Cookie consent
|
||||
description: >-
|
||||
We use cookies to recognize your repeated visits and preferences, as well
|
||||
as to measure the effectiveness of our documentation and whether users
|
||||
find what they're searching for. With your consent, you're helping us to
|
||||
make our documentation better.
|
||||
actions:
|
||||
- accept
|
||||
- reject
|
||||
- manage
|
||||
social:
|
||||
- icon: fontawesome/brands/github
|
||||
link: https://github.com/driftywinds
|
||||
name: drifty on Github
|
||||
plugins:
|
||||
- blog
|
||||
- search
|
||||
- tags
|
||||
- offline
|
||||
copyright: Copyright © 2021 - 2024 driftywinds
|
||||
Reference in New Issue
Block a user