Skip to content

Commit

Permalink
Fixed linux & mac shell_cmd error catching if _build doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
DrDBanner committed Jan 31, 2022
1 parent 5546462 commit 4c755a0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/install_and_contrib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ Download & Install Additional Packages
choco install git git-lfx gh sublimetext4 sublimemerge -y
choco install python -y
# close the powershell and open a new one; then proceed
# close the powershell and open a new one; then proceed;
pip install sphinx sphinx-rtd-theme sphinx-copybutton sphinx-tabs rst2pdf
Expand All @@ -154,6 +154,7 @@ Download & Install Additional Packages
brew install git git-lfs gh sublime-text sublime-merge
brew install python
brew link python
# close the terminal and open a new one; then proceed;
pip install sphinx sphinx-rtd-theme sphinx-copybutton sphinx-tabs rst2pdf
**Check Python Versions**
Expand Down Expand Up @@ -319,15 +320,15 @@ Configure Sublime Text
.. code-block:: bash
{
"shell_cmd": "cd ~/academy && rm -Rf _build && make html"
"shell_cmd": "cd ~/academy ; [ -d \"_build\" ] && rm -Rf _build ; make html"
}
.. group-tab:: Linux

.. code-block:: bash
{
"shell_cmd": "cd ~/academy && rm -Rf _build && make html"
"shell_cmd": "cd ~/academy ; [ -d \"_build\" ] && rm -Rf _build ; make html"
}
#. Save as :code:`buildAcademy.sublime-build`
Expand Down

0 comments on commit 4c755a0

Please sign in to comment.