diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 000000000..e61d7876d --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,15 @@ +version: 2 + +build: + os: ubuntu-20.04 + tools: + python: "3.8" + +sphinx: + configuration: docs/conf.py + +python: + install: + - requirements: docs/requirements.txt + - method: pip + path: . \ No newline at end of file diff --git a/pydatastructs/trees/binary_trees.py b/pydatastructs/trees/binary_trees.py index 198d5ad51..14d01403e 100644 --- a/pydatastructs/trees/binary_trees.py +++ b/pydatastructs/trees/binary_trees.py @@ -420,8 +420,8 @@ def rank(self, x): its index in the sorted list of nodes of the tree. - Parameter - ========= + Parameters + ========== x: key The key of the node whose rank is to be found out. @@ -441,8 +441,8 @@ def _simple_path(self, key, root): """ Utility funtion to find the simple path between root and node. - Parameter - ========= + Parameters + ========== key: Node.key Key of the node to be searched