Skip to content

Commit bd5e1b7

Browse files
committed
Update dev docs
1 parent e63e57d commit bd5e1b7

File tree

6 files changed

+8
-2
lines changed

6 files changed

+8
-2
lines changed

docs/monty.functools.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,13 @@ becomes
7373
The decorated main accepts two new arguments:
7474

7575
> prof_file: Name of the output file with profiling data
76+
7677
> ```none
7778
> If not given, a temporary file is created.
7879
> ```
80+
7981
> sortby: Profiling data are sorted according to this value.
82+
8083
> ```none
8184
> default is “time”. See sort_stats.
8285
> ```

docs/monty.os.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ performing some tasks, and returns to the original working directory
1515
afterwards. E.g.,
1616

1717
> with cd(“/my/path/”):
18+
1819
> ```none
1920
> do_something()
2021
> ```

docs/monty.re.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,11 @@ A powerful regular expression version of grep.
2525
* **Returns**
2626

2727
> {key1: [[[matches…], lineno], [[matches…], lineno],
28+
2829
> ```none
2930
> [[matches…], lineno], …],
3031
> ```
32+
3133
> key2: …}
3234
3335
For reverse reads, the lineno is given as a -ve number. Please note

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ classifiers = [
2121
dependencies = [
2222

2323
]
24-
version = "2024.7.12"
24+
version = "2024.7.29"
2525

2626
[project.optional-dependencies]
2727
ci = [

tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
def make_doc(ctx: Context) -> None:
3232
with cd("docs"):
3333
ctx.run("rm monty.*.rst", warn=True)
34-
ctx.run("sphinx-apidoc --separate -P -M -d 6 -o . -f ../monty")
34+
ctx.run("sphinx-apidoc --separate -P -M -d 6 -o . -f ../src/monty")
3535
# ctx.run("rm monty*.html", warn=True)
3636
# ctx.run("sphinx-build -b html . ../docs") # HTML building.
3737
ctx.run("sphinx-build -M markdown . .")

tests/test_files/3000_lines.txt.gz

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)