-
-
Notifications
You must be signed in to change notification settings - Fork 286
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
Minor improvements to contributing guide #1712
Conversation
@@ -246,9 +245,9 @@ notes (``docs/release.rst``). | |||
|
|||
The documentation can be built locally by running:: | |||
|
|||
$ cd docs | |||
$ make clean; make html | |||
$ open _build/html/index.html |
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.
How about instead of removing open _build/html/index.html
, we add xdg-open
for Linux?
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.
I'd be minded not to include because then there would have to be multiple commands for each OS, and I'm not sure there is even one for Windows?
$ open _build/html/index.html | ||
cd docs | ||
make clean | ||
make html |
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.
make html | |
make html | |
open _build/html/index.html #macos | |
xdg-open _build/html/index.html #linux |
Maybe something like this?
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.
Again, I it's best to leave out so there's code that works on all operating systems that you can just copy/paste.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## v3 #1712 +/- ##
=======================================
Coverage 99.98% 99.98%
=======================================
Files 38 38
Lines 14718 14718
=======================================
Hits 14716 14716
Misses 2 2 |
@dstansby - would you be willing to take another pass on this w.r.t. our v3 dev process (hatch, etc)? |
I think that would be sufficiently different (and I've never used hatch personally) to be worth rebasing this PR, so I'll close |
[docs]
so that the command works as intended inzsh
.open
command in doc building section, as this command is only available on macOS.TODO: