Skip to content

Commit 984c4f1

Browse files
committed
better bash visuals and fix typos
1 parent 34e3ea2 commit 984c4f1

File tree

3 files changed

+22
-14
lines changed

3 files changed

+22
-14
lines changed

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929

3030
# sphinx-copybutton configurations
3131
copybutton_prompt_text = r">>> |\.\.\. |\$ |In \[\d*\]: | {2,5}\.\.\.: | {5,8}: "
32+
copybutton_line_continuation_character = "\\"
3233
copybutton_prompt_is_regexp = True
3334

3435
nb_execution_mode = "off"

docs/installation.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ We strongly recommend using a virtual environment `venv` or `conda`
1010
to avoid potential conflicts with other Python packages.
1111
```
1212

13-
## Using `pip` and `virtualenv`.
13+
## Using `pip` and `virtualenv`
1414

1515
Install the 64-bit version of Python 3 from https://www.python.org.
1616

1717
```shell
1818
$ python -m venv mdio-venv
19-
$ mdio-venv\Scripts\activate
19+
$ mdio-venv/Scripts/activate
2020
$ pip install -U multidimio
2121
```
2222

@@ -55,7 +55,7 @@ The above command will install MDIO into your `conda` environment.
5555
After installing MDIO, run the following:
5656

5757
```shell
58-
python -c import mdio; print(mdio.__version__)"
58+
$ python -c "import mdio; print(mdio.__version__)"
5959
```
6060

6161
You should see the version of MDIO printed to the screen.
@@ -65,12 +65,19 @@ You should see the version of MDIO printed to the screen.
6565
You can also install some optional dependencies (extras) like this:
6666

6767
```shell
68-
pip install multidimio[distributed]
69-
pip install multidimio[cloud]
70-
pip install multidimio[lossy]
68+
$ pip install multidimio[distributed]
69+
$ pip install multidimio[cloud]
70+
$ pip install multidimio[lossy]
7171
```
7272

7373
`distributed` installs [Dask][dask] for parallel, distributed processing.\
7474
`cloud` installs [fsspec][fsspec] backed I/O libraries for [AWS' S3][s3fs],
7575
[Google's GCS][gcsfs], and [Azure ABS][adlfs].\
7676
`lossy` will install the [ZFPY][zfp] library for lossy chunk compression.
77+
78+
[dask]: https://www.dask.org/
79+
[fsspec]: https://filesystem-spec.readthedocs.io/en/latest/
80+
[s3fs]: https://s3fs.readthedocs.io/
81+
[gcsfs]: https://gcsfs.readthedocs.io/
82+
[adlfs]: https://github.com/fsspec/adlfs
83+
[zfp]: https://computing.llnl.gov/projects/zfp

docs/usage.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@ MDIO format. Only one lossless copy will be made.
88
There are many more options, please see the [usage](#usage).
99

1010
```shell
11-
mdio segy import \
12-
-i path_to_segy_file.segy \
13-
-o path_to_mdio_file.mdio \
14-
-loc 181,185 \
15-
-names inline,crossline
11+
$ mdio segy import \
12+
-i path_to_segy_file.segy \
13+
-o path_to_mdio_file.mdio \
14+
-loc 181,185 \
15+
-names inline,crossline
1616
```
1717

1818
To export the same file back to SEG-Y format, the following command
1919
should be executed.
2020

2121
```shell
22-
mdio segy export \
23-
-i path_to_mdio_file.mdio \
24-
-o path_to_segy_file.segy
22+
$ mdio segy export \
23+
-i path_to_mdio_file.mdio \
24+
-o path_to_segy_file.segy
2525
```
2626

2727
## CLI Reference

0 commit comments

Comments
 (0)