-
Notifications
You must be signed in to change notification settings - Fork 169
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
[INF/DOC] Documentation bugfix by pinning mkdocstrings to 0.18.1 #1147
Conversation
🚀 Deployed on https://deploy-preview-1147--pyjanitor.netlify.app |
Codecov Report
@@ Coverage Diff @@
## dev #1147 +/- ##
==========================================
- Coverage 97.34% 97.31% -0.04%
==========================================
Files 77 77
Lines 3240 3240
==========================================
- Hits 3154 3153 -1
- Misses 86 87 +1 |
Now documentation environment is |
I see, @Zeroto521. Thanks for the push. In working through this PR, I'm starting to see possible undesirable consequences of having separate environment definitions. Complexity is the main driver here. Previously, we could all rely on a single source of truth for the environment definition -- One of the principles we have in the pyjanitor project is to make contributing easy for newcomers; having different Going forward, I think we should have a deeper discussion about having separate environments for docs and development. Just as we try to standardize development, testing, and deployment environments with a single dev container, having a single For now, I'm going to revert some of the changes that you made. This is just to fix broken docs, though, so I hope you don't feel that I'm rejecting the change outright. We can reintroduce them in a more comprehensive PR; if you could help me here by articulating (in PR #1133) what advantages we would get by your proposed changes, that will help stimulate the discussion further. |
@Zeroto521 and @samukweku I added a very rudimentary automated check for the docs. We may want to see whether there are better options out there, though. I will tag you both in a comment on the relevant file. |
@@ -0,0 +1,24 @@ | |||
"""Tests for documentation build.""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Zeroto521 and @samukweku this is the automated hack I have in place to check that our docs are built correctly automatically... at least for the general functions page. We may want to do a more comprehensive thing later.
Ok, I'm going to take an "executive" decision and merge, so that our friends in the Eastern Hemisphere timezones can access usable docs as their work week begins. |
@Zeroto521 and @samukweku please merge as soon as the docs are built correctly on the docs preview.