Conversation
- Fix typo.
- Update the `.vscode/settings.json` example in `CONTRIBUTING.md`.
[Venv][venv-doc] uses `bin` on POSIX, but `Scripts` on Windows.
- Some tests won't pass without `requirements/documentation.txt`.
For example, `test_simple_build` in `tests/test_build.py` builds `mkdocs.yml`,
and its theme (mkdocs-bootswatch/united) is not covered in
`requirements/development.txt`.
```yaml
theme:
name: united
```
[venv-doc]: https://docs.python.org/3.11/library/venv.html#how-venvs-work
|
Thank for this PR cleaning up the dust!
Oh damn! It's not the expected at all! feel free to fix that by switching to a default theme. |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #179 +/- ##
==========================================
- Coverage 79.79% 79.74% -0.06%
==========================================
Files 7 7
Lines 396 395 -1
Branches 91 91
==========================================
- Hits 316 315 -1
Misses 52 52
Partials 28 28 |
Uhh, it might be difficult… The following test uses mkdocs-rss-plugin/tests/test_build.py Lines 70 to 84 in 769744e Lines 37 to 38 in 769744e We can apply the What do you think? |
|
Hi, shall I replace |
|
Sorry for the delayed answer.
Replace |
`/mkdocs.yml` requires theme and plugins in `requirements/documentation.txt`, and `test_simple_build` will fail if they're not installed. The commit removes those dependencies and turns it into `tests/fixtures/mkdocs_simple.yml`.
|
No worries, we all have our own lives. I've just implemented it and tested locally. Could you run the ci? |
|
Perfect! Let's merge it! I'm waiting for #177 to release a new version. |
Fix typo.
Update the
.vscode/settings.jsonexample inCONTRIBUTING.md.Venv uses
binon POSIX, butScriptson Windows.Some tests won't pass without
requirements/documentation.txt.See also: 4b1cfd adds
documentation.txtinto GitHub Actions.For example,
test_simple_buildintests/test_build.pybuildsmkdocs.yml,and its theme (mkdocs-bootswatch/united) is not covered in
requirements/development.txt.