File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change
1
+ # The Algorithms Scripts
2
+
3
+ Internal scripts used across all The Algorithms repositories
4
+
5
+ ## build_directory_md.py
6
+ This script should be run by a workflow on every push and pr to update the ` DIRECTORY.md ` file. It takes the following arguments:
7
+ ```
8
+ [0] - Language
9
+ [1] - Base path
10
+ [2] - Allowed filenames
11
+ [3] - Files or folders to ignore (optional)
12
+ [4] - Folders to ignore, but include children (optional)
13
+ ```
14
+ For example, the command for the C++ repo would be:
15
+ ``` bash
16
+ python3 build_directory_md.py C-Plus-Plus . .cpp,.hpp,.h > DIRECTORY.md
17
+ ```
18
+ Or more advanced, for the MATLAB / Octave repo:
19
+ ``` bash
20
+ python3 build_directory_md.py MATLAB-Octave . .m - algorithms > DIRECTORY.md
You can’t perform that action at this time.
0 commit comments