Skip to content

Commit 61f4691

Browse files
authored
Merge branch 'main' into sphinx-markdown
2 parents bab966c + fc17496 commit 61f4691

File tree

2 files changed

+8
-21
lines changed

2 files changed

+8
-21
lines changed

docs/source/installation.rst

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,35 +21,28 @@ Alternatively, on Linux systems, this can be done with `sudo apt install graphvi
2121
Install from source
2222
-------------------
2323

24-
In future it will be possible to install from PyPI, but for now...
25-
26-
.. code-block:: console
24+
In future it will be possible to install from PyPI, but for now::
2725

2826
git clone https://github.com/CITCOM-project/CausalTestingFramework
2927
cd CausalTestingFramework
3028

31-
then, to install a specific release:
29+
then, to install a specific release::
3230

33-
.. code-block:: console
3431
git fetch --all --tags --prune
3532
git checkout tags/<tag> -b <branch>
3633
pip install -e .
3734

38-
e.g. version `1.0.0`
35+
e.g. version `1.0.0`::
3936

40-
.. code-block:: console
4137
git fetch --all --tags --prune
4238
git checkout tags/1.0.0 -b version
4339
pip install -e .
4440

45-
or to install the latest development version:
41+
or to install the latest development version::
4642

47-
.. code-block:: console
4843
pip install -e .
4944

50-
Use
51-
52-
.. code-block:: console
45+
Use::
5346

5447
pip install -e .[dev]
5548

docs/source/json_front_end.rst

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,23 +33,17 @@ Each test requires:
3333

3434
Run Commands
3535
------------
36-
To run the JSON frontend example from the root directory of the project, use
37-
38-
.. code-block:: console
36+
To run the JSON frontend example from the root directory of the project, use::
3937

4038
python examples/poisson/run_causal_tests.py
4139

42-
A failure flag `-f` can be specified to stop the framework running if a test is failed
43-
44-
.. code-block:: console
40+
A failure flag `-f` can be specified to stop the framework running if a test is failed::
4541

4642
python examples/poisson/run_causal_tests.py -f
4743

4844
There are two main outputs of this frontend, both are controlled by the logging module. Firstly outputs are printed to stdout (terminal).
4945
Secondly a log file is produced, by default a file called `json_frontend.log` is produced in the directory the script is called from.
5046

51-
The behaviour of where the log file is produced and named can be altered with the --log_path argument:
52-
53-
.. code-block:: console
47+
The behaviour of where the log file is produced and named can be altered with the --log_path argument::
5448

5549
python examples\poisson\run_causal_tests.py -f --data_path="examples\poisson\data.csv" --dag_path="examples\poisson\dag.dot" --json_path="examples\poisson\causal_tests.json --log_path="example_directory\logname.log"

0 commit comments

Comments
 (0)