Skip to content

Commit

Permalink
Merge pull request #17 from ar90n/feature/enable-github-pages
Browse files Browse the repository at this point in the history
feature/enable github pages
  • Loading branch information
ar90n authored Apr 30, 2022
2 parents aee4df0 + cab44bc commit 3951449
Show file tree
Hide file tree
Showing 22 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,4 @@ dmypy.json

# Dist files
dist
examples/dist/*.whl
docs/examples/dist/*.whl
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
let pyodide = await loadPyodide();
await pyodide.loadPackage("micropip");

const initScript = await fetch("./__init__.py");
const initScript = await fetch("./pkg_install.py");
const initScriptText = await initScript.text();
await pyodide.runPythonAsync(initScriptText);

Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
let pyodide = await loadPyodide();
await pyodide.loadPackage("micropip");

const initScript = await fetch("./__init__.py");
const initScript = await fetch("./pkg_install.py");
const initScriptText = await initScript.text();
await pyodide.runPythonAsync(initScriptText);

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>Redirecting to https://github.com/ar90n/alfort-dom</title>
<meta http-equiv="refresh" content="0; URL=https://github.com/ar90n/alfort-dom">
<link rel="canonical" href="https://github.com/ar90n/alfort-dom">
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ build-backend = "poetry.core.masonry.api"
profile = "black"

[tool.pyright]
include = ["alfort_dom", "examples", "tests"]
include = ["alfort_dom", "docs/examples", "tests"]
stubPath ="stubs"
typeCheckingMode = "strict"
reportMissingImports = false
Expand All @@ -50,6 +50,6 @@ source = "git-tag"
[tool.poe.tasks]
test = "pytest"
check = { shell = "pre-commit run -a && pyright" }
build-example = { shell = "poetry build && mv dist/*.whl examples/dist/" }
run-example = {shell = "poe build-example && python -m http.server --directory examples 9898"}
build-example = { shell = "poetry build && mv dist/*.whl docs/examples/dist/" }
run-example = {shell = "poe build-example && python -m http.server --directory docs/examples 9898"}
install-pre-commit = "pre-commit install"

0 comments on commit 3951449

Please sign in to comment.