mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-01-19 01:18:19 +08:00
🐛 fix doc error
This commit is contained in:
parent
b0536edab3
commit
3fe3c1351f
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -64,6 +64,6 @@ jobs:
|
||||
git add .
|
||||
git commit -m ":bookmark: Release $(poetry version -s)"
|
||||
git tag v$(poetry version -s)
|
||||
git push --follow-tags
|
||||
git push && git push --tags
|
||||
poetry build
|
||||
poetry publish -u ${{secrets.PYPI_USERNAME}} -p ${{secrets.PYPI_PASSWORD}}
|
||||
|
@ -10,8 +10,8 @@ import Messenger from "@site/src/components/Messenger";
|
||||
|
||||
## 命令式问答示例
|
||||
|
||||
import WeatherSource from "!!raw-loader!../../../../tests/examples/weather.py";
|
||||
import WeatherTest from "!!raw-loader!../../../../tests/test_examples/test_weather.py";
|
||||
import WeatherSource from "!!raw-loader!@site/../tests/examples/weather.py";
|
||||
import WeatherTest from "!!raw-loader!@site/../tests/test_examples/test_weather.py";
|
||||
|
||||
<CodeBlock className="language-python">{WeatherSource}</CodeBlock>
|
||||
|
||||
|
@ -10,8 +10,8 @@ import Messenger from "@site/src/components/Messenger";
|
||||
|
||||
## 命令式问答示例
|
||||
|
||||
import WeatherSource from "!!raw-loader!../../../../tests/examples/weather.py";
|
||||
import WeatherTest from "!!raw-loader!../../../../tests/test_examples/test_weather.py";
|
||||
import WeatherSource from "!!raw-loader!@site/../tests/examples/weather.py";
|
||||
import WeatherTest from "!!raw-loader!@site/../tests/test_examples/test_weather.py";
|
||||
|
||||
<CodeBlock className="language-python">{WeatherSource}</CodeBlock>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user