-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doc: typo & tips #179
Doc: typo & tips #179
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.json
example inCONTRIBUTING.md
.Venv uses
bin
on POSIX, butScripts
on Windows.Some tests won't pass without
requirements/documentation.txt
.See also: 4b1cfd adds
documentation.txt
into GitHub Actions.For example,
test_simple_build
intests/test_build.py
buildsmkdocs.yml
,and its theme (mkdocs-bootswatch/united) is not covered in
requirements/development.txt
.