doc/common/requirements: Rename to static.

We will work on a version that can be toggled dynamically. It will just include this static version. This keeps things simple and still lets
us use the static version as needed.
This commit is contained in:
Laurens Valk
2021-08-05 12:32:03 +02:00
parent 87dacfbf76
commit 31a30f380f
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ extensions = [
'sphinx.ext.mathjax',
'color',
'classlink',
'requirements',
'requirements-static',
]
# Add any paths that contain templates here, relative to this directory.
@@ -29,7 +29,7 @@ HUB_FEATURES = {
}
class PybricksRequirementsDirective(Directive):
class PybricksRequirementsStaticDirective(Directive):
required_arguments = 0
optional_arguments = 10
@@ -88,6 +88,6 @@ class PybricksRequirementsDirective(Directive):
def setup(app):
app.add_directive_to_domain(
'py',
'pybricks-requirements',
PybricksRequirementsDirective
'pybricks-requirements-static',
PybricksRequirementsStaticDirective
)
+1 -1
View File
@@ -13,7 +13,7 @@
This module has classes for generic input/output devices. It is available on
these hubs:
.. pybricks-requirements:: pybricks-iodevices
.. pybricks-requirements-static:: pybricks-iodevices
.. pybricks-classlink:: PUPDevice
+1 -1
View File
@@ -4,7 +4,7 @@
This MicroPython module is similar to the `math module`_ in Python.
It is available on these hubs:
.. pybricks-requirements:: stm32-extra stm32-float
.. pybricks-requirements-static:: stm32-extra stm32-float
.. module:: umath