Skip to content

Commit

Permalink
docs: version variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubmisek committed Sep 16, 2024
1 parent da00052 commit 697b870
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dotnet new web
Add a package reference to [`"Peachpied.WordPress.AspNetCore"`](https://www.nuget.org/packages/PeachPied.WordPress.AspNetCore/) (note it is a **pre-release** package):

```shell
dotnet add package PeachPied.WordPress.AspNetCore --version 6.5.4-rc-020
dotnet add package PeachPied.WordPress.AspNetCore --version {{ wpdotnet.stable }}
```
!!! tip "Always have access to the latest build!"
If you want the absolute latest release build with the most recent implementations and bug fixes, please consider becoming a [Patron](patreon.md) for this and many other benefits.
Expand Down
4 changes: 2 additions & 2 deletions docs/plugins-php.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ Project file is an XML file with the following content:

> *MyContent.msbuildproj:*
```xml
<Project Sdk="PeachPied.WordPress.Build.Plugin/6.5.4-rc-020">
<Project Sdk="PeachPied.WordPress.Build.Plugin/{{ wpdotnet.stable }}">
</Project>
```

For most cases, the project file does not specify anything else as all the properties are defined by default in the Sdk. In case a build property or a build item needs to be altered, add it to your project file.

Note the project file specifies a version after the slash, i.e. `"/6.5.4-rc-020"`. This corresponds to the version of *PeachPied.WordPress.** packages which should be identical across all your application.
Note the project file specifies a version after the slash, i.e. `"/{{ wpdotnet.stable }}"`. This corresponds to the version of *PeachPied.WordPress.** packages which should be identical across all your application.

## Build

Expand Down
2 changes: 1 addition & 1 deletion docs/setup.cmd
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
cd..
pip install mkdocs mkdocs-material mkdocs-minify-plugin
pip install mkdocs mkdocs-material mkdocs-minify-plugin mkdocs-markdownextradata-plugin
mkdocs build
8 changes: 6 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ plugins:
separator: '[\s\u200b\-_,:!=\[\]()"`/]+|\.(?!\d)|&[lg]t;|(?!\b)(?=[A-Z][a-z])'
- minify:
minify_html: true
- markdownextradata: {}

# Hooks
# hooks:
Expand All @@ -91,6 +92,11 @@ extra:
provider: google
property: !ENV GOOGLE_ANALYTICS_KEY
generator: false
wpdotnet:
stable: 6.5.4-rc-020
stable_peachpie: 1.1.10
patreon: 6.5.4-rc-021
patreon_peachpie: 1.2.0-r18312
social:
- icon: fontawesome/brands/github
link: https://github.com/iolevel/wpdotnet-sdk
Expand All @@ -103,8 +109,6 @@ extra:
- icon: fontawesome/brands/discord
link: https://discord.com/channels/1198334116182102177/1198334116182102180



# Extensions
markdown_extensions:
- abbr
Expand Down

0 comments on commit 697b870

Please sign in to comment.