File tree Expand file tree Collapse file tree 4 files changed +43
-11
lines changed
Expand file tree Collapse file tree 4 files changed +43
-11
lines changed Original file line number Diff line number Diff line change @@ -155,6 +155,37 @@ You can now open http://localhost:8000 in your browser to preview the doc.
155155
156156Be sure to re-run build & refresh to update after making changes!
157157
158+ #### Building PDFs
159+
160+ It is also possible to build a PDF of Arcade's documentation. This is
161+ more complicated than the HTML doc because it requires
162+ [ LaTex] ( https://www.latex-project.org/ ) , a powerful documentation
163+ language.
164+
165+ ##### Installing
166+
167+ On Linux distros based on Debian and Ubuntu, you may need to install
168+ the following packages to build PDFs:
169+
170+ ``console
171+ sudo apt install latexmk
172+ sudo apt install texlive-latex-extra
173+ ``
174+ To reduce the large (300 MB+) install size of the second package, you
175+ may be able to use the ` --no-install-recommends ` flag.
176+
177+ Other platforms may require different install steps.
178+
179+ ##### Building
180+
181+ Once you have LaTeX and extra required configs installed,
182+ run the following:
183+
184+ ``` console
185+ ./make.py latexpdf
186+ ```
187+
188+
158189## Optional: Improve Ergonomics on Mac and Linux
159190
160191### make.py shorthand
Original file line number Diff line number Diff line change 5858extensions = [
5959 'sphinx.ext.autodoc' ,
6060 'sphinx.ext.napoleon' ,
61+ 'sphinx.ext.imgconverter' , # Converts .gif for PDF doc build
6162 'sphinx.ext.doctest' ,
6263 'sphinx.ext.intersphinx' ,
6364 'sphinx.ext.todo' ,
Original file line number Diff line number Diff line change @@ -30,11 +30,7 @@ Here are the games that made it to the top 10:
3030
3131 2nd Place: `Triple Blocks <https://github.com/python-discord/game-jam-2020/tree/master/Finalists/gamer_gang>`_
3232
33- .. figure :: https://camo.githubusercontent.com/f28f09b33244a7db72df7b4985791d89358f8d88/68747470733a2f2f63646e2e646973636f72646170702e636f6d2f6174746163686d656e74732f3639333137373530373638333336393031302f3730343030363031343535343437323439382f756e6b6e6f776e2e706e67
34- :target: https://github.com/python-discord/game-jam-2020/tree/master/Finalists/monkeys-and-frogs-on-fire
35- :width: 45%
36-
37- 3nd Place: `Triple Vision <https://github.com/python-discord/game-jam-2020/tree/master/Finalists/monkeys-and-frogs-on-fire>`_
33+ 3rd Place: `Triple Vision <https://github.com/python-discord/game-jam-2020/tree/master/Finalists/monkeys-and-frogs-on-fire >`_
3834
3935.. figure :: https://raw.githubusercontent.com/python-discord/game-jam-2020/master/Finalists/KTGames/rd_images/OpeningScreen.png
4036 :target: https://github.com/python-discord/game-jam-2020/tree/master/Finalists/KTGames
Original file line number Diff line number Diff line change @@ -13,14 +13,18 @@ You also might want to check out sample Arcade games from:
1313* :ref: `concept_games `
1414* :ref: `platformer_tutorial `
1515
16- BoxHead
17- ~~~~~~~
16+
17+ BoxHead Survivor
18+ ~~~~~~~~~~~~~~~~
1819
1920.. image :: https://img.itch.zone/aW1hZ2UvMjM1MTM4Mi8xMzkyODQ1Ni5qcGc=/original/YI7uLX.jpg
2021 :width: 560px
2122
22- - GitHub: Unchained112/BoxHead2D: A top-down shooter game dev with Python Arcade (github.com)
23- - itch io: BoxHead Survivor by Unchain (itch.io)
23+ A top-down 2D shooter game.
24+
25+ * Playable builds at `itch.io <https://unchain112.itch.io/boxhead-survivor >`_
26+ * Source on `GitHub at Unchained112/BoxHead2D <https://github.com/Unchained112/BoxHead2D >`_
27+
2428
2529Temporum
2630~~~~~~~~
@@ -197,7 +201,7 @@ Space Typer
197201FlapPy Bird
198202~~~~~~~~~~~
199203
200- .. image :: https://camo.githubusercontent.com/f0e9f79d083289e7385a9af79231ba9cc07a10dd /68747470733a2f2f692e706f7374696d672e63632f665678394b736b672f53637265656e5f53686f745f323031382d30392d32375f61745f31322e31312e31395f414d2e706e67
204+ .. image :: https://camo.githubusercontent.com/b373859d570155b72030f36ae7ece8b9575bda6d45eb0695f5a060d3dfa27dab /68747470733a2f2f692e706f7374696d672e63632f665678394b736b672f53637265656e5f53686f745f323031382d30392d32375f61745f31322e31312e31395f414d2e706e67
201205
202206`FlapPy-Bird `_ - A bird-game clone.
203207
@@ -230,7 +234,7 @@ Dungeon_, explore a maze picking up arrows and coins.
230234Two Worlds
231235~~~~~~~~~~
232236
233- .. image :: https://camo.githubusercontent.com/bb2fb323ea9ab3f6041d3b72569a2d2360aa46ba07fe4cb3dbcd8248b3e8699d/68747470733a2f2f696d6775722e636f6d2f7356516e4331542e706e67
237+ .. image :: https://camo.githubusercontent.com/a74f38285980087502aec7795e10bec5869e71c840a35729fa37edf6ad17858d/68747470733a2f2f696d6775722e636f6d2f634372674171712e706e67
234238 :width: 75%
235239
236240`Two Worlds `_, a castle adventure with a dungeon and caverns underneath it.
You can’t perform that action at this time.
0 commit comments