Skip to content

Commit 956ef89

Browse files
committed
fixed links in docs
1 parent 887ca82 commit 956ef89

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

docs/source/tutorials/annotation_function.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ PyReason Annotation Functions
22
=============================
33

44
In this tutorial, we will look at use annotation functions in PyReason.
5-
Read more about annotation functions `here <https://pyreason--60.org.readthedocs.build/en/60/user_guide/3_pyreason_rules.html#annotation-functions>`_.
5+
Read more about annotation functions `here <https://pyreason.readthedocs.io/en/latest/user_guide/3_pyreason_rules.html#annotation-functions>`_.
66

77
.. note::
8-
Find the full, excecutable code for both annotation functions `here <https://github.com/lab-v2/pyreason/blob/main/examples/annotation_function_ex.py>`_
8+
Find the full, executable code for both annotation functions `here <https://github.com/lab-v2/pyreason/blob/main/examples/annotation_function_ex.py>`_
99

1010

1111
Average Annotation Function Example

docs/source/user_guide/6_pyreason_output.rst

+10-10
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Basic Tutorial Example
1414
To see ``filter_and_sort_nodes`` in action we will look at the example usage in PyReasons Basic Tutorial.
1515

1616
.. note::
17-
Find the full, explained tutorial here `here <https://pyreason--60.org.readthedocs.build/en/60/tutorials/basic_tutorial.html>`_
17+
Find the full, explained tutorial here `here <https://pyreason.readthedocs.io/en/latest/tutorials/basic_tutorial.html>`_
1818

1919

2020
The tutorial take in a basic graph of people and their pets, then adds a Rule and a Fact.
@@ -77,7 +77,7 @@ Infer Edges Example
7777
To see ``filter_and_sort_edges`` in action, we will look at the example usage in PyReason's Infer Edges Tutorial.
7878

7979
.. note::
80-
Find the full, explained tutorial here `here <https://pyreason--60.org.readthedocs.build/en/60/tutorials/infer_edges.html>`_.
80+
Find the full, explained tutorial here `here <https://pyreason.readthedocs.io/en/latest/tutorials/infer_edges.html>`_.
8181

8282
The tutorial takes in a basic graph of airports and connections, then infers an edges between two unconnected airports.
8383

@@ -143,7 +143,7 @@ Advanced Tutorial Example
143143
To see ``get_rule_trace`` in action we will look at the example usage in PyReasons Advanced Tutorial.
144144

145145
.. note::
146-
Find the full, explained tutorial here `here <https://pyreason--60.org.readthedocs.build/en/60/tutorials/advanced_tutorial.html>`_
146+
Find the full, explained tutorial here `here https://pyreason.readthedocs.io/en/latest/tutorials/advanced_tutorial.html>`_
147147

148148

149149
The tutorial takes in a graph of we have customers, cars, pets and their relationships. We first have customer_details followed by car_details , pet_details , travel_details.
@@ -160,7 +160,7 @@ Expected Output
160160
^^^^^^^^^^^^^^^^
161161
Using ``get_rule_trace``, the expected output of ``nodes_trace`` and ``edges_trace`` is:
162162

163-
Click `here <https://github.com/lab-v2/pyreason/blob/docs/examples/csv%20outputs/advanced_rule_trace_nodes_20241119-012153.csv>`_ for the full table.
163+
Click `here <https://github.com/lab-v2/pyreason/blob/main/examples/csv%20outputs/advanced_rule_trace_nodes_20241119-012153.csv>`_ for the full table.
164164

165165
**Nodes Trace:**
166166

@@ -201,7 +201,7 @@ Click `here <https://github.com/lab-v2/pyreason/blob/docs/examples/csv%20outputs
201201
202202
**Edges Trace**
203203

204-
Click `here <https://github.com/lab-v2/pyreason/blob/docs/examples/csv%20outputs/advanced_rule_trace_edges_20241119-012153.csv>`_ for the full table.
204+
Click `here <https://github.com/lab-v2/pyreason/blob/main/examples/csv%20outputs/advanced_rule_trace_edges_20241119-012153.csv>`_ for the full table.
205205

206206

207207
.. code:: text
@@ -234,7 +234,7 @@ Infer Edges Tutorial Example
234234
To see ``save_rule_trace`` in action, we will look at an example usage in PyReason's Infer Edges Tutorial.
235235

236236
.. note::
237-
Find the full, explained tutorial here `here <https://pyreason--60.org.readthedocs.build/en/60/tutorials/infer_edges.html#pyreason-infer-edges>`_.
237+
Find the full, explained tutorial here `here <https://pyreason.readthedocs.io/en/latest/tutorials/infer_edges.html>`_.
238238

239239
This tutorial takes a graph with airports and their connections.
240240

@@ -253,7 +253,7 @@ Using ``save_rule_trace``, the expected output is:
253253

254254
The nodes trace will be saved as a CSV file in the specified folder. It will contain the time, the fixed-point operation, the node, and the clause information that led to the change in each timestep. Here's an example snippet of how the data will look when saved:
255255

256-
Click `here <https://github.com/lab-v2/pyreason/blob/docs/examples/csv%20outputs/infer_edges_rule_trace_nodes_20241119-140955.csv>`_ for the full table.
256+
Click `here <https://github.com/lab-v2/pyreason/blob/main/examples/csv%20outputs/infer_edges_rule_trace_nodes_20241119-140955.csv>`_ for the full table.
257257

258258

259259

@@ -277,7 +277,7 @@ Click `here <https://github.com/lab-v2/pyreason/blob/docs/examples/csv%20outputs
277277

278278
The edges trace will be saved as another CSV file. It will contain the time, the edge relationship changes, and the clauses that were involved. Here’s a snippet of how the edge trace will look when saved:
279279

280-
Click `here <https://github.com/lab-v2/pyreason/blob/docs/examples/csv%20outputs/infer_edges_rule_trace_edges_20241119-140955.csv>`_ for the full table.
280+
Click `here <https://github.com/lab-v2/pyreason/blob/main/examples/csv%20outputs/infer_edges_rule_trace_edges_20241119-140955.csv>`_ for the full table.
281281

282282

283283
.. code:: text
@@ -315,7 +315,7 @@ Basic Tutorial Example
315315
To see ``interpretation.get_dict()`` in action we will look at the example usage in PyReasons Basic Tutorial.
316316

317317
.. note::
318-
Find the full, explained tutorial here `here <https://pyreason--60.org.readthedocs.build/en/60/tutorials/basic_tutorial.html>`_
318+
Find the full, explained tutorial here `here <https://pyreason.readthedocs.io/en/latest/tutorials/basic_tutorial.html>`_
319319

320320
Call ``.get_dict()`` function on the interpretation, and print using ``pprint``.
321321

@@ -373,4 +373,4 @@ Using ``.get_dict()``, the expected output is:
373373
('Mary', 'Cat'): {}}}
374374
375375
376-
``interpretation.get_dict()`` first goes through each time step, then the componenets of the graph, and finally the predicates and bounds.
376+
``interpretation.get_dict()`` first goes through each time step, then the components of the graph, and finally the predicates and bounds.

0 commit comments

Comments
 (0)