-
-
Notifications
You must be signed in to change notification settings - Fork 262
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
base: main
Are you sure you want to change the base?
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.
[docs]
so that the command works as intended inzsh
.open
command in doc building section, as this command is only available on macOS.TODO: