Skip to content

[FEATURE] Create infrastructure for examples #19

Open
@marimeireles

Description

@marimeireles

This is the umbrella issue to discuss ideas regarding how to deal with examples.

🏗 adding infrastructure:

  • move examples to root of the repo (like docs) and point to them
  • add a make examples cmd that basically copies the examples folder into where it is today and replaces https://pyscript.net/alpha/ with ./build/ so that we can test/run examples locally
  • make sure that make tests run make examples if pyscriptjs/examples doesn't exist so that we can test examples locally
  • somehow have a similar automation in CI so that we can test the examples before merging and make sure we are not adding regressions
  • add linter for the code, it's a very similar infrastructure that we have here in the main repo, we just need to remove a bunch of things from the JS envs because we're not building pyscript itself
  • decide which examples are going to stay in the core repo and which are going to be moved to collective, some more context

📖 add docs on how to:

📣 outreach work:

  • get in touch with the extended community and ask if they want to have their examples included in the collective, see this comment for a list with some of the examples we have

Metadata

Metadata

Type

No type

Projects

Status

Working

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions