Skip to content

Commit

Permalink
Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed May 8, 2023
1 parent 2d1d135 commit 7050abb
Show file tree
Hide file tree
Showing 10 changed files with 325 additions and 225 deletions.
Binary file added docs/assets/screenshots/social-cards-accent.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/screenshots/social-cards-invert.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/screenshots/social-cards-variant.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/screenshots/social-cards.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ install those packages separately.

:fontawesome-brands-youtube:{ style="color: #EE0F0F" }
__[How to set up Material for MkDocs]__ by @james-willett – :octicons-clock-24:
15m – Learn how to create and host a documentation site using Material for Docs
on GitHub Pages in a step-by-step guide.
15m – Learn how to create and host a documentation site using Material for
MkDocs on GitHub Pages in a step-by-step guide.

[How to set up Material for MkDocs]: https://www.youtube.com/watch?v=Q-YA_dA8C20

Expand Down
5 changes: 5 additions & 0 deletions docs/insiders/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## Material for MkDocs Insiders

### 4.33.0 <small>April 22, 2023</small> { id="4.33.0" }

- Added support for custom layouts for social plugin
- Added support for background images for social cards

### 4.32.6 <small>April 22, 2023</small> { id="4.32.6" }

- Fixed #5336: Interplay of blog plugin with git-revision-date-localized
Expand Down
16 changes: 9 additions & 7 deletions docs/insiders/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,16 @@ a handful of them, [thanks to our awesome sponsors]!
## What's in it for me?

The moment you [become a sponsor][how to become a sponsor], you'll get __immediate
access to 25 additional features__ that you can start using right away, and
access to 27 additional features__ that you can start using right away, and
which are currently exclusively available to sponsors:

<div class="mdx-columns" markdown>

- [x] [Social plugin: custom layouts] :material-alert-decagram:{ .mdx-pulse title="Added on May 8, 2023" }
- [x] [Social plugin: background images] :material-alert-decagram:{ .mdx-pulse title="Added on May 8, 2023" }
- [x] [Code range selection] :material-alert-decagram:{ .mdx-pulse title="Added on February 19, 2023" }
- [x] [Code annotations: custom selectors] :material-alert-decagram:{ .mdx-pulse title="Added on February 19, 2023" }
- [x] [Privacy plugin: optimization support] :material-alert-decagram:{ .mdx-pulse title="Added on February 6, 2023" }
- [x] [Code annotations: custom selectors]
- [x] [Privacy plugin: optimization support]
- [x] [Optimize plugin]
- [x] [Navigation path] (Breadcrumbs)
- [x] [Typeset plugin]
Expand Down Expand Up @@ -256,10 +258,6 @@ features prefixed with a checkmark symbol, denoting whether a feature is
:octicons-check-circle-fill-24:{ style="color: var(--md-default-fg-color--lightest)" } planned, but not yet implemented. When the funding goal is hit, the features
are released for general availability.

> [In February, we lost $1,3k in monthly funding because GitHub removed PayPal support][Twitter]
[Twitter]: https://twitter.com/squidfunk/status/1643539228574269443

#### $ 12,000 – Piri Piri

- [x] [Blog plugin]
Expand Down Expand Up @@ -327,10 +325,14 @@ are released for general availability.

#### $ 24,000 – Blockpaprika

- [x] [Social plugin: custom layouts]
- [x] [Social plugin: background images]
- [x] [Code range selection]
- [x] [Code annotations: custom selectors]
- [ ] Code line wrap button

[Social plugin: custom layouts]: ../setup/setting-up-social-cards.md#custom-layouts
[Social plugin: background images]: ../setup/setting-up-social-cards.md#+social.cards_layout_params.background_image
[Code range selection]: ../reference/code-blocks.md#code-selection-button
[Code annotations: custom selectors]: ../reference/code-blocks.md#custom-selectors

Expand Down
6 changes: 1 addition & 5 deletions docs/setup/building-an-optimized-site.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
status: new
---

# Building an optimized site

Material for MkDocs, by default, allows to build optimized sites that rank great
Expand Down Expand Up @@ -196,7 +192,7 @@ The following configuration options are available for caching:
``` yaml
plugins:
- optimize:
cache_dir: path/to/folder
cache_dir: .cache/plugins/optimize
```

By default, all built-in plugins that implement caching will create a
Expand Down
2 changes: 1 addition & 1 deletion docs/setup/setting-up-a-blog.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ The following configuration options are available:
``` yaml
plugins:
- blog:
blog_dir: path/to/folder
blog_dir: blog
```

=== "Standalone"
Expand Down

0 comments on commit 7050abb

Please sign in to comment.