-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
documentation: allow marimo notebooks as documentation #2787
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
d5eb51f
docs: allow marimo notebooks as documentation
superlopuh 70a87a8
add marimo to CI
superlopuh 54b9710
Revert "add marimo to CI"
superlopuh c1ed347
use correct CI
superlopuh 4798ce0
try again
superlopuh d5b5864
remove exception
superlopuh b6d6088
rename file
superlopuh b3c5768
swap notebook for ONNX
superlopuh 466709a
move marimo test to MLIR one
superlopuh 09b488f
Revert "swap notebook for ONNX"
superlopuh 9148f4f
tests-marimo PHONY
superlopuh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import marimo | ||
|
||
__generated_with = "0.6.10" | ||
app = marimo.App() | ||
|
||
|
||
@app.cell | ||
def __(): | ||
import marimo as mo | ||
return mo, | ||
|
||
|
||
@app.cell | ||
def __(mo): | ||
from xdsl.dialects.builtin import IntAttr | ||
|
||
mo.md(f""" | ||
# IR Chapter 1: Attributes | ||
|
||
In xDSL, Attributes carry information known at compile time. | ||
For example, `{IntAttr.__name__}` is an attribute representing an integer. | ||
""") | ||
return IntAttr, | ||
|
||
|
||
if __name__ == "__main__": | ||
app.run() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,7 @@ dev = [ | |
"nbval<0.12", | ||
"filecheck<0.0.25", | ||
"lit<19.0.0", | ||
"marimo==0.6.10", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. note that this is a new dev dependency |
||
"pre-commit==3.7.1", | ||
"ruff==0.4.10", | ||
"asv<0.7", | ||
|
@@ -81,6 +82,7 @@ typeCheckingMode = "strict" | |
"xdsl/interpreters/onnx.py", | ||
] | ||
"ignore" = [ | ||
"docs/marimo", | ||
"tests/filecheck/frontend/dialects/builtin.py", | ||
"tests/filecheck/frontend/dialects/invalid.py", | ||
"tests/filecheck/frontend/dialects/arith.py", | ||
|
@@ -136,6 +138,7 @@ exclude = """ | |
/(__pycache__|.asv|venv|build|tests/filecheck)/ | ||
|versioneer.py$ | ||
|xdsl/_version.py$ | ||
|docs/marimo | ||
""" | ||
|
||
[tool.pytest.ini_options] | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be marked PHONY?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
defo