mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
update mkdocs config
- use git-revision-date-localized with enabled creation date - update requirements-mkdocs.txt and pin verisons - add requirements - add dev addr - fix template - use better icons for repo and edit button - remove odd extension
This commit is contained in:
parent
016fd65f6a
commit
676c772f11
@ -7,7 +7,7 @@ title: Home
|
||||
|
||||
```bash
|
||||
pip install -r requirements-mkdocs.txt
|
||||
mkdocs serve -a localhost:8080
|
||||
mkdocs serve
|
||||
```
|
||||
-->
|
||||
<div align="center" markdown="1">
|
||||
|
14
mkdocs.yml
14
mkdocs.yml
@ -1,6 +1,8 @@
|
||||
# General
|
||||
site_name: Dream Script Docs
|
||||
site_url: https://lstein.github.io/stable-diffusion/
|
||||
site_author: mauwii
|
||||
dev_addr: "127.0.0.1:8080"
|
||||
|
||||
# Repository
|
||||
repo_name: lstein/stable-diffusion
|
||||
@ -13,18 +15,16 @@ copyright: Copyright © 2022 Lincoln D. Stein <lincoln.stein@gmail.com>
|
||||
# Configuration
|
||||
theme:
|
||||
name: material
|
||||
# features:
|
||||
# - toc.integrate
|
||||
icon:
|
||||
repo: fontawesome/brands/github
|
||||
edit: material/file-document-edit-outline
|
||||
palette:
|
||||
- media: '(prefers-color-scheme: light)'
|
||||
primary: blue
|
||||
scheme: default
|
||||
toggle:
|
||||
icon: material/lightbulb
|
||||
name: Switch to dark mode
|
||||
- media: '(prefers-color-scheme: dark)'
|
||||
primary: dark-blue
|
||||
accent: white
|
||||
scheme: slate
|
||||
toggle:
|
||||
icon: material/lightbulb-outline
|
||||
@ -37,7 +37,6 @@ markdown_extensions:
|
||||
- attr_list
|
||||
- def_list
|
||||
- footnotes
|
||||
- meta
|
||||
- md_in_html
|
||||
- toc:
|
||||
permalink: '#'
|
||||
@ -75,4 +74,5 @@ markdown_extensions:
|
||||
|
||||
plugins:
|
||||
- search
|
||||
- git-revision-date
|
||||
- git-revision-date-localized:
|
||||
enable_creation_date: true
|
||||
|
@ -1,2 +1,3 @@
|
||||
mkdocs-material
|
||||
mkdocs-git-revision-date-plugin>=0.3.2
|
||||
mkdocs==1.3.1
|
||||
mkdocs-material==8.5.1
|
||||
mkdocs-git-revision-date-localized-plugin==1.1.0
|
||||
|
Loading…
Reference in New Issue
Block a user