diff --git a/.github/workflows/run-pytest.yaml b/.github/workflows/run-pytest.yaml index 63dfedb..242db6c 100644 --- a/.github/workflows/run-pytest.yaml +++ b/.github/workflows/run-pytest.yaml @@ -20,6 +20,7 @@ jobs: run: | sudo apt-get update sudo apt install libespeak-dev + sudo apt-get install python-dateutil python -m pip install --upgrade pip pip install flake8 pytest if [ -f requirements.txt ]; then pip install -r requirements.txt; fi diff --git a/docs/introduction.rst b/docs/introduction.rst index 5e01c0d..00b315d 100644 --- a/docs/introduction.rst +++ b/docs/introduction.rst @@ -12,23 +12,22 @@ Installation To install the library, you can use pip: -```bash -pip install sanatio -``` +:code:` pip install sanatio` -Usage +Usage-Examples ===== -```python +.. code:: python + from sanatio import Validator val = Validator() # Check if the string is equal to the given value -```python +.. code:: python + val.equals("abc", "abc") # True -```