Add command switch tabs for Bash, CMD and Powershell with sphinx-tabs (#3714)
* Enable Sphinx extension sphinx-tabs * Add command tabs for all export commands * Add command tabs for all venv commands Fix trim spaces
This commit is contained in:
parent
c5a5d9b30b
commit
1035efc7d6
14 changed files with 498 additions and 126 deletions
|
|
@ -96,16 +96,21 @@ First time setup
|
|||
|
||||
- Create a virtualenv.
|
||||
|
||||
.. code-block:: text
|
||||
.. tabs::
|
||||
|
||||
$ python3 -m venv env
|
||||
$ . env/bin/activate
|
||||
.. group-tab:: macOS/Linux
|
||||
|
||||
On Windows, activating is different.
|
||||
.. code-block:: text
|
||||
|
||||
.. code-block:: text
|
||||
$ python3 -m venv env
|
||||
$ . env/bin/activate
|
||||
|
||||
> env\Scripts\activate
|
||||
.. group-tab:: Windows
|
||||
|
||||
.. code-block:: text
|
||||
|
||||
> py -3 -m venv env
|
||||
> env\Scripts\activate
|
||||
|
||||
- Install Flask in editable mode with development dependencies.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue