Skip to content

Commit 2c7c2c1

Browse files
committed
Added readthedocs condig file
1 parent 652b44e commit 2c7c2c1

File tree

2 files changed

+33
-4
lines changed

2 files changed

+33
-4
lines changed

.readthedocs.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# .readthedocs.yaml
2+
# Read the Docs configuration file
3+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4+
5+
# Required
6+
version: 2
7+
8+
# Set the version of Python and other tools you might need
9+
build:
10+
os: ubuntu-20.04
11+
tools:
12+
python: "3.8"
13+
# You can also specify other tool versions:
14+
# nodejs: "16"
15+
# rust: "1.55"
16+
# golang: "1.17"
17+
18+
# Build documentation in the docs/ directory with Sphinx
19+
sphinx:
20+
configuration: docs/conf.py
21+
22+
# Optionally build your docs in additional formats such as PDF
23+
# formats:
24+
# - pdf
25+
26+
# Optionally declare the Python requirements required to build your docs
27+
python:
28+
install:
29+
- requirements: docs/requirements.txt

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)