Skip to content

Commit

Permalink
change powershell rst code parser
Browse files Browse the repository at this point in the history
  • Loading branch information
wbrunette committed Sep 28, 2020
1 parent 395f96b commit 522bc9d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 18 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ odkx-deploy: odkx-copy

build-all: odkx

odkx-build: odkx

odkx-latex: odkx
@$(SPHINXBUILD) -b latex "$(COMPILE_X_SRCDIR)" "$(ODKX_BUILDDIR)"/latex $(SPHINXOPTS)
$(PYTHON) util/resize.py "$(ODKX_BUILDDIR)"
Expand Down
36 changes: 18 additions & 18 deletions odkx-src/docs-tech-guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ on any computer.
#. Accept any default settings.
#. Open Powershell and add LFS to git:

.. code:: powershell
.. code:: ps1con
> git lfs install
Expand Down Expand Up @@ -528,7 +528,7 @@ on any computer.
#. Accept all default settings.
#. Open Powershell and make sure the installation completed.

.. code:: powershell
.. code:: ps1con
> python --version
Python 3.7.0
Expand Down Expand Up @@ -567,7 +567,7 @@ on any computer.
.. group-tab:: PowerShell

.. code:: powershell
.. code:: ps1con
> mkdir odk
> cd odk
Expand Down Expand Up @@ -597,7 +597,7 @@ on any computer.
.. group-tab:: PowerShell

.. code:: powershell
.. code:: ps1con
/odk/ > python -m venv odkenv
Expand Down Expand Up @@ -672,7 +672,7 @@ on any computer.

#. Use your terminal to clone the repository.

You should already be in the :file:`odk` directory,
You should already be in the :file:`odkx` directory,
with the virtual environment active.

.. tabs::
Expand All @@ -690,7 +690,7 @@ on any computer.
.. group-tab:: Powershell

.. code:: powershell
.. code:: ps1con
(odkenv) /odk/ > git clone https://github.com/your-github-username/docs.git
.
Expand Down Expand Up @@ -768,7 +768,7 @@ on any computer.
.. group-tab:: PowerShell

.. code:: powershell
.. code:: ps1con
(odkenv) /odk/docs/ > git remote add upstream https://github.com/odk-x/docs.git
(odkenv) /odk/docs/ > git remote -v
Expand Down Expand Up @@ -801,7 +801,7 @@ on any computer.
.. group-tab:: PowerShell

.. code:: powershell
.. code:: ps1con
(odkenv) /odk/docs/ > pip install --upgrade pip
(odkenv) /odk/docs/ > pip install -r requirements.txt
Expand Down Expand Up @@ -938,7 +938,7 @@ Working on the docs
.. group-tab:: PowerShell

.. code:: powershell
.. code:: ps1con
(odkenv) /odk/docs/ > git branch
branch-name
Expand All @@ -961,7 +961,7 @@ Working on the docs
.. group-tab:: PowerShell

.. code:: powershell
.. code:: ps1con
(odkenv) /odk/docs/ > git checkout master
Switched to branch 'master'
Expand Down Expand Up @@ -994,7 +994,7 @@ Working on the docs
.. group-tab:: PowerShell

.. code:: powershell
.. code:: ps1con
(odkenv) /odk/docs/ > git pull upstream master
(odkenv) /odk/docs/ > git status
Expand Down Expand Up @@ -1025,7 +1025,7 @@ Working on the docs
.. group-tab:: PowerShell

.. code:: powershell
.. code:: ps1con
(odkenv) /odk/docs/ > git checkout -b branch-name
Switched to a new branch 'branch-name'
Expand Down Expand Up @@ -1089,7 +1089,7 @@ Working on the docs
.. group-tab:: PowerShell

.. code:: powershell
.. code:: ps1con
(odkenv) /odk/docs/ > rm -r -fo tmpx-src
(odkenv) /odk/docs/ > rm -r -fo odkx-build
Expand Down Expand Up @@ -1145,7 +1145,7 @@ Working on the docs
.. group-tab:: PowerShell

.. code:: powershell
.. code:: ps1con
(odkenv) /odk/docs/ > rm -r -fo tmpx-src
(odkenv) /odk/docs/ > rm -r -fo odkx-build
Expand Down Expand Up @@ -1224,7 +1224,7 @@ Working on the docs
.. group-tab:: PowerShell

.. code:: powershell
.. code:: ps1con
(odkenv) /odk/docs/ > python -m http.server -d odkx-build 8000
Serving HTTP on 0.0.0.0 port 8000 (http://0.0.0.0:8000/)
Expand Down Expand Up @@ -1270,7 +1270,7 @@ Working on the docs
.. group-tab:: PowerShell

.. code:: powershell
.. code:: ps1con
(odkenv) /odk/docs/ > git add -A
Expand All @@ -1286,7 +1286,7 @@ Working on the docs
.. group-tab:: PowerShell

.. code:: powershell
.. code:: ps1con
(odkenv) /odk/docs/ > git commit -m "Write a commit message here."
Expand All @@ -1307,7 +1307,7 @@ Working on the docs
.. group-tab:: PowerShell

.. code:: powershell
.. code:: ps1con
(odkenv) /odk/docs/ > git push origin branch-name
Expand Down

0 comments on commit 522bc9d

Please sign in to comment.