Skip to content

Commit

Permalink
Fix the CI (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
zunda-arrow authored Dec 8, 2022
1 parent 8e3be1c commit c9a91fc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@ jobs:
python-version: "3.10"
- name: "Install Dependencies"
run: |
pip install -r requirements.txt
pip install -r doc_requirements.txt
pip install nox
- name: "Build"
run: |
sphinx-build -b html ./docs/source ./docs/_build
nox -s sphinx
- name: Publish
uses: peaceiris/actions-gh-pages@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ def pytest(session: nox.Session) -> None:

@pip_session(".", "furo", "sphinx", "myst-parser")
def sphinx(session: nox.Session) -> None:
session.run("python", "-m", "sphinx.cmd.build", "docs/source", "docs/build", "-b", "html")
session.run("python", "-m", "sphinx.cmd.build", "./docs/source", "./docs/_build", "-b", "html")
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ dependencies = [
"colorama; platform_system=='Windows'",
]
description = "Stateless component manager for hikari with type-safe API."
license = {text = "MIT"}
license = { text = "MIT" }
maintainers = [
{name = "Lunarmagpie", email = "[email protected]"},
{name = "HyperGH", email = "[email protected]"},
{ name = "Lunarmagpie", email = "[email protected]" },
{ name = "HyperGH", email = "[email protected]" },
]
name = "hikari-flare"
readme = "README.md"
Expand All @@ -37,8 +37,8 @@ version = "0.1.0b1"
[project.urls]
Repository = "https://github.com/brazier-dev/hikari-flare/"

[tool.setuptools]
packages = ["flare"]
[tool.setuptools.packages.find]
include = ["flare*"]

[tool.pyright]
exclude = ["tests"]
Expand Down

0 comments on commit c9a91fc

Please sign in to comment.