Skip to content

Commit 939ddd5

Browse files
committed
Fix failing tests
1 parent 640bda6 commit 939ddd5

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

docs/contribute/index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ Pyoframe has several types of tests.
3939

4040
4. Documentation tests (in `docs/`). All Python code blocks in the documentation are run to ensure the documentation doesn't become outdated. This is done using Sybil. Refer to the [Sybil documentation](https://sybil.readthedocs.io/en/latest/markdown.html#code-blocks) to learn how to create setup code or skip code blocks you don't wish to test.
4141

42+
!!! warning "Non-breaking spaces"
43+
Be aware that
44+
4245
## Writing documentation
4346

4447
You can preview the documentation website by running `mkdocs serve` and navigating to [`http://127.0.0.1:8000/pyoframe/`](http://127.0.0.1:8000/pyoframe/).

docs/learn/get-started/basics.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -267,11 +267,11 @@ And the resulting `m.pay` Expression correctly incorporates the holiday bonus on
267267
│ day ┆ expression │
268268
│ (5) ┆ │
269269
╞═════╪══════════════════════╡
270-
│ Mon ┆ 20 Hours_Worked[Mon] │
271-
│ Tue ┆ 20 Hours_Worked[Tue] │
272-
│ Wed ┆ 20 Hours_Worked[Wed] │
273-
│ Thu ┆ 20 Hours_Worked[Thu] │
274-
│ Fri ┆ 30 Hours_Worked[Fri] │
270+
│ Mon ┆ 20 Hours_Worked[Mon] │
271+
│ Tue ┆ 20 Hours_Worked[Tue] │
272+
│ Wed ┆ 20 Hours_Worked[Wed] │
273+
│ Thu ┆ 20 Hours_Worked[Thu] │
274+
│ Fri ┆ 30 Hours_Worked[Fri] │
275275
└─────┴──────────────────────┘
276276

277277
```
@@ -290,7 +290,7 @@ Note that often, you can skip defining parameters because whenever a Pyoframe ob
290290
│ Tue ┆ 0 │
291291
│ Wed ┆ 0 │
292292
│ Thu ┆ 0 │
293-
│ Fri ┆ 10 Hours_Worked[Fri] │
293+
│ Fri ┆ 10 Hours_Worked[Fri] │
294294
└─────┴──────────────────────┘
295295

296296
```

0 commit comments

Comments
 (0)