Skip to content

Commit ec2dc24

Browse files
mauwiilstein
andauthored
Mkdocs-material (invoke-ai#575)
* Squashed commit of the following: commit 82d9c25 Author: mauwii <Mauwii@outlook.de> Date: Wed Sep 14 19:29:11 2022 +0200 fix branch name in mkdocs-flow commit 2e276ce Author: mauwii <Mauwii@outlook.de> Date: Wed Sep 14 19:28:35 2022 +0200 fix theme name commit 2eb77c1 Author: mauwii <Mauwii@outlook.de> Date: Wed Sep 14 19:14:42 2022 +0200 fixed some links and formating in main README commit 66a7152 Author: mauwii <Mauwii@outlook.de> Date: Wed Sep 14 08:58:58 2022 +0200 trigger mkdocs deployment on main commit 897cc37 Merge: 89da371 3b5a830 Author: Matthias Wild <40327258+mauwii@users.noreply.github.com> Date: Wed Sep 14 07:51:23 2022 +0200 Merge pull request invoke-ai#1 from mauwii/mkdocs Mkdocs commit 3b5a830 Author: mauwii <Mauwii@outlook.de> Date: Wed Sep 14 07:42:56 2022 +0200 huge update I was pretty busy trying to make the Readmes / docs look good in MkDocs commit 0b4f5a9 Author: mauwii <Mauwii@outlook.de> Date: Wed Sep 14 07:41:45 2022 +0200 update mkdocs config commit 872172e Author: mauwii <Mauwii@outlook.de> Date: Wed Sep 14 07:33:49 2022 +0200 added the mkdocs-git-revision-date-plugin commit eac81bf Author: mauwii <Mauwii@outlook.de> Date: Wed Sep 14 06:46:43 2022 +0200 add prettier config remove markdownlint move and rename requirements-mkdocs.txt commit b36d4cc Author: mauwii <Mauwii@outlook.de> Date: Wed Sep 14 02:06:39 2022 +0200 add dark theme commit a14f18f Author: mauwii <Mauwii@outlook.de> Date: Wed Sep 14 01:38:02 2022 +0200 update mkdocs flow and config commit 2764b48 Author: mauwii <Mauwii@outlook.de> Date: Wed Sep 14 01:15:33 2022 +0200 add mkdocs workflow commit 1bd2252 Author: mauwii <Mauwii@outlook.de> Date: Wed Sep 14 00:57:37 2022 +0200 I already begun with formating / revising the sites * change repository in mkdocs config to lstein * adapt changes from repos main README.md Co-authored-by: Lincoln Stein <lincoln.stein@gmail.com>
1 parent 9df743e commit ec2dc24

22 files changed

Lines changed: 1488 additions & 1011 deletions

.github/workflows/mkdocs-flow.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Deploy
2+
on:
3+
push:
4+
branches:
5+
- main
6+
jobs:
7+
build:
8+
name: Deploy docs to GitHub Pages
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v2
13+
- name: Build
14+
uses: Tiryoh/actions-mkdocs@v0
15+
with:
16+
mkdocs_version: 'latest' # option
17+
requirements: '/requirements-mkdocs.txt' # option
18+
configfile: '/mkdocs.yml' # option
19+
- name: Deploy
20+
uses: peaceiris/actions-gh-pages@v3
21+
with:
22+
github_token: ${{ secrets.GITHUB_TOKEN }}
23+
publish_dir: ./site

.prettierrc.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
endOfLine: lf
2+
tabWidth: 2
3+
useTabs: false
4+
singleQuote: true
5+
quoteProps: as-needed
6+
embeddedLanguageFormatting: auto
7+
overrides:
8+
- files: "*.md"
9+
options:
10+
proseWrap: always
11+
printWidth: 100
12+
parser: markdown
13+
cursorOffset: -1

README.md

Lines changed: 87 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<h1 align='center'><b>Stable Diffusion Dream Script</b></h1>
22

33
<p align='center'>
4-
<img src="docs/assets/logo.png"/>
4+
<img src="docs/assets/logo.png"/>
55
</p>
66

77
<p align="center">
@@ -12,37 +12,39 @@
1212
<img src="https://img.shields.io/github/issues-pr/lstein/stable-diffusion?logo=GitHub&style=for-the-badge" alt="pull-requests"/>
1313
</p>
1414

15-
# **Stable Diffusion Dream Script**
16-
17-
This is a fork of
18-
[CompVis/stable-diffusion](https://github.com/CompVis/stable-diffusion),
19-
the open source text-to-image generator. It provides a streamlined
20-
process with various new features and options to aid the image
21-
generation process. It runs on Windows, Mac and Linux machines,
22-
and runs on GPU cards with as little as 4 GB or RAM.
15+
This is a fork of [CompVis/stable-diffusion](https://github.com/CompVis/stable-diffusion), the open
16+
source text-to-image generator. It provides a streamlined process with various new features and
17+
options to aid the image generation process. It runs on Windows, Mac and Linux machines, and runs on
18+
GPU cards with as little as 4 GB or RAM.
2319

2420
_Note: This fork is rapidly evolving. Please use the
25-
[Issues](https://github.com/lstein/stable-diffusion/issues) tab to
26-
report bugs and make feature requests. Be sure to use the provided
27-
templates. They will help aid diagnose issues faster._
21+
[Issues](https://github.com/lstein/stable-diffusion/issues) tab to report bugs and make feature
22+
requests. Be sure to use the provided templates. They will help aid diagnose issues faster._
23+
24+
**Table of Contents**
2825

29-
# **Table of Contents**
3026
1. [Installation](#installation)
31-
2. [Major Features](#features)
32-
3. [Changelog](#latest-changes)
33-
4. [Troubleshooting](#troubleshooting)
34-
5. [Contributing](#contributing)
35-
6. [Support](#support)
27+
2. [Hardware Requirements](#hardware-requirements)
28+
3. [Features](#features)
29+
4. [Latest Changes](#latest-changes)
30+
5. [Troubleshooting](#troubleshooting)
31+
6. [Contributing](#contributing)
32+
7. [Contributors](#contributors)
33+
8. [Support](#support)
34+
9. [Further Reading](#further-reading)
35+
36+
## Installation
3637

37-
# Installation
38+
This fork is supported across multiple platforms. You can find individual installation instructions
39+
below.
3840

39-
This fork is supported across multiple platforms. You can find individual installation instructions below.
41+
- ### [Linux](docs/installation/INSTALL_LINUX.md)
4042

41-
- ## [Linux](docs/installation/INSTALL_LINUX.md)
42-
- ## [Windows](docs/installation/INSTALL_WINDOWS.md)
43-
- ## [Macintosh](docs/installation/INSTALL_MAC.md)
43+
- ### [Windows](docs/installation/INSTALL_WINDOWS.md)
4444

45-
## **Hardware Requirements**
45+
- ### [Macintosh](docs/installation/INSTALL_MAC.md)
46+
47+
## Hardware Requirements
4648

4749
**System**
4850

@@ -61,109 +63,117 @@ You wil need one of the following:
6163

6264
**Note**
6365

64-
If you are have a Nvidia 10xx series card (e.g. the 1080ti), please
65-
run the dream script in full-precision mode as shown below.
66+
If you are have a Nvidia 10xx series card (e.g. the 1080ti), please run the dream script in
67+
full-precision mode as shown below.
6668

6769
Similarly, specify full-precision mode on Apple M1 hardware.
6870

69-
To run in full-precision mode, start `dream.py` with the
70-
`--full_precision` flag:
71+
To run in full-precision mode, start `dream.py` with the `--full_precision` flag:
7172

72-
```
73+
```bash
7374
(ldm) ~/stable-diffusion$ python scripts/dream.py --full_precision
7475
```
7576

76-
# Features
77-
78-
## **Major Features**
77+
## Features
7978

80-
- ## [Interactive Command Line Interface](docs/features/CLI.md)
79+
### Major Features
8180

82-
- ## [Image To Image](docs/features/IMG2IMG.md)
81+
- #### [Interactive Command Line Interface](docs/features/CLI.md)
8382

84-
- ## [Inpainting Support](docs/features/INPAINTING.md)
83+
- #### [Image To Image](docs/features/IMG2IMG.md)
8584

86-
- ## [GFPGAN and Real-ESRGAN Support](docs/features/UPSCALE.md)
85+
- #### [Inpainting Support](docs/features/INPAINTING.md)
8786

88-
- ## [Embiggen upscaling](docs/features/EMBIGGEN.md)
87+
- #### [GFPGAN and Real-ESRGAN Support](docs/features/UPSCALE.md)
8988

90-
- ## [Seamless Tiling](docs/features/OTHER.md#seamless-tiling)
89+
- #### [Seamless Tiling](docs/features/OTHER.md#seamless-tiling)
9190

92-
- ## [Google Colab](docs/features/OTHER.md#google-colab)
91+
- #### [Google Colab](docs/features/OTHER.md#google-colab)
9392

94-
- ## [Web Server](docs/features/WEB.md)
93+
- #### [Web Server](docs/features/WEB.md)
9594

96-
- ## [Reading Prompts From File](docs/features/OTHER.md#reading-prompts-from-a-file)
95+
- #### [Reading Prompts From File](docs/features/OTHER.md#reading-prompts-from-a-file)
9796

98-
- ## [Shortcut: Reusing Seeds](docs/features/OTHER.md#shortcuts-reusing-seeds)
97+
- #### [Shortcut: Reusing Seeds](docs/features/OTHER.md#shortcuts-reusing-seeds)
9998

100-
- ## [Weighted Prompts](docs/features/OTHER.md#weighted-prompts)
99+
- #### [Weighted Prompts](docs/features/OTHER.md#weighted-prompts)
101100

102-
- ## [Variations](docs/features/VARIATIONS.md)
101+
- #### [Variations](docs/features/VARIATIONS.md)
103102

104-
- ## [Personalizing Text-to-Image Generation](docs/features/TEXTUAL_INVERSION.md)
103+
- #### [Personalizing Text-to-Image Generation](docs/features/TEXTUAL_INVERSION.md)
105104

106-
- ## [Simplified API for text to image generation](docs/features/OTHER.md#simplified-api)
105+
- #### [Simplified API for text to image generation](docs/features/OTHER.md#simplified-api)
107106

108-
## **Other Features**
107+
### Other Features
109108

110-
- ### [Creating Transparent Regions for Inpainting](docs/features/INPAINTING.md#creating-transparent-regions-for-inpainting)
109+
- #### [Creating Transparent Regions for Inpainting](docs/features/INPAINTING.md#creating-transparent-regions-for-inpainting)
111110

112-
- ### [Preload Models](docs/features/OTHER.md#preload-models)
111+
- #### [Preload Models](docs/features/OTHER.md#preload-models)
113112

114-
# Latest Changes
113+
## Latest Changes
115114

116115
- v1.14 (11 September 2022)
117116

118117
- Memory optimizations for small-RAM cards. 512x512 now possible on 4 GB GPUs.
119118
- Full support for Apple hardware with M1 or M2 chips.
120-
- Add "seamless mode" for circular tiling of image. Generates beautiful effects. ([prixt](https://github.com/prixt)).
119+
- Add "seamless mode" for circular tiling of image. Generates beautiful effects.
120+
([prixt](https://github.com/prixt)).
121121
- Inpainting support.
122122
- Improved web server GUI.
123123
- Lots of code and documentation cleanups.
124124

125125
- v1.13 (3 September 2022
126126

127-
- Support image variations (see [VARIATIONS](docs/features/VARIATIONS.md) ([Kevin Gibbons](https://github.com/bakkot) and many contributors and reviewers)
128-
- Supports a Google Colab notebook for a standalone server running on Google hardware [Arturo Mendivil](https://github.com/artmen1516)
129-
- WebUI supports GFPGAN/ESRGAN facial reconstruction and upscaling [Kevin Gibbons](https://github.com/bakkot)
130-
- WebUI supports incremental display of in-progress images during generation [Kevin Gibbons](https://github.com/bakkot)
131-
- A new configuration file scheme that allows new models (including upcoming stable-diffusion-v1.5)
132-
to be added without altering the code. ([David Wager](https://github.com/maddavid12))
127+
- Support image variations (see [VARIATIONS](docs/features/VARIATIONS.md)
128+
([Kevin Gibbons](https://github.com/bakkot) and many contributors and reviewers)
129+
- Supports a Google Colab notebook for a standalone server running on Google hardware
130+
[Arturo Mendivil](https://github.com/artmen1516)
131+
- WebUI supports GFPGAN/ESRGAN facial reconstruction and upscaling
132+
[Kevin Gibbons](https://github.com/bakkot)
133+
- WebUI supports incremental display of in-progress images during generation
134+
[Kevin Gibbons](https://github.com/bakkot)
135+
- A new configuration file scheme that allows new models (including upcoming
136+
stable-diffusion-v1.5) to be added without altering the code.
137+
([David Wager](https://github.com/maddavid12))
133138
- Can specify --grid on dream.py command line as the default.
134139
- Miscellaneous internal bug and stability fixes.
135140
- Works on M1 Apple hardware.
136141
- Multiple bug fixes.
137142

138-
For older changelogs, please visit **[CHANGELOGS](docs/CHANGELOG.md)**.
143+
For older changelogs, please visit the **[CHANGELOG](docs/features/CHANGELOG.md)**.
139144

140-
# Troubleshooting
145+
## Troubleshooting
141146

142-
Please check out our **[Q&A](docs/help/TROUBLESHOOT.md)** to get solutions for common installation problems and other issues.
147+
Please check out our **[Q&A](docs/help/TROUBLESHOOT.md)** to get solutions for common installation
148+
problems and other issues.
143149

144-
# Contributing
150+
## Contributing
145151

146-
Anyone who wishes to contribute to this project, whether documentation, features, bug fixes, code cleanup, testing, or code reviews, is very much encouraged to do so. If you are unfamiliar with
147-
how to contribute to GitHub projects, here is a [Getting Started Guide](https://opensource.com/article/19/7/create-pull-request-github).
152+
Anyone who wishes to contribute to this project, whether documentation, features, bug fixes, code
153+
cleanup, testing, or code reviews, is very much encouraged to do so. If you are unfamiliar with how
154+
to contribute to GitHub projects, here is a
155+
[Getting Started Guide](https://opensource.com/article/19/7/create-pull-request-github).
148156

149-
A full set of contribution guidelines, along with templates, are in progress, but for now the most important thing is to **make your pull request against the "development" branch**, and not against "main". This will help keep public breakage to a minimum and will allow you to propose more radical changes.
157+
A full set of contribution guidelines, along with templates, are in progress, but for now the most
158+
important thing is to **make your pull request against the "development" branch**, and not against
159+
"main". This will help keep public breakage to a minimum and will allow you to propose more radical
160+
changes.
150161

151-
## **Contributors**
162+
## Contributors
152163

153-
This fork is a combined effort of various people from across the
154-
world. [Check out the list of all these amazing
155-
people](docs/CONTRIBUTORS.md). We thank them for their time, hard work
156-
and effort.
164+
This fork is a combined effort of various people from across the world.
165+
[Check out the list of all these amazing people](docs/other/CONTRIBUTORS.md). We thank them for
166+
their time, hard work and effort.
157167

158-
# Support
168+
## Support
159169

160-
For support,
161-
please use this repository's GitHub Issues tracking service. Feel free
162-
to send me an email if you use and like the script.
170+
For support, please use this repository's GitHub Issues tracking service. Feel free to send me an
171+
email if you use and like the script.
163172

164-
Original portions of the software are Copyright (c) 2020 Lincoln D. Stein (https://github.com/lstein)
173+
Original portions of the software are Copyright (c) 2020
174+
[Lincoln D. Stein](https://github.com/lstein)
165175

166-
# Further Reading
176+
## Further Reading
167177

168-
Please see the original README for more information on this software
169-
and underlying algorithm, located in the file [README-CompViz.md](docs/README-CompViz.md).
178+
Please see the original README for more information on this software and underlying algorithm,
179+
located in the file [README-CompViz.md](docs/other/README-CompViz.md).

0 commit comments

Comments
 (0)