Skip to content

Commit

Permalink
Add notice (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
bram-pkg authored May 24, 2024
1 parent 7421140 commit e8c987b
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/site/
/venv/
1 change: 1 addition & 0 deletions docs/CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fakerphp.org
6 changes: 6 additions & 0 deletions docs/formatters/image.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Image

!!! bug "Placeholder.com has shut down"

As a result, this formatter will no longer function.

Using any of the methods documented below will result in an error.

## `imageUrl`

Get a random image URL from [placeholder.com](https://placeholder.com).
Expand Down
25 changes: 16 additions & 9 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,31 @@ theme:
text: 'Nunito'
code: 'Fira Code'
palette:
- scheme: default
primary: blue
media: "(prefers-color-scheme: light)"
# Palette toggle for automatic mode
- media: "(prefers-color-scheme)"
toggle:
icon: material/weather-night
icon: material/brightness-auto
name: Switch to light mode
# Palette toggle for light mode
- media: "(prefers-color-scheme: light)"
scheme: default
toggle:
icon: material/brightness-7
name: Switch to dark mode
- scheme: slate
primary: blue
media: "(prefers-color-scheme: dark)"

# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
toggle:
icon: material/weather-sunny
name: Switch to light mode
icon: material/brightness-4
name: Switch to system preference
favicon: images/favicon.ico
logo: images/logo.svg
icon:
repo: fontawesome/brands/github
language: en
features:
- content.action.edit
- navigation.instant

extra:
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
mkdocs-material>=8.2.10
mkdocs-material>=9.5.24

0 comments on commit e8c987b

Please sign in to comment.