Skip to content

Commit 2c01e34

Browse files
authored
Added readthedocs config file (#417)
1 parent 652b44e commit 2c01e34

File tree

2 files changed

+19
-4
lines changed

2 files changed

+19
-4
lines changed

.readthedocs.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
version: 2
2+
3+
build:
4+
os: ubuntu-20.04
5+
tools:
6+
python: "3.8"
7+
8+
sphinx:
9+
configuration: docs/conf.py
10+
11+
python:
12+
install:
13+
- requirements: docs/requirements.txt
14+
- method: pip
15+
path: .

pydatastructs/trees/binary_trees.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -420,8 +420,8 @@ def rank(self, x):
420420
its index in the sorted list of nodes
421421
of the tree.
422422
423-
Parameter
424-
=========
423+
Parameters
424+
==========
425425
426426
x: key
427427
The key of the node whose rank is to be found out.
@@ -441,8 +441,8 @@ def _simple_path(self, key, root):
441441
"""
442442
Utility funtion to find the simple path between root and node.
443443
444-
Parameter
445-
=========
444+
Parameters
445+
==========
446446
447447
key: Node.key
448448
Key of the node to be searched

0 commit comments

Comments
 (0)