Skip to content

Commit

Permalink
just some minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
granny committed Jul 2, 2023
1 parent 18f5b32 commit eb07e90
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/mkdocs-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout master
uses: actions/checkout@v1
uses: actions/checkout@v3

- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
site/
env/
.vscode/
.vscode/
.idea/
6 changes: 3 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
[:material-cloud-upload: Latest Release](https://get.discordsrv.com/){ .md-button }
[:material-cloud-tags: Latest Snapshot](https://snapshot.discordsrv.com/){ .md-button }

**Supports All Minecraft Versions from 1.7.9 to 1.19.x**
**Supports All Minecraft Versions from {{ project.supported_version.min }} to {{ project.supported_version.max }}**

_**We only give support for the latest release/dev builds; please update before asking for help**_

Expand Down Expand Up @@ -92,7 +92,7 @@ If you want to interface DiscordSRV with your plugin, you can do so by adding th
<dependency>
<groupId>com.discordsrv</groupId>
<artifactId>discordsrv</artifactId>
<version>1.26.0</version>
<version>{{ project.version }}</version>
<scope>provided</scope>
</dependency>
```
Expand All @@ -107,7 +107,7 @@ If you want to interface DiscordSRV with your plugin, you can do so by adding th
maven { url 'https://nexus.scarsz.me/content/groups/public/' }
}
dependencies {
compileOnly 'com.discordsrv:discordsrv:1.26.0'
compileOnly 'com.discordsrv:discordsrv:{{ project.version }}'
}
```

Expand Down
9 changes: 9 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ theme:
primary: light blue
accent: blue
plugins:
- search
- markdownextradata:
jinja_options:
comment_start_string: __CUSTOMCOMMENTSTART__
- glightbox
- redirects:
redirect_maps:
Expand Down Expand Up @@ -83,6 +87,11 @@ markdown_extensions:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
extra:
project:
version: 1.26.2
supported_version:
min: 1.7.9
max: 1.20.x
social:
- icon: fontawesome/brands/discord
link: http://discordsrv.com/discord
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
beautifulsoup4==4.11.1
certifi==2022.12.07
certifi==2022.12.7
charset-normalizer==2.1.1
click==8.0.1
ghp-import==2.0.1
Expand All @@ -12,6 +12,7 @@ MarkupSafe==2.0.1
mergedeep==1.3.4
mkdocs==1.4.1
mkdocs-glightbox==0.3.0
mkdocs-markdownextradata-plugin==0.2.5
mkdocs-material==8.5.7
mkdocs-material-extensions==1.1
mkdocs-redirects==1.2.0
Expand Down

0 comments on commit eb07e90

Please sign in to comment.