Skip to content

Commit 45226a6

Browse files
authored
Merge pull request #59 from scalasm/improved-docs-format
Cleaned up documentation errors
2 parents d0dad84 + 1c5bbc9 commit 45226a6

File tree

4 files changed

+17
-20
lines changed

4 files changed

+17
-20
lines changed

.devcontainer/devcontainer.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,11 @@
3333
"python.linting.pylintPath": "/usr/local/py-utils/bin/pylint"
3434
},
3535
// Add the IDs of extensions you want installed when the container is created.
36-
"extensions": ["ms-python.python", "ms-python.vscode-pylance"],
36+
"extensions": [
37+
"ms-python.python",
38+
"ms-python.vscode-pylance",
39+
"lextudio.restructuredtext-pack"
40+
],
3741
// Use 'forwardPorts' to make a list of ports inside the container available locally.
3842
// "forwardPorts": [],
3943
// Install project dependencies

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
"python.testing.unittestEnabled": false,
44
"python.testing.pytestEnabled": true,
55
"python.formatting.provider": "black",
6-
"python.linting.pylintEnabled": false
6+
"python.linting.pylintEnabled": false,
7+
"esbonio.sphinx.confDir": ""
78
}

README.rst

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -39,22 +39,25 @@ Disclaimer
3939
----------
4040

4141
This is second fresh attempt to study Computer Algorithms and Data Structures by following the
42-
[MIT Course](https://www.youtube.com/watch?v=HtSuA80QTyo&list=PLUl4u3cNGP61Oq3tWYp6V_F-5jb5L2iHb).
42+
`MIT Course`_.
4343

44-
In this repository I'm using Python, in order to also gain some practice, like in [Kata](https://en.wikipedia.org/wiki/Kata)!
44+
.. _MIT Course: https://www.youtube.com/watch?v=HtSuA80QTyo&list=PLUl4u3cNGP61Oq3tWYp6V_F-5jb5L2iHb
4545

46-
This is a set of conding exercises that I have done for testing my coding skills using Python.
47-
I try to make them as good as possible but I take no responsibility for any problems
46+
In this repository I'm using Python, in order to also gain some practice, like in Kata_ ! I try to make them as good as possible but I take no responsibility for any problems
4847
or errors you may incur if you try to use them :)
4948

49+
.. _Kata: https://en.wikipedia.org/wiki/Kata
50+
5051
Features
5152
--------
5253

5354
Arrays and Matrices
5455
~~~~~~~~~~~~~~~~~~~
55-
* [Finding a peak in 1-dimensional and 2-dimensional arrays](./docs/algorithms/FindPeak.md).
56+
* `Finding peaks in arrays`_, both 1-dimensional and 2-dimensional arrays.
5657
* Merge of N arrays (lists)
5758

59+
.. _Finding peaks in arrays: ./docs/algorithms/FindPeak.md
60+
5861
Graphs
5962
~~~~~~
6063
* Graph (using adjacency lists for its implementation)
@@ -64,21 +67,10 @@ Heap
6467
~~~~
6568
* MaxHeap and basic operations
6669

67-
Installation
68-
------------
69-
70-
You can install *My Python Kata* via pip_ from PyPI_:
71-
72-
.. code:: console
73-
74-
$ pip install my-python-kata
75-
76-
7770
Usage
7871
-----
7972

80-
Please see the `Command-line Reference <Usage_>`_ for details.
81-
73+
Open this project in Visual Studio Code with remote container extenstion and have fun :)
8274

8375
Contributing
8476
------------

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from datetime import datetime
33

44

5-
project = "My Python Kata"
5+
project = "my_python_kata"
66
author = "Mario Scalas"
77
copyright = f"{datetime.now().year}, {author}"
88
extensions = [

0 commit comments

Comments
 (0)