Skip to content

Commit 30a5636

Browse files
authored
Post 2.6.0: Fix changelog and docs issues
Merge pull request #132 from sharktide/changelogfix
2 parents 50afe4a + 9ce4c84 commit 30a5636

3 files changed

Lines changed: 35 additions & 14 deletions

File tree

docs/source/changelog.rst

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,38 @@ Changelog
33

44
*Note: This changelog skips version 0.1.1*
55

6-
Major release 2
6+
reStructuredPython 2
77
---------------
88

99
.. raw:: html
1010

1111
<details>
12-
<summary>2.5.0</summary>
12+
<summary>2.6.0</summary>
1313
<ul>
14-
<li>Introduced &lt;OPTIMIZE&gt; markers, which allow restructuredpython code to be executed faster than cpython would normally when restructuredpython is installed.
14+
<li>Add optimizations to functions</li>
15+
<li>Fix &lt;OPTIMIZE&gt; not preserving indent</li>
16+
<li>Add multithreading to loops</li>
1517
</ul>
1618
</details>
1719

20+
<details>
21+
<summary>2.5.0 - 2.5.1</summary>
22+
<details>
23+
<summary>2.5.0</summary>
24+
<ul>
25+
<li>Introduced &lt;OPTIMIZE&gt; markers, which allow restructuredpython code to be executed faster than cpython would normally when restructuredpython is installed.
26+
</ul>
27+
</details>
28+
<details>
29+
<summary>2.5.1</summary>
30+
<ul>
31+
<li>Add syntax guide back for SEO and clarity by @sharktide in #95</li>
32+
<li>Add -v and --version flags by @sharktide in #84</li>
33+
<li>Explicitly state <OPTIMIZE ...> on functions does nothing by @sharktide in #109</li>
34+
</ul>
35+
</details>
36+
</details>
37+
1838
<details>
1939
<summary>2.4.0</summary>
2040
<ul>
@@ -70,7 +90,7 @@ Major release 2
7090
</ul>
7191
</details>
7292

73-
Major release 1
93+
reStructuredPython 1
7494
---------------
7595

7696
.. raw:: html
@@ -91,7 +111,7 @@ Major release 1
91111
</ul>
92112
</details>
93113

94-
Major release 0
114+
reStructuredPython 0
95115
---------------
96116

97117
.. raw:: html

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
copyright = '2025, Rihaan Meher'
1111
author = 'Rihaan Meher'
1212

13-
release = '2.5.0'
13+
release = '2.6.0'
1414
html_favicon = "_static/icon.png"
1515

1616
# -- General configuration ---------------------------------------------------

docs/source/reference/Features/OPTIMIZE.rst

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,17 @@ Use ``<OPTIMIZE ...>`` before a ``for`` or ``while`` loop to apply runtime enhan
1313

1414
.. code-block:: python
1515
16-
<OPTIMIZE gct=True, parallel=True, profile=True, cache=True>
17-
for i in range(10_000_000) {
18-
temp = str(i) * 10
19-
}
16+
<OPTIMIZE gct=True, parallel=True, profile=True, cache=True>
17+
for i in range(10_000_000) {
18+
temp = str(i) * 10
19+
}
2020
21-
.. versionadded::
22-
Added the cache option in 2.6.0
2321
24-
.. versionchanged::
25-
Changed the parallel functionality in 2.6.0
22+
.. versionadded:: 2.6.0
23+
The cache option
24+
25+
.. versionchanged:: 2.6.0
26+
The parallel functionality from multiprocessing to multithreading
2627

2728
Arguments for <OPTIMIZE ...> on loops include:
2829

0 commit comments

Comments
 (0)