Skip to content

Update ~script.py #978

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
AnupKumarPanwar opened this issue Jul 8, 2019 · 4 comments
Closed

Update ~script.py #978

AnupKumarPanwar opened this issue Jul 8, 2019 · 4 comments

Comments

@AnupKumarPanwar
Copy link
Member

The ~script.py needs to be updated. Currently, it is generating broken links. For example, try opening LCA under Data Structures in DIRECTORY.md. It will show a 404 error.

  1. The script should list only .py and .ipynb files.
  2. List the files in such a way that every word is capitalised in the parsed file name. For example, binary_search_tree.py should be listed as Binary Search Tree
@cclauss
Copy link
Member

cclauss commented Jul 8, 2019

Can we give it a better name? Like scripts/build_directory_md.py?

@poyea
Copy link
Member

poyea commented Jul 9, 2019

Maybe SCRIPT_GEN.py or DIR_GEN.py. I think the script should be in the root.

@AnupKumarPanwar
Copy link
Member Author

Keeping in scripts directory seems more appropriate to me. If in future we plan to automate other things, we can put that in the scripts folder.

@qckzr
Copy link
Contributor

qckzr commented Jul 13, 2019

I have sent pull request #1013 with the changes

cclauss pushed a commit that referenced this issue Jul 13, 2019
* Added print function into matrix_multiplication_addition.py and removed blank space in data_structures/binary tree directory

* Removed .vs/ folder per #893

* Rename matrix_multiplication_addition.py to matrix_operation.py

* Moved and renamed ~script.py to scripts/build_directory_md.py
Updated DIRECTORY.MD file

* Modified .travis.yml per suggestion in #1013

* Fixed typo per suggestions in #1013
stokhos pushed a commit to stokhos/Python that referenced this issue Jan 3, 2021
* Added print function into matrix_multiplication_addition.py and removed blank space in data_structures/binary tree directory

* Removed .vs/ folder per TheAlgorithms#893

* Rename matrix_multiplication_addition.py to matrix_operation.py

* Moved and renamed ~script.py to scripts/build_directory_md.py
Updated DIRECTORY.MD file

* Modified .travis.yml per suggestion in TheAlgorithms#1013

* Fixed typo per suggestions in TheAlgorithms#1013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants