Skip to content

Overhaul docs #16

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

Merged
merged 9 commits into from
Aug 9, 2024
Merged

Overhaul docs #16

merged 9 commits into from
Aug 9, 2024

Conversation

wade-cheng
Copy link
Contributor

What it looks like live at https://wade-cheng.is-a.dev/pygame-web.github.io/. This preview is on the view-site branch instead of this branch because my project gh pages site has the domain/pygame-web.github.io/ link instead of domain/, which messes up relative links to the root.

Here's a trimmed down git log that shows my thought process behind the commits.

fix broken links

  • somehow, a few /showroom links got converted.

overhaul wiki structure

  • very little material should have been cut, and almost all cut material was redundant/duplicate

consolidate publishing info

  • instead of having two separate tutorials for itchio publishing, link one to a canonical tutorial

move github pages and itch publishing pages to their own folder

  • I feel like this makes the directory structure feel more understandable; pages and itch publishing are now under "publishing" instead of under "pygbag"

fix broken link /wiki/pygame-script -> /wiki/pygbag-script

move bulk of site README.md to /wiki/README.md; point wiki from /wiki/pygbag/ -> /wiki/

  • before, the site's main page refers to a wiki while also exposing some documentation on that main page. this was very con
    fusing to me: was I supposed to use the wiki for information or the main page?
  • this way, the main page is clean is it is clear it exists to be a CDN root, while pointing to a definitive source of information, the wiki page.

replace absolute paths with relative paths to this website

update gitignore for local testing with jekyll

saffron added 8 commits August 8, 2024 19:04
- so local testing is possible
- via replacing all occurances of "https://pygame-web.github.io/wiki" with "/wiki"
- two paths, https://pygame-web.github.io/archives/... and https://pygame-web.github.io/showroom/... are links to places, but do not show up in the repo file path. not sure what's going on here, so I just kept these as absolute paths
…/pygbag/ -> /wiki/

- before, the site's main page refers to a wiki while also exposing some documentation on that main page. this was very confusing to me: was I supposed to use the wiki for information or the main page?
- this way, the main page is clean is it is clear it exists to be a CDN root, while pointing to a definitive source of information, the wiki page.
- I feel like this makes the directory structure feel more understandable; pages and itch publishing are now under "publishing" instead of under "pygbag"
- instead of having two separate tutorials for itchio publishing, link one to a canonical tutorial
- very little material should have been cut, and almost all cut material was redundant/duplicate
- somehow, a few /showroom links got converted.
@wade-cheng
Copy link
Contributor Author

Oh wait, I forgot to add this back in:

## Adding modules

- [List of available wheels](/wiki/pkg/)
- [requesting modules](https://github.com/pygame-web/pkg-porting-wasm/issues)

I've already closed all my windows and I'm tired so someone or I can just do that later.
:(

@wade-cheng wade-cheng merged commit e200044 into pygame-web:main Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant