From c83de134850989da87edd48db65b2b75f03fbc3d Mon Sep 17 00:00:00 2001 From: Anthony DiGirolamo Date: Thu, 24 Aug 2023 01:10:38 +0000 Subject: docs: Remove unused myst-parser Change-Id: I232a17724d54966caa19bd8799a3fa9ed266a430 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/168392 Reviewed-by: Armando Montanez Commit-Queue: Anthony DiGirolamo --- docs/conf.py | 17 +----------- .../pigweed_upstream_requirements.txt | 1 - .../upstream_requirements_darwin_lock.txt | 31 +--------------------- .../upstream_requirements_linux_lock.txt | 31 +--------------------- .../upstream_requirements_windows_lock.txt | 31 +--------------------- 5 files changed, 4 insertions(+), 107 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 5bda6dec3..d19ece6d0 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -17,7 +17,7 @@ from datetime import date import sphinx # The suffix of source filenames. -source_suffix = ['.rst', '.md'] +source_suffix = ['.rst'] # The master toctree document. # inclusive-language: ignore master_doc = 'index' @@ -49,25 +49,10 @@ extensions = [ 'sphinxarg.ext', # Automatic documentation of Python argparse 'sphinxcontrib.mermaid', 'sphinx_design', - 'myst_parser', 'breathe', 'sphinx_copybutton', # Copy-to-clipboard button on code blocks ] -myst_enable_extensions = [ - # "amsmath", - "colon_fence", - # "deflist", - "dollarmath", - # "html_admonition", - # "html_image", - # "linkify", - # "replacements", - # "smartquotes", - # "substitution", - # "tasklist", -] - # When a user clicks the copy-to-clipboard button the `$ ` prompt should not be # copied: https://sphinx-copybutton.readthedocs.io/en/latest/use.html copybutton_prompt_text = "$ " diff --git a/pw_env_setup/py/pw_env_setup/virtualenv_setup/pigweed_upstream_requirements.txt b/pw_env_setup/py/pw_env_setup/virtualenv_setup/pigweed_upstream_requirements.txt index 61cd9187c..ccdf45af6 100644 --- a/pw_env_setup/py/pw_env_setup/virtualenv_setup/pigweed_upstream_requirements.txt +++ b/pw_env_setup/py/pw_env_setup/virtualenv_setup/pigweed_upstream_requirements.txt @@ -17,7 +17,6 @@ beautifulsoup4==4.12.2 furo @ https://github.com/chadnorvell/furo/releases/download/2023.03.27/furo-2023.3.27.dev1-py3-none-any.whl sphinx-copybutton==0.5.1 -myst-parser==0.18.1 breathe==4.34.0 kconfiglib==14.1.0 # Renode requirements diff --git a/pw_env_setup/py/pw_env_setup/virtualenv_setup/upstream_requirements_darwin_lock.txt b/pw_env_setup/py/pw_env_setup/virtualenv_setup/upstream_requirements_darwin_lock.txt index dccfac3b7..df951049d 100644 --- a/pw_env_setup/py/pw_env_setup/virtualenv_setup/upstream_requirements_darwin_lock.txt +++ b/pw_env_setup/py/pw_env_setup/virtualenv_setup/upstream_requirements_darwin_lock.txt @@ -291,7 +291,6 @@ docutils==0.18 \ # via # -r /python/gen/pw_env_setup/pigweed_build_venv/compiled_requirements.txt # breathe - # myst-parser # sphinx # sphinx-rtd-theme executing==1.2.0 \ @@ -462,7 +461,6 @@ jinja2==3.0.3 \ --hash=sha256:611bb273cd68f3b993fabdc4064fc858c5b47a973cb5aa7999ec1ba405c87cd7 # via # -r /python/gen/pw_env_setup/pigweed_build_venv/compiled_requirements.txt - # myst-parser # sphinx json5==0.9.11 \ --hash=sha256:1aa54b80b5e507dfe31d12b7743a642e2ffa6f70bf73b8e3d7d1d5fba83d99bd \ @@ -512,13 +510,6 @@ lazy-object-proxy==1.9.0 \ # via # -r /python/gen/pw_env_setup/pigweed_build_venv/compiled_requirements.txt # astroid -markdown-it-py==2.2.0 \ - --hash=sha256:5a35f8d1870171d9acc47b99612dc146129b631baf04970128b568f190d0cc30 \ - --hash=sha256:7c9a5e412688bc771c67432cbfebcdd686c93ce6484913dccf06cb5a0bea35a1 - # via - # -r /python/gen/pw_env_setup/pigweed_build_venv/compiled_requirements.txt - # mdit-py-plugins - # myst-parser markupsafe==2.1.3 \ --hash=sha256:05fb21170423db021895e1ea1e1f3ab3adb85d1c2333cbc2310f2a26bc77272e \ --hash=sha256:0a4e4a1aff6c7ac4cd55792abf96c915634c2b97e3cc1c7129578aa68ebd754e \ @@ -585,18 +576,6 @@ mccabe==0.6.1 \ # via # -r /python/gen/pw_env_setup/pigweed_build_venv/compiled_requirements.txt # pylint -mdit-py-plugins==0.3.5 \ - --hash=sha256:ca9a0714ea59a24b2b044a1831f48d817dd0c817e84339f20e7889f392d77c4e \ - --hash=sha256:eee0adc7195e5827e17e02d2a258a2ba159944a0748f59c5099a4a27f78fcf6a - # via - # -r /python/gen/pw_env_setup/pigweed_build_venv/compiled_requirements.txt - # myst-parser -mdurl==0.1.2 \ - --hash=sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8 \ - --hash=sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba - # via - # -r /python/gen/pw_env_setup/pigweed_build_venv/compiled_requirements.txt - # markdown-it-py mypy==1.5.0 \ --hash=sha256:1fe816e26e676c1311b9e04fd576543b873576d39439f7c24c8e5c7728391ecf \ --hash=sha256:2c9d570f53908cbea326ad8f96028a673b814d9dca7515bf71d95fa662c3eb6f \ @@ -632,10 +611,6 @@ mypy-protobuf==3.3.0 \ --hash=sha256:15604f6943b16c05db646903261e3b3e775cf7f7990b7c37b03d043a907b650d \ --hash=sha256:24f3b0aecb06656e983f58e07c732a90577b9d7af3e1066fc2b663bbf0370248 # via -r /python/gen/pw_env_setup/pigweed_build_venv/compiled_requirements.txt -myst-parser==0.18.1 \ - --hash=sha256:61b275b85d9f58aa327f370913ae1bec26ebad372cc99f3ab85c8ec3ee8d9fb8 \ - --hash=sha256:79317f4bb2c13053dd6e64f9da1ba1da6cd9c40c8a430c447a7b146a594c246d - # via -r /python/gen/pw_env_setup/pigweed_build_venv/compiled_requirements.txt packaging==23.0 \ --hash=sha256:714ac14496c3e68c99c29b00845f7a2b85f3bb6f1078fd9f72fd20f0570002b2 \ --hash=sha256:b6ad297f8907de0fa2fe1ccbd26fdaf387f5f47c7275fedf8cce89f99446cf97 @@ -851,9 +826,7 @@ pyyaml==6.0.1 \ --hash=sha256:fca0e3a251908a499833aa292323f32437106001d436eca0e6e7833256674585 \ --hash=sha256:fd1592b3fdf65fff2ad0004b5e363300ef59ced41c2e6b3a99d4089fa8c5435d \ --hash=sha256:fd66fc5d0da6d9815ba2cebeb4205f95818ff4b79c3ebe268e75d961704af52f - # via - # -r /python/gen/pw_env_setup/pigweed_build_venv/compiled_requirements.txt - # myst-parser + # via -r /python/gen/pw_env_setup/pigweed_build_venv/compiled_requirements.txt requests==2.27.1 \ --hash=sha256:68d7c56fd5a8999887728ef304a6d12edc7be74f1cfa47714fc8b414525c9a61 \ --hash=sha256:f22fa1e554c9ddfd16e6e41ac79759e17be9e492b3587efa038054674760e72d @@ -898,7 +871,6 @@ sphinx==5.3.0 \ # -r /python/gen/pw_env_setup/pigweed_build_venv/compiled_requirements.txt # breathe # furo - # myst-parser # sphinx-argparse # sphinx-basic-ng # sphinx-copybutton @@ -1060,7 +1032,6 @@ typing-extensions==4.4.0 \ # black # ipython # mypy - # myst-parser # pylint urllib3==1.26.14 \ --hash=sha256:076907bf8fd355cde77728471316625a4d2f7e713c125f51953bb5b3eecf4f72 \ diff --git a/pw_env_setup/py/pw_env_setup/virtualenv_setup/upstream_requirements_linux_lock.txt b/pw_env_setup/py/pw_env_setup/virtualenv_setup/upstream_requirements_linux_lock.txt index 1046928fa..3cfc4e728 100644 --- a/pw_env_setup/py/pw_env_setup/virtualenv_setup/upstream_requirements_linux_lock.txt +++ b/pw_env_setup/py/pw_env_setup/virtualenv_setup/upstream_requirements_linux_lock.txt @@ -285,7 +285,6 @@ docutils==0.18 \ # via # -r /python/gen/pw_env_setup/pigweed_build_venv/compiled_requirements.txt # breathe - # myst-parser # sphinx # sphinx-rtd-theme executing==1.2.0 \ @@ -456,7 +455,6 @@ jinja2==3.0.3 \ --hash=sha256:611bb273cd68f3b993fabdc4064fc858c5b47a973cb5aa7999ec1ba405c87cd7 # via # -r /python/gen/pw_env_setup/pigweed_build_venv/compiled_requirements.txt - # myst-parser # sphinx json5==0.9.11 \ --hash=sha256:1aa54b80b5e507dfe31d12b7743a642e2ffa6f70bf73b8e3d7d1d5fba83d99bd \ @@ -506,13 +504,6 @@ lazy-object-proxy==1.9.0 \ # via # -r /python/gen/pw_env_setup/pigweed_build_venv/compiled_requirements.txt # astroid -markdown-it-py==2.2.0 \ - --hash=sha256:5a35f8d1870171d9acc47b99612dc146129b631baf04970128b568f190d0cc30 \ - --hash=sha256:7c9a5e412688bc771c67432cbfebcdd686c93ce6484913dccf06cb5a0bea35a1 - # via - # -r /python/gen/pw_env_setup/pigweed_build_venv/compiled_requirements.txt - # mdit-py-plugins - # myst-parser markupsafe==2.1.3 \ --hash=sha256:05fb21170423db021895e1ea1e1f3ab3adb85d1c2333cbc2310f2a26bc77272e \ --hash=sha256:0a4e4a1aff6c7ac4cd55792abf96c915634c2b97e3cc1c7129578aa68ebd754e \ @@ -579,18 +570,6 @@ mccabe==0.6.1 \ # via # -r /python/gen/pw_env_setup/pigweed_build_venv/compiled_requirements.txt # pylint -mdit-py-plugins==0.3.5 \ - --hash=sha256:ca9a0714ea59a24b2b044a1831f48d817dd0c817e84339f20e7889f392d77c4e \ - --hash=sha256:eee0adc7195e5827e17e02d2a258a2ba159944a0748f59c5099a4a27f78fcf6a - # via - # -r /python/gen/pw_env_setup/pigweed_build_venv/compiled_requirements.txt - # myst-parser -mdurl==0.1.2 \ - --hash=sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8 \ - --hash=sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba - # via - # -r /python/gen/pw_env_setup/pigweed_build_venv/compiled_requirements.txt - # markdown-it-py mypy==1.5.0 \ --hash=sha256:1fe816e26e676c1311b9e04fd576543b873576d39439f7c24c8e5c7728391ecf \ --hash=sha256:2c9d570f53908cbea326ad8f96028a673b814d9dca7515bf71d95fa662c3eb6f \ @@ -626,10 +605,6 @@ mypy-protobuf==3.3.0 \ --hash=sha256:15604f6943b16c05db646903261e3b3e775cf7f7990b7c37b03d043a907b650d \ --hash=sha256:24f3b0aecb06656e983f58e07c732a90577b9d7af3e1066fc2b663bbf0370248 # via -r /python/gen/pw_env_setup/pigweed_build_venv/compiled_requirements.txt -myst-parser==0.18.1 \ - --hash=sha256:61b275b85d9f58aa327f370913ae1bec26ebad372cc99f3ab85c8ec3ee8d9fb8 \ - --hash=sha256:79317f4bb2c13053dd6e64f9da1ba1da6cd9c40c8a430c447a7b146a594c246d - # via -r /python/gen/pw_env_setup/pigweed_build_venv/compiled_requirements.txt packaging==23.0 \ --hash=sha256:714ac14496c3e68c99c29b00845f7a2b85f3bb6f1078fd9f72fd20f0570002b2 \ --hash=sha256:b6ad297f8907de0fa2fe1ccbd26fdaf387f5f47c7275fedf8cce89f99446cf97 @@ -845,9 +820,7 @@ pyyaml==6.0.1 \ --hash=sha256:fca0e3a251908a499833aa292323f32437106001d436eca0e6e7833256674585 \ --hash=sha256:fd1592b3fdf65fff2ad0004b5e363300ef59ced41c2e6b3a99d4089fa8c5435d \ --hash=sha256:fd66fc5d0da6d9815ba2cebeb4205f95818ff4b79c3ebe268e75d961704af52f - # via - # -r /python/gen/pw_env_setup/pigweed_build_venv/compiled_requirements.txt - # myst-parser + # via -r /python/gen/pw_env_setup/pigweed_build_venv/compiled_requirements.txt requests==2.27.1 \ --hash=sha256:68d7c56fd5a8999887728ef304a6d12edc7be74f1cfa47714fc8b414525c9a61 \ --hash=sha256:f22fa1e554c9ddfd16e6e41ac79759e17be9e492b3587efa038054674760e72d @@ -892,7 +865,6 @@ sphinx==5.3.0 \ # -r /python/gen/pw_env_setup/pigweed_build_venv/compiled_requirements.txt # breathe # furo - # myst-parser # sphinx-argparse # sphinx-basic-ng # sphinx-copybutton @@ -1054,7 +1026,6 @@ typing-extensions==4.4.0 \ # black # ipython # mypy - # myst-parser # pylint urllib3==1.26.14 \ --hash=sha256:076907bf8fd355cde77728471316625a4d2f7e713c125f51953bb5b3eecf4f72 \ diff --git a/pw_env_setup/py/pw_env_setup/virtualenv_setup/upstream_requirements_windows_lock.txt b/pw_env_setup/py/pw_env_setup/virtualenv_setup/upstream_requirements_windows_lock.txt index 79b30b82f..3c1e4bd1c 100644 --- a/pw_env_setup/py/pw_env_setup/virtualenv_setup/upstream_requirements_windows_lock.txt +++ b/pw_env_setup/py/pw_env_setup/virtualenv_setup/upstream_requirements_windows_lock.txt @@ -295,7 +295,6 @@ docutils==0.18 \ # via # -r \python\gen\pw_env_setup\pigweed_build_venv\compiled_requirements.txt # breathe - # myst-parser # sphinx # sphinx-rtd-theme executing==1.2.0 \ @@ -466,7 +465,6 @@ jinja2==3.0.3 \ --hash=sha256:611bb273cd68f3b993fabdc4064fc858c5b47a973cb5aa7999ec1ba405c87cd7 # via # -r \python\gen\pw_env_setup\pigweed_build_venv\compiled_requirements.txt - # myst-parser # sphinx json5==0.9.11 \ --hash=sha256:1aa54b80b5e507dfe31d12b7743a642e2ffa6f70bf73b8e3d7d1d5fba83d99bd \ @@ -516,13 +514,6 @@ lazy-object-proxy==1.9.0 \ # via # -r \python\gen\pw_env_setup\pigweed_build_venv\compiled_requirements.txt # astroid -markdown-it-py==2.2.0 \ - --hash=sha256:5a35f8d1870171d9acc47b99612dc146129b631baf04970128b568f190d0cc30 \ - --hash=sha256:7c9a5e412688bc771c67432cbfebcdd686c93ce6484913dccf06cb5a0bea35a1 - # via - # -r \python\gen\pw_env_setup\pigweed_build_venv\compiled_requirements.txt - # mdit-py-plugins - # myst-parser markupsafe==2.1.3 \ --hash=sha256:05fb21170423db021895e1ea1e1f3ab3adb85d1c2333cbc2310f2a26bc77272e \ --hash=sha256:0a4e4a1aff6c7ac4cd55792abf96c915634c2b97e3cc1c7129578aa68ebd754e \ @@ -589,18 +580,6 @@ mccabe==0.6.1 \ # via # -r \python\gen\pw_env_setup\pigweed_build_venv\compiled_requirements.txt # pylint -mdit-py-plugins==0.3.5 \ - --hash=sha256:ca9a0714ea59a24b2b044a1831f48d817dd0c817e84339f20e7889f392d77c4e \ - --hash=sha256:eee0adc7195e5827e17e02d2a258a2ba159944a0748f59c5099a4a27f78fcf6a - # via - # -r \python\gen\pw_env_setup\pigweed_build_venv\compiled_requirements.txt - # myst-parser -mdurl==0.1.2 \ - --hash=sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8 \ - --hash=sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba - # via - # -r \python\gen\pw_env_setup\pigweed_build_venv\compiled_requirements.txt - # markdown-it-py mypy==1.5.0 \ --hash=sha256:1fe816e26e676c1311b9e04fd576543b873576d39439f7c24c8e5c7728391ecf \ --hash=sha256:2c9d570f53908cbea326ad8f96028a673b814d9dca7515bf71d95fa662c3eb6f \ @@ -636,10 +615,6 @@ mypy-protobuf==3.3.0 \ --hash=sha256:15604f6943b16c05db646903261e3b3e775cf7f7990b7c37b03d043a907b650d \ --hash=sha256:24f3b0aecb06656e983f58e07c732a90577b9d7af3e1066fc2b663bbf0370248 # via -r \python\gen\pw_env_setup\pigweed_build_venv\compiled_requirements.txt -myst-parser==0.18.1 \ - --hash=sha256:61b275b85d9f58aa327f370913ae1bec26ebad372cc99f3ab85c8ec3ee8d9fb8 \ - --hash=sha256:79317f4bb2c13053dd6e64f9da1ba1da6cd9c40c8a430c447a7b146a594c246d - # via -r \python\gen\pw_env_setup\pigweed_build_venv\compiled_requirements.txt packaging==23.0 \ --hash=sha256:714ac14496c3e68c99c29b00845f7a2b85f3bb6f1078fd9f72fd20f0570002b2 \ --hash=sha256:b6ad297f8907de0fa2fe1ccbd26fdaf387f5f47c7275fedf8cce89f99446cf97 @@ -849,9 +824,7 @@ pyyaml==6.0.1 \ --hash=sha256:fca0e3a251908a499833aa292323f32437106001d436eca0e6e7833256674585 \ --hash=sha256:fd1592b3fdf65fff2ad0004b5e363300ef59ced41c2e6b3a99d4089fa8c5435d \ --hash=sha256:fd66fc5d0da6d9815ba2cebeb4205f95818ff4b79c3ebe268e75d961704af52f - # via - # -r \python\gen\pw_env_setup\pigweed_build_venv\compiled_requirements.txt - # myst-parser + # via -r \python\gen\pw_env_setup\pigweed_build_venv\compiled_requirements.txt requests==2.27.1 \ --hash=sha256:68d7c56fd5a8999887728ef304a6d12edc7be74f1cfa47714fc8b414525c9a61 \ --hash=sha256:f22fa1e554c9ddfd16e6e41ac79759e17be9e492b3587efa038054674760e72d @@ -896,7 +869,6 @@ sphinx==5.3.0 \ # -r \python\gen\pw_env_setup\pigweed_build_venv\compiled_requirements.txt # breathe # furo - # myst-parser # sphinx-argparse # sphinx-basic-ng # sphinx-copybutton @@ -1058,7 +1030,6 @@ typing-extensions==4.4.0 \ # black # ipython # mypy - # myst-parser # pylint urllib3==1.26.14 \ --hash=sha256:076907bf8fd355cde77728471316625a4d2f7e713c125f51953bb5b3eecf4f72 \ -- cgit v1.2.3