Skip to content

Commit b0ee1f8

Browse files
author
saffron
committed
replace absolute paths with relative paths to this website
- 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
1 parent ea17820 commit b0ee1f8

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# pygame-web.github.io
22

3-
This is the CDN root used by [Pygbag](https://pypi.org/project/pygbag/) ([Source code](https://github.com/pygame-web/pygbag)/[Old runtimes](https://github.com/pygame-web/archives)) and the site of its [wiki](https://pygame-web.github.io/wiki/pygbag).
3+
This is the CDN root used by [Pygbag](https://pypi.org/project/pygbag/) ([Source code](https://github.com/pygame-web/pygbag)/[Old runtimes](https://github.com/pygame-web/archives)) and the site of its [wiki](/wiki/pygbag).
44

55
Pygbag does not track usage at all, not even for statistical purposes. If you like it, please [star](https://github.com/pygame-web/pygbag/stargazers) the repository!
66

77
Check out some [demos](#demos-on-itchio) before you start!
88

99
## Important points
1010

11-
Read Pygbag's [project description](https://pypi.org/project/pygbag/) for a more detailed overview. A full packaging guide can be found [here](https://pygame-web.github.io/wiki/pygbag/).
11+
Read Pygbag's [project description](https://pypi.org/project/pygbag/) for a more detailed overview. A full packaging guide can be found [here](/wiki/pygbag/).
1212

13-
**<ins>Also, read the page on [making your code compatible with browser game loop](https://pygame-web.github.io/wiki/python-wasm). You will probably have to change some of your code.</ins>**
13+
**<ins>Also, read the page on [making your code compatible with browser game loop](/wiki/python-wasm). You will probably have to change some of your code.</ins>**
1414

1515
### All operating systems
1616

@@ -84,13 +84,13 @@ Useful .gitignore additions:
8484

8585
## Coding
8686

87-
- [General Python-WASM](https://pygame-web.github.io/wiki/python-wasm/)
88-
- [With Pygbag specifically](https://pygame-web.github.io/wiki/pygbag-code/)
89-
- [Pygbag code examples](https://pygame-web.github.io/wiki/pygbag-code/#pygbag-code-specifics-samples-)
87+
- [General Python-WASM](/wiki/python-wasm/)
88+
- [With Pygbag specifically](/wiki/pygbag-code/)
89+
- [Pygbag code examples](/wiki/pygbag-code/#pygbag-code-specifics-samples-)
9090

9191
## Adding modules
9292

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

9696
When importing complex packages (for example, numpy or matplotlib), you must put their import statements at top of `main.py`. You should also add a metadata header as specified by [PEP 723](https://peps.python.org/pep-0723/), for example:
@@ -112,21 +112,21 @@ If using pygame-zero (mostly untested), put `#!pgzrun` near the top of main.py.
112112

113113
## Debugging / Desktop Simulator
114114

115-
- [How to enter debug mode](https://pygame-web.github.io/wiki/pygbag-debug/)
115+
- [How to enter debug mode](/wiki/pygbag-debug/)
116116
- While working, you can access the simulator of the web loop by replacing `import asyncio` by `import pygbag.aio as asyncio` at top of main.py and run the program from the folder containing it.
117117
- TODO: Android remote debugging via [chromium browsers series](https://developer.chrome.com/docs/devtools/remote-debugging/).
118118
- TODO: Universal remote debugging via IRC Client or websocket using pygbag.net.
119119

120120
## Running
121121

122-
- [Pygbag-script](https://pygame-web.github.io/wiki/pygame-script/) (WIP)
122+
- [Pygbag-script](/wiki/pygame-script/) (WIP)
123123
- [REPL](https://pygame-web.github.io/showroom/python.html?-i-&-X-dev#https://gist.githubusercontent.com/pmp-p/cfd398c75608504293d21f2642e87968/raw/773022eef4a2cc676ab0475890577a2b5e79e429/hello.py)
124124
- [CPython test suite](https://pygame-web.github.io/showroom/pythondev.html?-d#src/testsuite.py%20all) (WIP)
125125

126126
## Publishing
127127

128-
- [Github Pages](https://pygame-web.github.io/wiki/pygbag/github.io/)
129-
- [Itch.io](https://pygame-web.github.io/wiki/pygbag/itch.io/)
128+
- [Github Pages](/wiki/pygbag/github.io/)
129+
- [Itch.io](/wiki/pygbag/itch.io/)
130130

131131
## Demos
132132

wiki/pkg/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ documented modified packages :
2929

3030

3131
- [pygame] Starting with 0.7 pygbag runtime will use [pygame-ce](https://github.com/pygame-community/pygame-ce) codebase.
32-
- [nurses_2](https://pygame-web.github.io/wiki/pkg/nurses_2/)
32+
- [nurses_2](/wiki/pkg/nurses_2/)
3333
- [harfang] from [vendored pygbag](https://github.com/harfang3d/harfang-wasm)
34-
- [panda3d](https://pygame-web.github.io/wiki/pkg/panda3d/) from [Panda3D wasm branch](https://github.com/panda3d/panda3d/tree/webgl-port) + [vendored pygbag](https://github.com/pmp-p/panda3d-wasm)
34+
- [panda3d](/wiki/pkg/panda3d/) from [Panda3D wasm branch](https://github.com/panda3d/panda3d/tree/webgl-port) + [vendored pygbag](https://github.com/pmp-p/panda3d-wasm)
3535

3636

3737
[edit this page](https://github.com/pygame-web/pygame-web.github.io/edit/main/wiki/pkg/README.md)

wiki/python-wasm/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ if __name__ == "__main__":
5858
asyncio.run(main())
5959
```
6060

61-
Everything else is probably specific to Pygbag. You can find more information/code [here](https://pygame-web.github.io/wiki/pygbag-code/#pygbag-code-specificssamples).
61+
Everything else is probably specific to Pygbag. You can find more information/code [here](/wiki/pygbag-code/#pygbag-code-specificssamples).
6262

6363

6464
[Contribute to this page](https://github.com/pygame-web/pygame-web.github.io/edit/main/wiki/python-wasm/README.md)

0 commit comments

Comments
 (0)