From a47b1e90f8644804ed9be6e2e506a2b8eea3a135 Mon Sep 17 00:00:00 2001 From: Paul Craven Date: Sun, 25 Jun 2023 17:50:23 -0500 Subject: [PATCH] Update --- CONTRIBUTING.rst | 2 ++ doc/contributing_guide/how_to_build.rst | 3 --- doc/contributing_guide/index.rst | 22 +++------------------- doc/index.rst | 1 - make.py | 8 ++++---- pyproject.toml | 12 ++++++------ 6 files changed, 15 insertions(+), 33 deletions(-) delete mode 100644 doc/contributing_guide/how_to_build.rst diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index f1b5e0910..0543e76a1 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -140,6 +140,8 @@ it will automatically regenerate, and browser tabs will automatically refresh to If you suspect the automatic rebuilds are failing to detect changes, you can run a simpler one-time build using the following instructions. +.. _how-to-compile: + One-time build ~~~~~~~~~~~~~~ diff --git a/doc/contributing_guide/how_to_build.rst b/doc/contributing_guide/how_to_build.rst deleted file mode 100644 index 6829a2a44..000000000 --- a/doc/contributing_guide/how_to_build.rst +++ /dev/null @@ -1,3 +0,0 @@ -.. _how-to-compile: - -.. include:: ../../CONTRIBUTING.rst \ No newline at end of file diff --git a/doc/contributing_guide/index.rst b/doc/contributing_guide/index.rst index 798509a74..e9b76d5e4 100644 --- a/doc/contributing_guide/index.rst +++ b/doc/contributing_guide/index.rst @@ -1,29 +1,14 @@ -.. _cg_index: - -Arcade Contributing Guide -========================= - -The contributing guide is for people who want to propose changes, -implement features, or report bugs in Arcade itself. - -For information on how to use arcade to build your own projects, please see -:ref:`pg_index`. - .. _cg_index_quickstart: -Contributing Quickstart -^^^^^^^^^^^^^^^^^^^^^^^ -For a quick overview, please see -`CONTRIBUTING.md on GitHub `_. - +.. include:: ../../CONTRIBUTING.rst .. _cg_index_contents: Contributing Guide Contents -^^^^^^^^^^^^^^^^^^^^^^^^^^^ +--------------------------- -The sections linked below will provide more in-depth coverage of various topics +The sections linked below provide more in-depth coverage of various topics contributing to arcade, including links to outside resources on development tools and practices. @@ -32,6 +17,5 @@ and practices. directory_structure how_to_contribute - how_to_build how_to_submit_changes release_checklist diff --git a/doc/index.rst b/doc/index.rst index beaad665f..5ddf32ab1 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -116,7 +116,6 @@ The Python Arcade Library contributing_guide/index contributing_guide/directory_structure contributing_guide/how_to_contribute - contributing_guide/how_to_build contributing_guide/how_to_submit_changes contributing_guide/release_checklist diff --git a/make.py b/make.py index 26f438f2d..b663d1bb3 100755 --- a/make.py +++ b/make.py @@ -8,7 +8,7 @@ For help, see the following: -* CONTRIBUTING.md +* CONTRIBUTING.rst * The output of python make.py --help """ import os @@ -76,7 +76,7 @@ def _resolve(p: PathLike, strict: bool = False) -> Path: not_found = [binary for binary in binaries if which(binary) is None] if not_found: print("Command-line tools not found: " + ', '.join(not_found)) - print("Did you forget to install them with `pip`? See CONTRIBUTING.md file for instructions.") + print("Did you forget to install them with `pip`? See CONTRIBUTING.rst file for instructions.") exit(1) for library in libraries: def find(library): @@ -87,7 +87,7 @@ def find(library): not_found = [library for library in libraries if not find(library)] if not_found: print("Python dependencies not found: " + ', '.join(not_found)) - print("Did you forget to install them with `pip`? See CONTRIBUTING.md file for instructions.") + print("Did you forget to install them with `pip`? See CONTRIBUTING.rst file for instructions.") exit(1) @@ -484,7 +484,7 @@ def whichshell(): if shell_name in SHELLS_WITH_AUTOCOMPLETE: print("This shell is known to support tab-completion!") - print("See CONTRIBUTING.md for more information on how to enable it.") + print("See CONTRIBUTING.rst for more information on how to enable it.") if __name__ == "__main__": diff --git a/pyproject.toml b/pyproject.toml index c08f8aeed..a5c247886 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,8 +22,8 @@ classifiers = [ ] dependencies = [ "pyglet>=2.0.8,<2.1", - "pillow~=9.4.0", - "pymunk~=6.4.0", + "pillow~=9.5.0", + "pymunk~=6.5.0", "pytiled-parser~=2.2.3" ] dynamic = ["version"] @@ -45,16 +45,16 @@ dev = [ "coveralls", "pytest-mock", "pytest-cov", - "pygments==2.14.0", + "pygments==2.15.1", "docutils==0.19", "furo", "pyright", "pyyaml==6.0", - "sphinx==6.2.1", + "sphinx==7.0.1", "sphinx-autobuild==2021.3.14", - "sphinx-copybutton==0.5.1", + "sphinx-copybutton==0.5.2", # Intentionally kept at 2.3 until this bugfix is published: https://github.com/jdillard/sphinx-sitemap/pull/62 - "sphinx-sitemap==2.3.0", + "sphinx-sitemap==2.5.0", "typer[all]==0.7.0", "wheel", ]