AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Grep github11/23/2023 ![]() Generating index with livegrep-github-reindex ![]() You'll see a warning in your browser console if you don't do this. Tip: For each repository included in your IndexConfig, make sure to include metadata.url_pattern if you would like the file viewer to be able to link out to the external host. An example IndexConfig block can be seen at doc/examples/livegrep/index.json. To enable the file viewer, you must include an IndexConfig block inside of the config file. See doc/examples/livegrep/server.json for anĮxample config file, and server/config/config.go for documentation on available options. Pass this config file as an argument to the frontend ( -index-config).Generate a config file that livegrep can use to figure out where your.This was initially implementedĪ few ways to enable this. Livegrep provides the ability to view source files directly in livegrep, asĪn alternative to linking files to external viewers. You can now use nelhage.idx as an argument to codesearch -load_index. ![]() Bazel-bin/cmd/livegrep-github-reindex/livegrep-github-reindex -user=nelhage -forks=false -name=/nelhage -out nelhage.idx ![]()
0 Comments
Read More
Leave a Reply. |