elvish/pkg
Qi Xiao e74cda7bc3 website/cmd/md2html: Reduce dependency on Elvish packages.
This command used to depend on pkg/mods/doc to access the embedded .elv, which
in turn depends on all the packages that implement builtin modules. The latter
set of packages depends on almost all the Elvish packages transitively. As a
result, almost any change in any Elvish package will trigger a rebuild of this
command and the whole website.

This commit minimizes the dependency on Elvish packages by having it read the
.elv files during runtime instead (enabled by
9112eb1ab2).

Additionally:

- Move HighlightCodeBlock, needed by website/cmd/md2html, from pkg/mods/doc
  to pkg/elvdoc. Moving it is necessary to completely remove the dependency of
  website/cmd/md2html on pkg/mods/doc.

- Remove the dependency of pkg/edit/highlight on pkg/eval. It only uses
  eval.UnpackCompilationErrors; move this work to the supplied Check function.
  This removes the transitive dependency of website/cmd/md2html on pkg/eval.

- Augment website/tools/md-deps to recognize @module lines and add dependency on
  the corresponding .elv files.
2024-01-09 13:36:57 +00:00
..
buildinfo Update VersionBase to 0.20.0. 2023-03-05 16:10:58 +00:00
cli pkg/cli: Fix the height distribution algorithm to match the comment. 2023-12-31 21:19:32 +00:00
daemon Use the unix build tag. 2023-03-03 00:01:26 +00:00
diag pkg/diag: Include line:col of start position in Error and Show methods. 2022-12-08 19:07:18 +00:00
diff cmd/elvmdfmt: Split Markdown formatting into own command, supporting -w and -d. 2022-11-04 16:37:47 +00:00
edit website/cmd/md2html: Reduce dependency on Elvish packages. 2024-01-09 13:36:57 +00:00
elvdoc website/cmd/md2html: Reduce dependency on Elvish packages. 2024-01-09 13:36:57 +00:00
env Test and document NO_COLOR support. 2023-08-21 00:28:51 -04:00
errutil Generalize parse.Errors and move it to diag. 2022-11-30 01:05:16 +00:00
eval Simplify how .elv files are embedded for builtin documentation. 2024-01-08 16:44:35 +00:00
fsutil Use the unix build tag. 2023-03-03 00:01:26 +00:00
getopt pkg/diag: Split Errors into another package. 2022-11-29 22:13:02 +00:00
glob pkg/glob: When enumerating files, keep going if Lstat fails. 2023-04-10 23:22:21 +01:00
logutil
lsp pkg/lsp: Return doc when hovering on the first character of a symbol. 2023-04-23 00:27:41 +01:00
md pkg/md: Minor wording updates to godoc. 2024-01-04 16:39:45 +00:00
mods website/cmd/md2html: Reduce dependency on Elvish packages. 2024-01-09 13:36:57 +00:00
must
parse Make struct maps indistinguishable from maps to Elvish code. 2023-07-14 23:57:38 +01:00
persistent
pprof pkg/pprof: Support -allocsprofile. 2022-11-26 12:56:43 +00:00
prog Bump prog.DeprecationLevel to 19. 2023-02-27 00:00:12 +00:00
rpc README: Clarify license. 2022-10-05 01:29:52 +01:00
shell Test and document NO_COLOR support. 2023-08-21 00:28:51 -04:00
store Remove support for shared vars 2022-11-20 15:25:11 +00:00
strutil Standardize spelling: UNIX -> Unix. 2023-01-04 18:09:11 +00:00
sys pkg/sys/ewindows: Regenerate ztyles_windows.go. 2023-03-12 22:06:52 +00:00
testutil Implement os:stat. 2023-08-21 00:05:05 -04:00
tt
ui Test and document NO_COLOR support. 2023-08-21 00:28:51 -04:00
wcwidth pkg/wcwidth: Clarify which part is taken from another implementation. 2023-07-13 21:46:42 +01:00
pkg.go Simplify how .elv files are embedded for builtin documentation. 2024-01-08 16:44:35 +00:00