The entire project (website) is made up of 3 parts.
- Home site - the home page (index.md for now)
- Browse site - static pages of words split further into topics, Basically
all links under the Browse section on the home page. (
browse
folder on repo) - Search site - page where user can enter a word to search. Basically
the Search section on the home page. (
docs
folder in repo).
- when working on any issue, please assign it to yourself, so that others know that someone is woring on it already.
- if any issue is unassigned, please assume that no one is working on it currently and you can take it up. Of course, you can always ask if there is any doubt.
- Use the
develop
branch for sending PRs.
As much as possible, please try to follow these guidelines, as it makes for better maintainability and re-usability of the code.
- Add short comments
- Follow the Unix philosophy (gist given below)
- Write programs that do one thing and do it well.
- Write programs to work together.
- Write programs to handle text streams, because that is a universal interface.
Here is some previous guidance regarding unix philosophy from this repo itself.
- Edit the database file for the words that are to be added/modified.
- The
readme.md
in thedatabase
folder explains the format of the database.
- Auto generate all "browse" markdown files affected due to above step.
> cd browse/scripts
> python3 main.py
- Commit your changes and submit a PR.