A repository containing important raw texts (some non-proofread). Processed (eg: transliterated) texts may be placed in other repos/ sites.
"raw" in raw_etexts means "mostly unencoded" text files (and not binary files like doc or pdf or rtf), whose contents may be searched by (say) grep. This means that we prefer files whose formatting (if any) does not interfere much with search.
git clone https://github.com/sanskrit/raw_etexts.git --recursive --shallow-submodules
git submodule update --init --recursive --depth 1
git submodule foreach -q 'git checkout $(git config -f $toplevel/.gitmodules submodule.$name.branch || echo master) || git checkout -b $(git config -f $toplevel/.gitmodules submodule.$name.branch || echo master)'
(also without the -b
option, if all submodules are not covered. Also consider adding the --recursive
option.)git submodule foreach -q 'git status'
./make_catalog.sh
git submodule add --depth 1 -- https://github.com/indic-dict/something.git some/path
If you're maintaining lot of submodules, it may make sense to group them together (eg. mixed/vishvAsa) so that they can be easily excluded from your local multi-file searches so as to avoid duplication.
Allowed formats in the order of decreasing preference: md (possibly with frontmatter), txt, itx, tex, html.