Skip to content

Commit

Permalink
fixed docs links
Browse files Browse the repository at this point in the history
  • Loading branch information
dyumanaditya committed Feb 20, 2025
1 parent e550d62 commit 8b83886
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docs/source/tutorials/advanced_tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ In this tutorial, we will look at how to run PyReason with a more
complex graph.

.. note::
Find the full, excecutable code `here <https://github.com/lab-v2/pyreason/blob/docs/examples/advanced_graph_ex.py>`_
Find the full, executable code `here <https://github.com/lab-v2/pyreason/blob/main/examples/advanced_graph_ex.py>`_

Graph
------------
Expand Down Expand Up @@ -93,7 +93,7 @@ Expected Output
Below is the expected output at timestep ``0``

.. note::
Find the full expected output `here <https://github.com/lab-v2/pyreason/blob/docs/examples/advanced_output.txt>`_
Find the full expected output `here <https://github.com/lab-v2/pyreason/blob/main/examples/advanced_output.txt>`_

.. code:: text
Expand Down
2 changes: 1 addition & 1 deletion docs/source/tutorials/annotation_function.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ In this tutorial, we will look at use annotation functions in PyReason.
Read more about annotation functions `here <https://pyreason--60.org.readthedocs.build/en/60/user_guide/3_pyreason_rules.html#annotation-functions>`_.

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


Average Annotation Function Example
Expand Down
2 changes: 1 addition & 1 deletion docs/source/tutorials/basic_tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ demonstrates some of the capabilities of the software. If this is your
first time looking at the software, you’re in the right place.

.. note::
Find the full, excecutable code `here <https://github.com/lab-v2/pyreason/blob/docs/examples/basic_tutorial_ex.py>`_
Find the full, executable code `here <https://github.com/lab-v2/pyreason/blob/main/examples/basic_tutorial_ex.py>`_

The following graph represents a network of people and the pets that
they own.
Expand Down
2 changes: 1 addition & 1 deletion docs/source/tutorials/custom_thresholds.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ In this tutorial, we will look at how to run PyReason with Custom Thresholds.
Custom Thresholds are parameters in the :ref:`Rule Class <pyreason_rules>`.

.. note::
Find the full, excecutable code `here <https://github.com/lab-v2/pyreason/blob/docs/examples/custom_threshold_ex.py>`_
Find the full, excecutable code `here <https://github.com/lab-v2/pyreason/blob/main/examples/custom_threshold_ex.py>`_

The following graph represents a network of People and a Text Message in their group chat.

Expand Down
4 changes: 2 additions & 2 deletions docs/source/tutorials/infer_edges.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ infer edges is a parameter in the :ref:`Rule Class <pyreason_rules>`.


.. note::
Find the full, excecutable code `here <https://github.com/lab-v2/pyreason/blob/docs/examples/infer_edges_ex.py>`_
Find the full, excecutable code `here <https://github.com/lab-v2/pyreason/blob/main/examples/infer_edges_ex.py>`_

The following graph represents a network of airports and connections.

Expand Down Expand Up @@ -55,7 +55,7 @@ First, we create the graph in Networkx. This graph has airports and flight conne
G.add_edges_from(edges)
We can also load the graph from a GraphML `file <https://github.com/lab-v2/pyreason/blob/docs/tests/knowledge_graph_test_subset.graphml>`_
We can also load the graph from a GraphML `file <https://github.com/lab-v2/pyreason/blob/main/tests/knowledge_graph_test_subset.graphml>`_

We then initialize and load the graph using the following code:

Expand Down

0 comments on commit 8b83886

Please sign in to comment.