Skip to content

Commit c9a91fc

Browse files
authored
Fix the CI (#86)
1 parent 8e3be1c commit c9a91fc

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,10 @@ jobs:
1414
python-version: "3.10"
1515
- name: "Install Dependencies"
1616
run: |
17-
pip install -r requirements.txt
18-
pip install -r doc_requirements.txt
17+
pip install nox
1918
- name: "Build"
2019
run: |
21-
sphinx-build -b html ./docs/source ./docs/_build
20+
nox -s sphinx
2221
- name: Publish
2322
uses: peaceiris/actions-gh-pages@v3
2423
with:

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ def pytest(session: nox.Session) -> None:
5050

5151
@pip_session(".", "furo", "sphinx", "myst-parser")
5252
def sphinx(session: nox.Session) -> None:
53-
session.run("python", "-m", "sphinx.cmd.build", "docs/source", "docs/build", "-b", "html")
53+
session.run("python", "-m", "sphinx.cmd.build", "./docs/source", "./docs/_build", "-b", "html")

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ dependencies = [
2424
"colorama; platform_system=='Windows'",
2525
]
2626
description = "Stateless component manager for hikari with type-safe API."
27-
license = {text = "MIT"}
27+
license = { text = "MIT" }
2828
maintainers = [
29-
{name = "Lunarmagpie", email = "[email protected]"},
30-
{name = "HyperGH", email = "[email protected]"},
29+
{ name = "Lunarmagpie", email = "[email protected]" },
30+
{ name = "HyperGH", email = "[email protected]" },
3131
]
3232
name = "hikari-flare"
3333
readme = "README.md"
@@ -37,8 +37,8 @@ version = "0.1.0b1"
3737
[project.urls]
3838
Repository = "https://github.com/brazier-dev/hikari-flare/"
3939

40-
[tool.setuptools]
41-
packages = ["flare"]
40+
[tool.setuptools.packages.find]
41+
include = ["flare*"]
4242

4343
[tool.pyright]
4444
exclude = ["tests"]

0 commit comments

Comments
 (0)