Skip to content
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

Include examples in readthedocs (port) #2392

Merged
merged 3 commits into from
Oct 21, 2024
Merged

Conversation

EwoutH
Copy link
Member

@EwoutH EwoutH commented Oct 21, 2024

This is a manual port of #2382 because some weird shit happened there after merging the main branch a few times into it. This is a clean version based of that PR.

This updates conf.py to create markdown files for including the examples in the documentation. It also cleans up some warning on RTD, which happened while debugging the code. In this process, this also fixes #2360.

It currently only covers the basic examples because the advanced examples are not fully cleaned yet.

EwoutH and others added 2 commits October 21, 2024 09:07
Rename the streamlit app to app.py and remove the unused files.

Co-Authored-By: Jan Kwakkel <[email protected]>
@EwoutH EwoutH requested a review from quaquel October 21, 2024 07:11
@EwoutH EwoutH added the docs Release notes label label Oct 21, 2024

This comment was marked as off-topic.

@quaquel
Copy link
Member

quaquel commented Oct 21, 2024

this breaks on RTD because some files have not been renamed properly (my hunch).

@EwoutH
Copy link
Member Author

EwoutH commented Oct 21, 2024

Thanks, indeed forgot to rename the README.md files. It now passes.

@quaquel
Copy link
Member

quaquel commented Oct 21, 2024

This fixes the build. I'll review later this morning.

@quaquel
Copy link
Member

quaquel commented Oct 21, 2024

Looking at the diff, it seems good to go. This one has 2 more files that are changed (i.e.., removed). Not sure how this PR is any different from the original once its squashed and merged.

@EwoutH
Copy link
Member Author

EwoutH commented Oct 21, 2024

Thanks!

Not sure how this PR is any different from the original once its squashed and merged.

It prevents the 3 duplicate files from being included. Maybe that would have resolved itself when squashing, or maybe not.

@EwoutH EwoutH merged commit 2dedca4 into projectmesa:main Oct 21, 2024
11 of 12 checks passed
@quaquel quaquel mentioned this pull request Oct 21, 2024
@EwoutH EwoutH deleted the pr_2382_port branch October 26, 2024 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Release notes label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Experimental documentation
2 participants