diff --git a/doc/README.md b/doc/README.md index a7f05f9c6..9ca29c8c2 100644 --- a/doc/README.md +++ b/doc/README.md @@ -68,10 +68,3 @@ If you are building a multiplayer game, here are some recommendations of package - [Firebase](https://firebase.google.com/): Provides dozens of services that can be used to write simpler multiplayer experiences. - [Supabase](https://supabase.com/): A cheaper alternative to Firebase, based on Postgres. - - -```{toctree} -:hidden: - -Bridge Packages -``` diff --git a/doc/_sphinx/requirements.txt b/doc/_sphinx/requirements.txt index 26a0a35a7..69bb8c2f1 100644 --- a/doc/_sphinx/requirements.txt +++ b/doc/_sphinx/requirements.txt @@ -1,10 +1,10 @@ -linkify-it-py==2.0.0 -myst-parser==1.0.0 -Pygments==2.15.0 -Sphinx==6.1.3 -sphinxcontrib-mermaid==0.8.1 -sphinxcontrib-jquery==4.0 +linkify-it-py==2.0.2 +myst-parser==2.0.0 +Pygments==2.17.2 +Sphinx==7.2.6 +sphinxcontrib-mermaid==0.9.2 +sphinxcontrib-jquery==4.1 sphinx-autobuild==2021.3.14 -sphinx-copybutton==0.5.1 +sphinx-copybutton==0.5.2 Jinja2==3.1.2 -psutil==5.9.4 +psutil==5.9.7 diff --git a/doc/flame/rendering/text_rendering.md b/doc/flame/rendering/text_rendering.md index fdac42e0e..86d544793 100644 --- a/doc/flame/rendering/text_rendering.md +++ b/doc/flame/rendering/text_rendering.md @@ -243,7 +243,7 @@ this section is for you. The following diagram showcases the class and inheritance structure of the text rendering pipeline: -```mermaid +```{mermaid} %%{init: { 'theme': 'dark' } }%% classDiagram %% renderers @@ -466,7 +466,7 @@ defined in the `FlameTextStyle` class. The actual nodes all inherit from `TextNode` and are broken down by the following diagram: -```mermaid +```{mermaid} %%{init: { 'theme': 'dark' } }%% graph TD %% Config %% @@ -542,7 +542,7 @@ to, and can be thought of as, CSS definitions. The full inheritance chain can be seen on the following diagram: -```mermaid +```{mermaid} %%{init: { 'theme': 'dark' } }%% classDiagram %% Nodes %% diff --git a/melos.yaml b/melos.yaml index 48b4ebc70..73cee52df 100644 --- a/melos.yaml +++ b/melos.yaml @@ -58,11 +58,11 @@ scripts: doc-setup: run: > echo Checking python version: && - python --version && - (python -c "import sys; sys.exit(0 if sys.version_info >= (3,8) else 2)" || + python3 --version && + (python3 -c "import sys; sys.exit(0 if sys.version_info >= (3,8) else 2)" || (echo Error: Python 3.8+ is required && exit 1)) && echo Installing required python modules: && - python -m pip install -r "$MELOS_ROOT_PATH/doc/_sphinx/requirements.txt" && + python3 -m pip install -r "$MELOS_ROOT_PATH/doc/_sphinx/requirements.txt" && echo Installing dartdoc_json: && dart pub global activate dartdoc_json && echo Done. @@ -75,9 +75,9 @@ scripts: doc-serve: run: cd "$MELOS_ROOT_PATH/doc/_sphinx" && make livehtml description: Recompiles the docs every time there is a change in them and opens your browser. - + doc-kill: - run: cd "$MELOS_ROOT_PATH/doc/_sphinx" && python kill-server.py + run: cd "$MELOS_ROOT_PATH/doc/_sphinx" && python3 kill-server.py description: Kills any TCP processes running on port 8000. doc-clean: