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

Move tutorials out of main repo into their own repository #2878

Open
MyreMylar opened this issue May 27, 2024 · 9 comments
Open

Move tutorials out of main repo into their own repository #2878

MyreMylar opened this issue May 27, 2024 · 9 comments
Labels

Comments

@MyreMylar
Copy link
Member

There has been some debate recently about slimming down the main repository into some smaller packages for various reasons. One area I think that could really benefit from this is the existing tutorials section of the docs.

We have some fairly old text based tutorials, mixed with a few more recent ones bundled awkwardly in our docs. We also have a couple of these tutorials translated into different languages and one current PR with another set of translations. The main docs have no way of cleanly switching the language, and never will because it would be impossible for a project with our resources to keep code documentation up to date with changes in multiple languages.

However, a separate tutorials repository with it's own sphinx build could do this:
image

This repository could also potentially guide the modernising of the tutorials into the video era of the web (there was no such thing as youtube when many of the pygame tutorials were first written).

I added an issue on this topic to the website repository too as that's where the output from the proposed new tutorials repository would be hosted under the current 'tutorials' link from the main page:

image

@MyreMylar MyreMylar added the docs label May 27, 2024
@robertpfeiffer
Copy link
Contributor

As a guy who has bugged you about this in private DMs:

  • I think we should have more example code
  • I think we should have fewer examples in the main repo
  • I think we should distinguish between "software architecture" (how to load levels and unit types from xml files), "feature demonstrations" (how to use flood fill) and "gameplay examples" (how to make your animations/game feel punchy)

@Gabryel-lima
Copy link

There has been some debate recently about slimming down the main repository into some smaller packages for various reasons. One area I think that could really benefit from this is the existing tutorials section of the docs.

We have some fairly old text based tutorials, mixed with a few more recent ones bundled awkwardly in our docs. We also have a couple of these tutorials translated into different languages and one current PR with another set of translations. The main docs have no way of cleanly switching the language, and never will because it would be impossible for a project with our resources to keep code documentation up to date with changes in multiple languages.

However, a separate tutorials repository with it's own sphinx build could do this: image

This repository could also potentially guide the modernising of the tutorials into the video era of the web (there was no such thing as youtube when many of the pygame tutorials were first written).

I added an issue on this topic to the website repository too as that's where the output from the proposed new tutorials repository would be hosted under the current 'tutorials' link from the main page:

image

Yes, much better!

@Starbuck5
Copy link
Member

I'm skeptical of the benefit of moving them out into a separate repository.

If we have outdated tutorials rotting in the main repository, moving them into another repository just lets them rot in a different place? A place that's even less likely to have eyes on it?

RE examples, anybody can post examples on Github, there have been several projects. Like https://github.com/pygame-examples/pygame-examples

@novialriptide
Copy link
Member

novialriptide commented May 31, 2024

I'd say that we should make every example that's been well thought-out like aliens.py to be in their own separate repository such as https://github.com/pygame-community/pygame-aliens.git and remove smaller examples such as go_over_there.py

If we would like to take from example...

Monogame has separate repositories for their examples:

As well as Godot Engine:

As well as raylib:

But not heaps.io, the game engine powering Dead Cells

@novialriptide
Copy link
Member

Looking at the crude webpage I made almost a year ago makes me uneasy.. lol

@Gabryel-lima
Copy link

I'd say that we should make every example that's been well thought-out like aliens.py to be in their own separate repository such as https://github.com/pygame-community/pygame-aliens.git and remove smaller examples such as go_over_there.py

If we would like to take from example...

Monogame has separate repositories for their examples:

As well as Godot Engine:

As well as raylib:

But not heaps.io, the game engine powering Dead Cells

It would be good.

@Gabryel-lima
Copy link

I'm skeptical of the benefit of moving them out into a separate repository.

If we have outdated tutorials rotting in the main repository, moving them into another repository just lets them rot in a different place? A place that's even less likely to have eyes on it?

RE examples, anybody can post examples on Github, there have been several projects. Like https://github.com/pygame-examples/pygame-examples

I've been here for a while and haven't noticed this repo yet lol

@Starbuck5
Copy link
Member

I've been here for a while and haven't noticed this repo yet lol

So you're saying that we should move things out of the main repo and that you don't notice other repos?

My point is that people can post their examples on the internet without it being an official part of our repo or our Github organization, and there's nothing wrong with that.

@Gabryel-lima
Copy link

I've been here for a while and haven't noticed this repo yet lol

So you're saying that we should move things out of the main repo and that you don't notice other repos?

My point is that people can post their examples on the internet without it being an official part of our repo or our Github organization, and there's nothing wrong with that.

That's not what I meant. I just pointed out that I hadn't seen the example repo here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants