Skip to content

Commit dc7e1b5

Browse files
committed
Updated index.rst
1 parent aa2cd5c commit dc7e1b5

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

docs/Sorting.rst

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
============================
2+
Sorting
3+
============================
4+
5+
Just sort the way you want.
6+
7+
-----------------
8+
Quick Start Guide
9+
-----------------
10+
11+
::
12+
13+
from pygorithm.sorting import bubble_sort
14+
15+
# This will print the code for bubble sort
16+
print(bubble_sort.get_code())
17+
18+
myList = [12, 4, 2, 14, 3, 7, 5]
19+
20+
# to sort the list
21+
sorted_list = bubble_sort.sort(myList)
22+
23+
---------------
24+
Features
25+
---------------

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@
4141
#source_encoding = 'utf-8-sig'
4242

4343
# The master toctree document.
44-
master_doc = 'README'
44+
master_doc = 'index'

0 commit comments

Comments
 (0)